summaryrefslogtreecommitdiff
path: root/cui/source/options
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-26 22:59:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-27 08:00:32 +0200
commit9c8fd7d1c5553e1e50dba7c7c32ef15fcdb0b49d (patch)
tree345951559eba7aca1ead5ea9ff37450792a6833e /cui/source/options
parenta6050c32f30796743f9ab9b2a5c793ced9b8f747 (diff)
Clean up sEmpty
Change-Id: If1b2bfe308caa2bce92e73d2c5c86ee273faed93
Diffstat (limited to 'cui/source/options')
-rw-r--r--cui/source/options/optlingu.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index f404fa28fa4c..10cfb0c087fb 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -1805,13 +1805,12 @@ SvTreeListEntry* SvxLinguTabPage::CreateEntry( OUString& rTxt, sal_uInt16 nCol )
if( !pCheckButtonData )
pCheckButtonData = new SvLBoxButtonData(m_pLinguOptionsCLB);
- OUString sEmpty;
if (CBCOL_FIRST == nCol)
pEntry->AddItem(std::unique_ptr<SvLBoxButton>(new SvLBoxButton(
pEntry, SvLBoxButtonKind_enabledCheckbox, 0, pCheckButtonData)));
if (CBCOL_SECOND == nCol)
pEntry->AddItem(std::unique_ptr<SvLBoxString>(new SvLBoxString(
- pEntry, 0, sEmpty))); // empty column
+ pEntry, 0, ""))); // empty column
pEntry->AddItem(std::unique_ptr<SvLBoxContextBmp>(new SvLBoxContextBmp(
pEntry, 0, Image(), Image(), false)));
pEntry->AddItem(std::unique_ptr<BrwString_Impl>(new BrwString_Impl(
@@ -1940,11 +1939,10 @@ SvTreeListEntry* SvxEditModulesDlg::CreateEntry( OUString& rTxt, sal_uInt16 nCol
pCheckButtonData->SetLink( m_pModulesCLB->GetCheckButtonHdl() );
}
- OUString sEmpty;
if (CBCOL_FIRST == nCol)
pEntry->AddItem(std::unique_ptr<SvLBoxButton>(new SvLBoxButton(pEntry, SvLBoxButtonKind_enabledCheckbox, 0, pCheckButtonData)));
if (CBCOL_SECOND == nCol)
- pEntry->AddItem(std::unique_ptr<SvLBoxString>(new SvLBoxString(pEntry, 0, sEmpty))); // empty column
+ pEntry->AddItem(std::unique_ptr<SvLBoxString>(new SvLBoxString(pEntry, 0, ""))); // empty column
pEntry->AddItem(std::unique_ptr<SvLBoxContextBmp>(new SvLBoxContextBmp( pEntry, 0, Image(), Image(), false)));
pEntry->AddItem(std::unique_ptr<BrwStringDic_Impl>(new BrwStringDic_Impl(pEntry, 0, rTxt)));