Kaydet (Commit) a923bf42 authored tarafından Caolán McNamara's avatar Caolán McNamara

useless asal_TrueStr string

Change-Id: Icbca4d464aa3b8c0ee1b521b0e42cba2cb07af8d
üst 8d98e380
...@@ -164,7 +164,6 @@ sal_Bool SfxApplication::GetOptions( SfxItemSet& rSet ) ...@@ -164,7 +164,6 @@ sal_Bool SfxApplication::GetOptions( SfxItemSet& rSet )
{ {
sal_Bool bRet = sal_False; sal_Bool bRet = sal_False;
SfxItemPool &rPool = GetPool(); SfxItemPool &rPool = GetPool();
String asal_TrueStr('1');
const sal_uInt16 *pRanges = rSet.GetRanges(); const sal_uInt16 *pRanges = rSet.GetRanges();
SvtSaveOptions aSaveOptions; SvtSaveOptions aSaveOptions;
...@@ -819,10 +818,10 @@ void SfxApplication::SetOptions(const SfxItemSet &rSet) ...@@ -819,10 +818,10 @@ void SfxApplication::SetOptions(const SfxItemSet &rSet)
DBG_ASSERT(pItem->ISA(SfxAllEnumItem), "AllEnumItem expected"); DBG_ASSERT(pItem->ISA(SfxAllEnumItem), "AllEnumItem expected");
const SfxAllEnumItem* pEnumItem = (const SfxAllEnumItem *)pItem; const SfxAllEnumItem* pEnumItem = (const SfxAllEnumItem *)pItem;
sal_uInt32 nCount = pEnumItem->GetValueCount(); sal_uInt32 nCount = pEnumItem->GetValueCount();
String aNoChangeStr( ' ' ); rtl::OUString aNoChangeStr( ' ' );
for( sal_uInt32 nPath=0; nPath<nCount; ++nPath ) 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 ) if ( sValue != aNoChangeStr )
{ {
switch( nPath ) switch( nPath )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment