summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/tptable.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/tptable.hxx')
-rw-r--r--sc/source/ui/inc/tptable.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/tptable.hxx b/sc/source/ui/inc/tptable.hxx
index e843f769cb42..9e98c050a20e 100644
--- a/sc/source/ui/inc/tptable.hxx
+++ b/sc/source/ui/inc/tptable.hxx
@@ -29,7 +29,7 @@ public:
static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rCoreSet);
virtual ~ScTablePage() override;
- static WhichRangesContainer GetRanges () { return pPageTableRanges; }
+ static const WhichRangesContainer & GetRanges () { return pPageTableRanges; }
virtual bool FillItemSet ( SfxItemSet* rCoreSet ) override;
virtual void Reset ( const SfxItemSet* rCoreSet ) override;
virtual DeactivateRC DeactivatePage ( SfxItemSet* pSet ) override;