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/svl/itempool.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/svl/itempool.hxx')
-rw-r--r-- | include/svl/itempool.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx index 5b6a14dbe139..8f83f4f981c2 100644 --- a/include/svl/itempool.hxx +++ b/include/svl/itempool.hxx @@ -142,8 +142,10 @@ public: @param[out] rText string representation of 'rItem' + + @return true if it has a valid string representation */ - virtual SfxItemPresentation GetPresentation( const SfxPoolItem& rItem, + virtual bool GetPresentation( const SfxPoolItem& rItem, SfxMapUnit ePresentationMetric, OUString& rText, const IntlWrapper * pIntlWrapper = 0 ) const; |