summaryrefslogtreecommitdiff
path: root/svx/source/dialog/optgrid.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/optgrid.cxx')
-rw-r--r--svx/source/dialog/optgrid.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/optgrid.cxx b/svx/source/dialog/optgrid.cxx
index 67bb8b7d56c0..7b8d804a65e4 100644
--- a/svx/source/dialog/optgrid.cxx
+++ b/svx/source/dialog/optgrid.cxx
@@ -103,7 +103,7 @@ bool SvxGridItem::operator==( const SfxPoolItem& rAttr ) const
nFldSnapY == rItem.nFldSnapY );
}
-SfxItemPresentation SvxGridItem::GetPresentation
+bool SvxGridItem::GetPresentation
(
SfxItemPresentation ePres,
SfxMapUnit /*eCoreUnit*/,
@@ -115,13 +115,13 @@ SfxItemPresentation SvxGridItem::GetPresentation
{
case SFX_ITEM_PRESENTATION_NONE:
rText = OUString();
- return SFX_ITEM_PRESENTATION_NONE;
+ return false;
case SFX_ITEM_PRESENTATION_NAMELESS:
case SFX_ITEM_PRESENTATION_COMPLETE:
rText = "SvxGridItem";
return ePres;
default:
- return SFX_ITEM_PRESENTATION_NONE;
+ return false;
}
}