summaryrefslogtreecommitdiff
path: root/include/svl/cintitem.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-07-24 11:31:39 +0200
committerNoel Grandin <noel@peralex.com>2014-07-29 11:04:01 +0200
commit7e018afaf74ab118fe21d92edc9fb95ddea5d61b (patch)
tree740eb08b1a2841f35f68e8f6257d7abd46d09219 /include/svl/cintitem.hxx
parent86c0a56a9ee2e3d15286b11afad65568d1a87c11 (diff)
simplify return argument of SfxPoolItem::GetPresentation
since all two of the actual call-sites only care about whether it is a valid presentation or not, not what kind of presentation it is. Change-Id: I75717c88878d37b2897741b0c833ff283b3fee59
Diffstat (limited to 'include/svl/cintitem.hxx')
-rw-r--r--include/svl/cintitem.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svl/cintitem.hxx b/include/svl/cintitem.hxx
index 0fe12969b124..658aa94099a7 100644
--- a/include/svl/cintitem.hxx
+++ b/include/svl/cintitem.hxx
@@ -45,7 +45,7 @@ public:
using SfxPoolItem::Compare;
virtual int Compare(const SfxPoolItem & rWith) const SAL_OVERRIDE;
- virtual SfxItemPresentation GetPresentation(SfxItemPresentation,
+ virtual bool GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
OUString & rText,
const IntlWrapper * = 0)
@@ -104,7 +104,7 @@ public:
using SfxPoolItem::Compare;
virtual int Compare(const SfxPoolItem & rWith) const SAL_OVERRIDE;
- virtual SfxItemPresentation GetPresentation(SfxItemPresentation,
+ virtual bool GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
OUString & rText,
const IntlWrapper * = 0)
@@ -163,7 +163,7 @@ public:
using SfxPoolItem::Compare;
virtual int Compare(const SfxPoolItem & rWith) const SAL_OVERRIDE;
- virtual SfxItemPresentation GetPresentation(SfxItemPresentation,
+ virtual bool GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
OUString & rText,
const IntlWrapper * = 0)
@@ -222,7 +222,7 @@ public:
using SfxPoolItem::Compare;
virtual int Compare(const SfxPoolItem & rWith) const SAL_OVERRIDE;
- virtual SfxItemPresentation GetPresentation(SfxItemPresentation,
+ virtual bool GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
OUString & rText,
const IntlWrapper * = 0)