From 7e018afaf74ab118fe21d92edc9fb95ddea5d61b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 24 Jul 2014 11:31:39 +0200 Subject: 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 --- include/svx/sxekitm.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/svx/sxekitm.hxx') diff --git a/include/svx/sxekitm.hxx b/include/svx/sxekitm.hxx index 5ad2b341165b..adbe9dad26d4 100644 --- a/include/svx/sxekitm.hxx +++ b/include/svx/sxekitm.hxx @@ -44,7 +44,7 @@ public: virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE; virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE; virtual OUString GetValueTextByPos(sal_uInt16 nPos) const SAL_OVERRIDE; - virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, OUString& rText, const IntlWrapper * = 0) const SAL_OVERRIDE; + virtual bool GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, OUString& rText, const IntlWrapper * = 0) const SAL_OVERRIDE; }; #endif -- cgit