summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/svl/itempool.hxx1
-rw-r--r--include/svx/svdpool.hxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx
index edff1915954a..3fd8450c9de8 100644
--- a/include/svl/itempool.hxx
+++ b/include/svl/itempool.hxx
@@ -144,7 +144,6 @@ public:
string representation of 'rItem'
*/
virtual SfxItemPresentation GetPresentation( const SfxPoolItem& rItem,
- SfxItemPresentation ePresentation,
SfxMapUnit ePresentationMetric,
OUString& rText,
const IntlWrapper * pIntlWrapper = 0 ) const;
diff --git a/include/svx/svdpool.hxx b/include/svx/svdpool.hxx
index 10e20c60b759..e5c91ba1b224 100644
--- a/include/svx/svdpool.hxx
+++ b/include/svx/svdpool.hxx
@@ -40,7 +40,6 @@ public:
virtual SfxItemPool* Clone() const SAL_OVERRIDE;
virtual SfxItemPresentation GetPresentation(const SfxPoolItem& rItem,
- SfxItemPresentation ePresentation,
SfxMapUnit ePresentationMetric,
OUString& rText,
const IntlWrapper * pIntlWrapper