Kaydet (Commit) a13904ea authored tarafından Caolán McNamara's avatar Caolán McNamara

createFromAscii -> RTL_CONSTASCII_USTRINGPARAM

üst b733aa81
...@@ -92,7 +92,7 @@ short SvColorDialog::Execute() ...@@ -92,7 +92,7 @@ short SvColorDialog::Execute()
Sequence< Any > args(1); Sequence< Any > args(1);
args[0] = Any( xParent ); args[0] = Any( xParent );
Reference< XExecutableDialog > xDialog( xSMGR->createInstanceWithArguments(::rtl::OUString::createFromAscii("com.sun.star.cui.ColorPicker"), args), UNO_QUERY_THROW ); Reference< XExecutableDialog > xDialog( xSMGR->createInstanceWithArguments(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.cui.ColorPicker")), args), UNO_QUERY_THROW );
Reference< XPropertyAccess > xPropertyAccess( xDialog, UNO_QUERY_THROW ); Reference< XPropertyAccess > xPropertyAccess( xDialog, UNO_QUERY_THROW );
Sequence< PropertyValue > props( 2 ); Sequence< PropertyValue > props( 2 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment