summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc/outline.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/misc/outline.cxx')
-rw-r--r--sw/source/ui/misc/outline.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/misc/outline.cxx b/sw/source/ui/misc/outline.cxx
index 46ecbe65007c..f8798214dbfe 100644
--- a/sw/source/ui/misc/outline.cxx
+++ b/sw/source/ui/misc/outline.cxx
@@ -768,7 +768,6 @@ void SwOutlineSettingsTabPage::SetWrtShell(SwWrtShell* pShell)
m_pStartEdit->SetValue( rNumFmt.GetStart() );
// create pool formats for headlines
- String sStr;
sal_uInt16 i;
for( i = 0; i < MAXLEVEL; ++i )
{
@@ -776,7 +775,7 @@ void SwOutlineSettingsTabPage::SetWrtShell(SwWrtShell* pShell)
static_cast< sal_uInt16 >(RES_POOLCOLL_HEADLINE1 + i), aEmptyStr ));
m_pLevelLB->InsertEntry( OUString::number(i + 1) );
}
- sStr.AssignAscii( RTL_CONSTASCII_STRINGPARAM( "1 - " ));
+ OUString sStr("1 - ");
sStr += OUString::number(MAXLEVEL);
m_pLevelLB->InsertEntry( sStr );