diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-04 11:42:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-11 08:36:07 +0200 |
commit | c4a593b6b1732def0a21f455c0ca50f82a9bc40d (patch) | |
tree | e3e1d986a9d36b2bf8488b592deb9ebfd3a03345 /framework/source/helper | |
parent | 62f27a5e7bd7e66d11b8f6c9c047ecdd73199401 (diff) |
remove unnecessary use of OUString constructor in FRAMEWORK module
Change-Id: Icbed4f318043a166ed78fe0c49a53f87ebf7201d
Diffstat (limited to 'framework/source/helper')
-rw-r--r-- | framework/source/helper/titlebarupdate.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/framework/source/helper/titlebarupdate.cxx b/framework/source/helper/titlebarupdate.cxx index 3370de420387..e9badc68f59f 100644 --- a/framework/source/helper/titlebarupdate.cxx +++ b/framework/source/helper/titlebarupdate.cxx @@ -159,31 +159,31 @@ void TitleBarUpdate::impl_updateApplicationID(const css::uno::Reference< css::fr aModuleId == "com.sun.star.text.GlobalDocument" || aModuleId == "com.sun.star.text.WebDocument" || aModuleId == "com.sun.star.xforms.XMLFormDocument" ) - sDesktopName = OUString("Writer"); + sDesktopName = "Writer"; else if ( aModuleId == "com.sun.star.sheet.SpreadsheetDocument" ) - sDesktopName = OUString("Calc"); + sDesktopName = "Calc"; else if ( aModuleId == "com.sun.star.presentation.PresentationDocument" ) - sDesktopName = OUString("Impress"); + sDesktopName = "Impress"; else if ( aModuleId == "com.sun.star.drawing.DrawingDocument" ) - sDesktopName = OUString("Draw"); + sDesktopName = "Draw"; else if ( aModuleId == "com.sun.star.formula.FormulaProperties" ) - sDesktopName = OUString("Math"); + sDesktopName = "Math"; else if ( aModuleId == "com.sun.star.sdb.DatabaseDocument" || aModuleId == "com.sun.star.sdb.OfficeDatabaseDocument" || aModuleId == "com.sun.star.sdb.RelationDesign" || aModuleId == "com.sun.star.sdb.QueryDesign" || aModuleId == "com.sun.star.sdb.TableDesign" || aModuleId == "com.sun.star.sdb.DataSourceBrowser" ) - sDesktopName = OUString("Base"); + sDesktopName = "Base"; else - sDesktopName = OUString("Startcenter"); + sDesktopName = "Startcenter"; #if defined(WNT) // We use a hardcoded product name matching the registry keys so applications can be associated with file types sApplicationID = "TheDocumentFoundation.LibreOffice."; sApplicationID += sDesktopName; #else sApplicationID = utl::ConfigManager::getProductName().toAsciiLowerCase(); - sApplicationID += OUString(sal_Unicode('-')); + sApplicationID += "-"; sApplicationID += sDesktopName.toAsciiLowerCase(); #endif #endif |