diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-19 11:05:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-19 17:52:57 +0200 |
commit | 5d4a59fd1e14e07d06f560a353e59df14dec5dd4 (patch) | |
tree | 2d5789886dc492d84560a36d10b23321aac6156c /sc/inc | |
parent | bda0ea24f83ab5c8a6215f594d99ea680af55e5b (diff) |
no need for pimpl in ScCellRangesObj
Change-Id: If5f32a3d0eebf739187f3ce2efb69198e8baf8a6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119203
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/cellsuno.hxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index 8bfb3e296156..b29da7c92c0b 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -382,9 +382,16 @@ class SC_DLLPUBLIC ScCellRangesObj final : public ScCellRangesBase, public css::container::XNameContainer, public css::container::XEnumerationAccess { +public: + struct ScNamedEntry + { + OUString aName; + ScRange aRange; + const OUString& GetName() const { return aName; } + const ScRange& GetRange() const { return aRange; } + }; private: - struct Impl; - std::unique_ptr<Impl> m_pImpl; + std::vector<ScNamedEntry> m_aNamedEntries; rtl::Reference<ScCellRangeObj> GetObjectByIndex_Impl(sal_Int32 nIndex) const; |