summaryrefslogtreecommitdiff
path: root/sc/inc/document.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-30 08:51:50 +0200
committerEike Rathke <erack@redhat.com>2017-08-31 18:29:42 +0200
commit1cdaec1931e0012506726c773373e46fa6ef81c0 (patch)
tree864587764cd3d3c5f6e06e4f0c9c6273c610363a /sc/inc/document.hxx
parent0aad6244eb1a894fc399769b7dc52e23888b6982 (diff)
make the ScColumnsRange iterator return SCCOL
since we don't want to expose internal details like the ScColumn to most of the code, make the ScColumnsRange iterators return SCCOL instead of ScColumn* Change-Id: I67a58df90959170105255d18e7dd38ef0d6e3c11 Reviewed-on: https://gerrit.libreoffice.org/41719 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r--sc/inc/document.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index bc1f4ea2f5cf..45f450e59462 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -296,7 +296,6 @@ friend class sc::ColumnSpanSet;
friend class sc::EditTextIterator;
friend class sc::FormulaGroupAreaListener;
friend class sc::TableColumnBlockPositionSet;
-friend class ScDrawLayer;
typedef std::vector<ScTable*> TableContainer;
@@ -2323,6 +2322,8 @@ public:
void SwapNonEmpty( sc::TableValues& rValues );
void finalizeOutlineImport();
+ ScColumnsRange GetColumnsRange(SCTAB nTab, SCCOL nColBegin, SCCOL nColEnd) const;
+
private:
/**
@@ -2385,8 +2386,6 @@ private:
void EndListeningGroups( const std::vector<ScAddress>& rPosArray );
void SetNeedsListeningGroups( const std::vector<ScAddress>& rPosArray );
-
- ScColumnsRange GetColumnsRange(SCTAB nTab, SCCOL nColBegin, SCCOL nColEnd) const;
};
#endif