summaryrefslogtreecommitdiff
path: root/sc/inc/cellsuno.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-06-16 10:37:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-06-17 10:20:37 +0200
commit188632be71502a2e16d9b688761c7e4870ce35c6 (patch)
tree973d1a528dde01c12315e882e590f4a4a585a19f /sc/inc/cellsuno.hxx
parent76fab297b1e4aec8b8eaefbb58c261cb16fa17d5 (diff)
inline typedef
Change-Id: Ib3c11a59d155e308caa3f11f43bb2c6552569889 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96515 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/cellsuno.hxx')
-rw-r--r--sc/inc/cellsuno.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index f737d5d3523c..32dc4bc5d084 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -1160,8 +1160,6 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-typedef std::vector< ScRangeList > ScMyRangeLists;
-
class ScUniqueCellFormatsObj final : public cppu::WeakImplHelper<
css::container::XIndexAccess,
css::container::XEnumerationAccess,
@@ -1170,7 +1168,7 @@ class ScUniqueCellFormatsObj final : public cppu::WeakImplHelper<
{
private:
ScDocShell* pDocShell;
- ScMyRangeLists aRangeLists;
+ std::vector<ScRangeList> aRangeLists;
public:
ScUniqueCellFormatsObj(ScDocShell* pDocSh, const ScRange& rR);
@@ -1202,12 +1200,12 @@ class ScUniqueCellFormatsEnumeration final : public cppu::WeakImplHelper<
public SfxListener
{
private:
- ScMyRangeLists aRangeLists;
+ std::vector<ScRangeList> aRangeLists;
ScDocShell* pDocShell;
sal_Int32 nCurrentPosition;
public:
- ScUniqueCellFormatsEnumeration(ScDocShell* pDocShell, const ScMyRangeLists& rRangeLists);
+ ScUniqueCellFormatsEnumeration(ScDocShell* pDocShell, const std::vector<ScRangeList>& rRangeLists);
virtual ~ScUniqueCellFormatsEnumeration() override;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;