[Libreoffice-commits] .: sfx2/source
Gert Faller
gfaller at kemper.freedesktop.org
Sat Nov 20 16:27:43 PST 2010
sfx2/source/dialog/templdlg.cxx | 4 ++--
sfx2/source/toolbox/tbxitem.cxx | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 12cf856b3c794a83473b39ecfe95b2ed7685f2cf
Author: Gert Faller <gertfaller at aliceadsl.fr>
Date: Sun Nov 21 01:26:48 2010 +0100
TL_CONSTASCII_USTRINGPARAM in libs core
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 02fc0da..7fcae91 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -2619,8 +2619,8 @@ IMPL_LINK( SfxTemplateDialog_Impl, ToolBoxRClick, ToolBox *, pBox )
PopupMenu *pMenu = new PopupMenu;
uno::Reference< container::XNameAccess > xNameAccess(
::comphelper::getProcessServiceFactory()->
- createInstance( ::rtl::OUString::createFromAscii(
- "com.sun.star.frame.UICommandDescription") ), uno::UNO_QUERY );
+ createInstance( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
+ "com.sun.star.frame.UICommandDescription")) ), uno::UNO_QUERY );
uno::Reference< container::XNameAccess > xUICommands;
if ( xNameAccess.is() )
{
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx
index 519709a..e534001 100644
--- a/sfx2/source/toolbox/tbxitem.cxx
+++ b/sfx2/source/toolbox/tbxitem.cxx
@@ -1724,7 +1724,7 @@ void SfxAppToolBoxControl_Impl::Select( BOOL bMod1 )
Sequence< PropertyValue > aArgs( 1 );
aArgs[0].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Referer"));
- aArgs[0].Value = makeAny( ::rtl::OUString::createFromAscii( SFX_REFERER_USER ));
+ aArgs[0].Value = makeAny( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( SFX_REFERER_USER )) );
ExecuteInfo* pExecuteInfo = new ExecuteInfo;
pExecuteInfo->xDispatch = xDispatch;
More information about the Libreoffice-commits
mailing list