summaryrefslogtreecommitdiff
path: root/cui/source/inc/cuitabarea.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/inc/cuitabarea.hxx')
-rw-r--r--cui/source/inc/cuitabarea.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx
index 3e810c5b0dbe..f0f5bdc28a5b 100644
--- a/cui/source/inc/cuitabarea.hxx
+++ b/cui/source/inc/cuitabarea.hxx
@@ -195,7 +195,7 @@ public:
virtual ~SvxTransparenceTabPage() override;
static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet*);
- static WhichRangesContainer GetRanges() { return pTransparenceRanges; }
+ static const WhichRangesContainer & GetRanges() { return pTransparenceRanges; }
virtual bool FillItemSet(SfxItemSet*) override;
virtual void Reset(const SfxItemSet*) override;
@@ -275,7 +275,7 @@ public:
static std::unique_ptr<SfxTabPage>
CreateWithSlideBackground(weld::Container* pPage, weld::DialogController* pController,
const SfxItemSet*);
- static WhichRangesContainer GetRanges() { return pAreaRanges; }
+ static const WhichRangesContainer & GetRanges() { return pAreaRanges; }
virtual OUString GetAllStrings() override;
@@ -337,7 +337,7 @@ public:
virtual ~SvxShadowTabPage() override;
static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* );
- static WhichRangesContainer GetRanges() { return pShadowRanges; }
+ static const WhichRangesContainer & GetRanges() { return pShadowRanges; }
virtual bool FillItemSet( SfxItemSet* ) override;
virtual void Reset( const SfxItemSet * ) override;