diff options
author | Noel Grandin <noel@peralex.com> | 2014-07-24 11:31:39 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-07-29 11:04:01 +0200 |
commit | 7e018afaf74ab118fe21d92edc9fb95ddea5d61b (patch) | |
tree | 740eb08b1a2841f35f68e8f6257d7abd46d09219 /include/svx/sxsiitm.hxx | |
parent | 86c0a56a9ee2e3d15286b11afad65568d1a87c11 (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/svx/sxsiitm.hxx')
-rw-r--r-- | include/svx/sxsiitm.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/sxsiitm.hxx b/include/svx/sxsiitm.hxx index 65a7671c7846..29fdf624dd81 100644 --- a/include/svx/sxsiitm.hxx +++ b/include/svx/sxsiitm.hxx @@ -27,7 +27,7 @@ public: SdrScaleItem(sal_uInt16 nId=0): SdrFractionItem(nId,Fraction(1,1)) {} SdrScaleItem(sal_uInt16 nId, const Fraction& rVal): SdrFractionItem(nId,rVal) {} SdrScaleItem(sal_uInt16 nId, SvStream& rIn): SdrFractionItem(nId,rIn) {} - virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePresentation, SfxMapUnit eCoreMetric, SfxMapUnit ePresentationMetric, OUString &rText, const IntlWrapper * = 0) const SAL_OVERRIDE; + virtual bool GetPresentation(SfxItemPresentation ePresentation, SfxMapUnit eCoreMetric, SfxMapUnit ePresentationMetric, OUString &rText, const IntlWrapper * = 0) const SAL_OVERRIDE; virtual SfxPoolItem* Create(SvStream&, sal_uInt16 nVer) const SAL_OVERRIDE; virtual SfxPoolItem* Clone(SfxItemPool *pPool=NULL) const SAL_OVERRIDE; }; |