diff options
Diffstat (limited to 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/optgrid.cxx | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/svx/source/dialog/optgrid.cxx b/svx/source/dialog/optgrid.cxx index 7b8d804a65e4..f1df7ae8ded4 100644 --- a/svx/source/dialog/optgrid.cxx +++ b/svx/source/dialog/optgrid.cxx @@ -105,24 +105,14 @@ bool SvxGridItem::operator==( const SfxPoolItem& rAttr ) const bool SvxGridItem::GetPresentation ( - SfxItemPresentation ePres, + SfxItemPresentation /*ePres*/, SfxMapUnit /*eCoreUnit*/, SfxMapUnit /*ePresUnit*/, OUString& rText, const IntlWrapper * ) const { - switch ( ePres ) - { - case SFX_ITEM_PRESENTATION_NONE: - rText = OUString(); - return false; - case SFX_ITEM_PRESENTATION_NAMELESS: - case SFX_ITEM_PRESENTATION_COMPLETE: - rText = "SvxGridItem"; - return ePres; - default: - return false; - } + rText = "SvxGridItem"; + return true; } // TabPage Screen Settings |