diff options
Diffstat (limited to 'svl/source/items/style.cxx')
-rw-r--r-- | svl/source/items/style.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index 9116640e5658..614bee831e68 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -343,16 +343,16 @@ XubString SfxStyleSheetBase::GetDescription( SfxMapUnit eMetric ) IntlWrapper aIntlWrapper( SvtSysLocale().GetLanguageTag() ); while ( pItem ) { - XubString aItemPresentation; + OUString aItemPresentation; if ( !IsInvalidItem( pItem ) && pPool->GetPool().GetPresentation( *pItem, SFX_ITEM_PRESENTATION_COMPLETE, eMetric, aItemPresentation, &aIntlWrapper ) ) { - if ( aDesc.Len() && aItemPresentation.Len() ) + if ( aDesc.Len() && !aItemPresentation.isEmpty() ) aDesc.AppendAscii(RTL_CONSTASCII_STRINGPARAM(" + ")); - if ( aItemPresentation.Len() ) + if ( !aItemPresentation.isEmpty() ) aDesc += aItemPresentation; } pItem = aIter.NextItem(); |