summaryrefslogtreecommitdiff
path: root/framework/source/uielement/langselectionmenucontroller.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-15 11:05:19 +0200
committerNoel Grandin <noel@peralex.com>2013-11-19 10:29:31 +0200
commit610b2b94b33b0fc2d79cd515f9e293ca1c2610e8 (patch)
tree6eab2639cb8104ca54daa3f7a2ebd83ef1566cf0 /framework/source/uielement/langselectionmenucontroller.cxx
parent2c35fff7eca3a143d28dc75e6a73fe1101d2af77 (diff)
remove unnecessary use of OUString constructor when assigning
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
Diffstat (limited to 'framework/source/uielement/langselectionmenucontroller.cxx')
-rw-r--r--framework/source/uielement/langselectionmenucontroller.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/uielement/langselectionmenucontroller.cxx b/framework/source/uielement/langselectionmenucontroller.cxx
index 3c38e1945467..be0a75d6e0dd 100644
--- a/framework/source/uielement/langselectionmenucontroller.cxx
+++ b/framework/source/uielement/langselectionmenucontroller.cxx
@@ -242,7 +242,7 @@ void LanguageSelectionMenuController::fillPopupMenu( Reference< css::awt::XPopup
for (it = aLangItems.begin(); it != aLangItems.end(); ++it)
{
const OUString & rStr( *it );
- if (rStr != OUString( aLanguageTable.GetString( LANGUAGE_NONE ) )&&
+ if (rStr != aLanguageTable.GetString( LANGUAGE_NONE ) &&
rStr != sAsterix &&
rStr != sEmpty)
{
@@ -324,10 +324,10 @@ void SAL_CALL LanguageSelectionMenuController::initialize( const Sequence< Any >
if ( m_bInitialized )
{
- m_aLangStatusCommandURL = OUString( ".uno:LanguageStatus" );
+ m_aLangStatusCommandURL = ".uno:LanguageStatus";
m_aMenuCommandURL_Lang = m_aLangStatusCommandURL;
- m_aMenuCommandURL_Font = OUString( ".uno:FontDialog" );
- m_aMenuCommandURL_CharDlgForParagraph = OUString( ".uno:FontDialogForParagraph" );
+ m_aMenuCommandURL_Font = ".uno:FontDialog";
+ m_aMenuCommandURL_CharDlgForParagraph = ".uno:FontDialogForParagraph";
}
}
}