summaryrefslogtreecommitdiff
path: root/svx/source/dialog
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-07-24 15:43:00 +0200
committerNoel Grandin <noel@peralex.com>2014-07-29 12:26:17 +0200
commit9d140ccdb3b029b3d87ee23e87789f8a67ce8d5b (patch)
treecb8e64e248fad959b2650b45c165801f4bbd4145 /svx/source/dialog
parenta0b89100be8ccc2b60d08d7e3819cd247a6042b0 (diff)
drop use of SFX_ITEM_PRESENTATION_NONE
since none of the call sites specify it Change-Id: I9c15f0e042e21f6f78560c1962a533112d588c90
Diffstat (limited to 'svx/source/dialog')
-rw-r--r--svx/source/dialog/optgrid.cxx16
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