summaryrefslogtreecommitdiff
path: root/sc/inc/dociter.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-01-07 23:28:47 -0500
committerKohei Yoshida <kyoshida@novell.com>2010-01-07 23:28:47 -0500
commit3d7ed8a6b4043d08ad2d5ff009291362e1031386 (patch)
tree3cf6dbef62fc7e2b5f64809d5ffffdad0be8408e /sc/inc/dociter.hxx
parent2f18aee20d76e815ea55eb6e0c6514f32dd32a76 (diff)
kohei03: Worked around a build error on MacIntel.
The version of gcc that Mac uses does not grant private access to friend classes from a nested class, even though its parent class has friend privilage to that class. I worked around it by having the nested class call functions of its parent class in order to access private members of ScColumn/ScTable/ScDocument.
Diffstat (limited to 'sc/inc/dociter.hxx')
-rw-r--r--sc/inc/dociter.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx
index 0ac8dffe6f6f..b57f7ccd0cd5 100644
--- a/sc/inc/dociter.hxx
+++ b/sc/inc/dociter.hxx
@@ -146,6 +146,10 @@ public:
};
private:
+ static SCROW GetRowByColEntryIndex(ScDocument& rDoc, SCTAB nTab, SCCOL nCol, SCSIZE nColRow);
+ static ScBaseCell* GetCellByColEntryIndex(ScDocument& rDoc, SCTAB nTab, SCCOL nCol, SCSIZE nColRow);
+ static ScAttrArray* GetAttrArrayByCol(ScDocument& rDoc, SCTAB nTab, SCCOL nCol);
+
class DataAccess
{
public: