summaryrefslogtreecommitdiff
path: root/svtools/source/control/filectrl2.cxx
diff options
context:
space:
mode:
authorKevin Hunter <hunteke@earlham.edu>2010-11-18 18:47:55 -0500
committerCaolán McNamara <caolanm@redhat.com>2010-11-19 09:55:14 +0000
commit9321d8acfed33545aecb18f2a6619041066cbc33 (patch)
tree3ffb4925e9095c9d35fa6297db57211ff51384fa /svtools/source/control/filectrl2.cxx
parent324612c06bb1c16c575224d5791be1a0afee6a5e (diff)
EasyHack: RTL_CONST macro from createFromAscii
Diffstat (limited to 'svtools/source/control/filectrl2.cxx')
-rw-r--r--svtools/source/control/filectrl2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/filectrl2.cxx b/svtools/source/control/filectrl2.cxx
index a45014d7d13e..83fc04030ea6 100644
--- a/svtools/source/control/filectrl2.cxx
+++ b/svtools/source/control/filectrl2.cxx
@@ -49,7 +49,7 @@ void FileControl::ImplBrowseFile( )
{
XubString aNewText;
- const ::rtl::OUString sServiceName = ::rtl::OUString::createFromAscii( "com.sun.star.ui.dialogs.FilePicker" );
+ const ::rtl::OUString sServiceName( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.ui.dialogs.FilePicker" ));
Reference< XMultiServiceFactory > xMSF = vcl::unohelper::GetMultiServiceFactory();
Reference < dialogs::XFilePicker > xFilePicker( xMSF->createInstance( sServiceName ), UNO_QUERY );