summaryrefslogtreecommitdiff
path: root/svl/source/items/itempool.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-07-21 15:53:14 +0200
committerNoel Grandin <noel@peralex.com>2014-07-23 13:26:17 +0200
commit262bde9b3eddf8937d3ce57939dddb1c20b1daaa (patch)
tree00f6876fb51bd8ca0e7e66cb4d3b765f4e30a5d6 /svl/source/items/itempool.cxx
parentf2940a4bfffec5bc34fb03cb32205bff4708a027 (diff)
simplify SfxItemPool::GetPresentation
drop the ePresentation parameter, since all 4 of the callsites use SFX_ITEM_PRESENTATION_COMPLETE as the parameter value, and just inline the value into the method. Change-Id: I42c8eae82837c9f9d4edc886d7c760f57b129125
Diffstat (limited to 'svl/source/items/itempool.cxx')
-rw-r--r--svl/source/items/itempool.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index 96c318b1782d..55084997e4a5 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -507,14 +507,13 @@ const OUString& SfxItemPool::GetName() const
SfxItemPresentation SfxItemPool::GetPresentation
(
const SfxPoolItem& rItem,
- SfxItemPresentation ePresent,
SfxMapUnit eMetric,
OUString& rText,
const IntlWrapper * pIntlWrapper
) const
{
return rItem.GetPresentation(
- ePresent, GetMetric(rItem.Which()), eMetric, rText, pIntlWrapper );
+ SFX_ITEM_PRESENTATION_COMPLETE, GetMetric(rItem.Which()), eMetric, rText, pIntlWrapper );
}