summaryrefslogtreecommitdiff
path: root/framework/source/uielement/fontmenucontroller.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 20:41:34 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 20:41:34 -0500
commiteeac11421792819a42eb442ac4b64fa963901662 (patch)
tree9bac083d19480524daf57bade1dbf894d9837368 /framework/source/uielement/fontmenucontroller.cxx
parent65269c97c305d7d8efc42add2faf99a18731af52 (diff)
targeted string re-work
Change-Id: I3276836b76b69f04de38c2d36ae04b60c49d4873
Diffstat (limited to 'framework/source/uielement/fontmenucontroller.cxx')
-rw-r--r--framework/source/uielement/fontmenucontroller.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/uielement/fontmenucontroller.cxx b/framework/source/uielement/fontmenucontroller.cxx
index 1c437f8ea75d..2c2177bf4a00 100644
--- a/framework/source/uielement/fontmenucontroller.cxx
+++ b/framework/source/uielement/fontmenucontroller.cxx
@@ -116,7 +116,7 @@ void FontMenuController::fillPopupMenu( const Sequence< ::rtl::OUString >& rFont
}
sort(aVector.begin(), aVector.end(), lcl_I18nCompareString );
- const rtl::OUString aFontNameCommandPrefix( RTL_CONSTASCII_USTRINGPARAM( ".uno:CharFontName?CharFontName.FamilyName:string=" ));
+ const rtl::OUString aFontNameCommandPrefix( ".uno:CharFontName?CharFontName.FamilyName:string=" );
const sal_Int16 nCount = (sal_Int16)aVector.size();
for ( sal_Int16 i = 0; i < nCount; i++ )
{
@@ -222,7 +222,7 @@ void FontMenuController::impl_setPopupMenu()
com::sun::star::util::URL aTargetURL;
// Register for font list updates to get the current font list from the controller
- aTargetURL.Complete = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:FontNameList" ));
+ aTargetURL.Complete = rtl::OUString( ".uno:FontNameList" );
m_xURLTransformer->parseStrict( aTargetURL );
m_xFontListDispatch = xDispatchProvider->queryDispatch( aTargetURL, ::rtl::OUString(), 0 );
}
@@ -234,7 +234,7 @@ void SAL_CALL FontMenuController::updatePopupMenu() throw ( ::com::sun::star::un
osl::ClearableMutexGuard aLock( m_aMutex );
Reference< XDispatch > xDispatch( m_xFontListDispatch );
com::sun::star::util::URL aTargetURL;
- aTargetURL.Complete = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:FontNameList" ));
+ aTargetURL.Complete = rtl::OUString( ".uno:FontNameList" );
m_xURLTransformer->parseStrict( aTargetURL );
aLock.clear();