diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-01-07 23:28:47 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-01-07 23:28:47 -0500 |
commit | bdc5a09defa9ce72e642acb13341daba62471e50 (patch) | |
tree | 261791f6c8768c6812460213551d125ce891c1df /sc/inc/dociter.hxx | |
parent | 3f1ac2e3c881a55cf00280f65501d87b31083e04 (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.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx index 350c6110b..8355a05e9 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: |