summaryrefslogtreecommitdiff
path: root/include/svx/xit.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/xit.hxx')
-rw-r--r--include/svx/xit.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/xit.hxx b/include/svx/xit.hxx
index 540ffa403eff..4630fa7f221a 100644
--- a/include/svx/xit.hxx
+++ b/include/svx/xit.hxx
@@ -51,7 +51,7 @@ public:
virtual bool operator==(const SfxPoolItem& rItem) const override;
virtual SfxPoolItem* Clone(SfxItemPool* pPool = nullptr) const override;
- OUString GetName() const { return GetValue(); }
+ OUString const & GetName() const { return GetValue(); }
void SetName(const OUString& rName) { SetValue(rName); }
bool IsIndex() const { return (nPalIndex >= 0); }