R
Reporter
I posted a question related to this on the Open Office Org forum.
Basically the Open Office API interface is defined as a component
interface and its native objects are called UNO objects.
"string" is a fundamental type in UNO.
In order to create UNO Component compatable strings in C++ a static
function "OUString::createFromAscii" is used as follows:
rInstance =rServiceManager-
My Question:
Why not add a constructor to OUString which accepts a char * as a
parameter?
Why not an implied conversion?
Basically the Open Office API interface is defined as a component
interface and its native objects are called UNO objects.
"string" is a fundamental type in UNO.
In order to create UNO Component compatable strings in C++ a static
function "OUString::createFromAscii" is used as follows:
rInstance =rServiceManager-
createInstanceWithContext( OUString::createFromAscii("com.sun.star.bridge.UnoUrlResolver" ))
My Question:
Why not add a constructor to OUString which accepts a char * as a
parameter?
Why not an implied conversion?