summaryrefslogtreecommitdiff
path: root/sw/source/ui/index/cnttab.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/index/cnttab.cxx')
-rw-r--r--sw/source/ui/index/cnttab.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 8bf0653b43d4..325ed0f2f9e5 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -712,7 +712,7 @@ SwAddStylesDlg_Impl::~SwAddStylesDlg_Impl()
IMPL_LINK_NOARG(SwAddStylesDlg_Impl, OkHdl)
{
for(sal_uInt16 i = 0; i < MAXLEVEL; i++)
- pStyleArr[i] = "";
+ pStyleArr[i].clear();
SvTreeListEntry* pEntry = m_pHeaderTree->First();
while(pEntry)
@@ -2415,7 +2415,7 @@ IMPL_LINK(SwTOXEntryTabPage, StyleSelectHdl, ListBox*, pBox)
const bool bEqualsNoCharStyle = sEntry == sNoCharStyle;
m_pEditStylePB->Enable(!bEqualsNoCharStyle);
if (bEqualsNoCharStyle)
- sEntry = "";
+ sEntry.clear();
Control* pCtrl = m_pTokenWIN->GetActiveControl();
OSL_ENSURE(pCtrl, "no active control?");
if(pCtrl)