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/svl/ptitem.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/svl/ptitem.hxx') diff --git a/include/svl/ptitem.hxx b/include/svl/ptitem.hxx index 911a067fb3b4..6ec1716b3e92 100644 --- a/include/svl/ptitem.hxx +++ b/include/svl/ptitem.hxx @@ -36,7 +36,7 @@ public: SfxPointItem( const SfxPointItem& ); virtual ~SfxPointItem() {} - virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, + virtual bool GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, OUString &rText, -- cgit