From 5d4a59fd1e14e07d06f560a353e59df14dec5dd4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 19 Jul 2021 11:05:48 +0200 Subject: 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 --- sc/inc/cellsuno.hxx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'sc/inc') 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 m_pImpl; + std::vector m_aNamedEntries; rtl::Reference GetObjectByIndex_Impl(sal_Int32 nIndex) const; -- cgit