Kaydet (Commit) 5684e67a authored tarafından Eike Rathke's avatar Eike Rathke

no temporary instance of SvtLanguageTable necessary here

Change-Id: I35395e169e795386740fb2b5ee34fc3117b8c844
üst 58b97491
...@@ -2582,8 +2582,7 @@ SfxItemPresentation SvxLanguageItem::GetPresentation ...@@ -2582,8 +2582,7 @@ SfxItemPresentation SvxLanguageItem::GetPresentation
case SFX_ITEM_PRESENTATION_NAMELESS: case SFX_ITEM_PRESENTATION_NAMELESS:
case SFX_ITEM_PRESENTATION_COMPLETE: case SFX_ITEM_PRESENTATION_COMPLETE:
{ {
SvtLanguageTable aLangTable; rText = SvtLanguageTable::GetLanguageString( (LanguageType)GetValue() );
rText = aLangTable.GetString( (LanguageType)GetValue() );
return ePres; return ePres;
} }
default: ; //prevent warning default: ; //prevent warning
......
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