diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-03 12:21:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-03 21:24:35 +0100 |
commit | a923bf4217a951ad48db8c9ba32225f4b6846279 (patch) | |
tree | a0c3cc7d78c2e43d77a5acd8c3a4b00bb399f632 /sfx2/source/appl/appcfg.cxx | |
parent | 8d98e380a2309273c2d5c74cd6c9acffa44c9438 (diff) |
useless asal_TrueStr string
Change-Id: Icbca4d464aa3b8c0ee1b521b0e42cba2cb07af8d
Diffstat (limited to 'sfx2/source/appl/appcfg.cxx')
-rw-r--r-- | sfx2/source/appl/appcfg.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index 307abf76e9dd..0cec85b7c554 100644 --- a/sfx2/source/appl/appcfg.cxx +++ b/sfx2/source/appl/appcfg.cxx @@ -164,7 +164,6 @@ sal_Bool SfxApplication::GetOptions( SfxItemSet& rSet ) { sal_Bool bRet = sal_False; SfxItemPool &rPool = GetPool(); - String asal_TrueStr('1'); const sal_uInt16 *pRanges = rSet.GetRanges(); SvtSaveOptions aSaveOptions; @@ -819,10 +818,10 @@ void SfxApplication::SetOptions(const SfxItemSet &rSet) DBG_ASSERT(pItem->ISA(SfxAllEnumItem), "AllEnumItem expected"); const SfxAllEnumItem* pEnumItem = (const SfxAllEnumItem *)pItem; sal_uInt32 nCount = pEnumItem->GetValueCount(); - String aNoChangeStr( ' ' ); + rtl::OUString aNoChangeStr( ' ' ); for( sal_uInt32 nPath=0; nPath<nCount; ++nPath ) { - String sValue = pEnumItem->GetValueTextByPos((sal_uInt16)nPath); + rtl::OUString sValue = pEnumItem->GetValueTextByPos((sal_uInt16)nPath); if ( sValue != aNoChangeStr ) { switch( nPath ) |