[Libreoffice-commits] .: canvas/workben
Gert Faller
gfaller at kemper.freedesktop.org
Tue Nov 23 10:01:54 PST 2010
canvas/workben/canvasdemo.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit dd5f5d08e650b900b3290cbb193d03721fac70d8
Author: Gert Faller <gertfaller at aliceadsl.fr>
Date: Tue Nov 23 18:59:05 2010 +0100
RTL_CONSTASCII_USTRINGPARAM in libs-gui 13
diff --git a/canvas/workben/canvasdemo.cxx b/canvas/workben/canvasdemo.cxx
index c739cd1..83a14b9 100644
--- a/canvas/workben/canvasdemo.cxx
+++ b/canvas/workben/canvasdemo.cxx
@@ -692,8 +692,8 @@ void DemoApp::Main()
// Create UCB.
uno::Sequence< uno::Any > aArgs( 2 );
- aArgs[ 0 ] <<= rtl::OUString::createFromAscii( UCB_CONFIGURATION_KEY1_LOCAL );
- aArgs[ 1 ] <<= rtl::OUString::createFromAscii( UCB_CONFIGURATION_KEY2_OFFICE );
+ aArgs[ 0 ] <<= rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( UCB_CONFIGURATION_KEY1_LOCAL ));
+ aArgs[ 1 ] <<= rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( UCB_CONFIGURATION_KEY2_OFFICE ));
::ucbhelper::ContentBroker::initialize( xFactory, aArgs );
InitVCL( xFactory );
More information about the Libreoffice-commits
mailing list