diff options
Diffstat (limited to 'sc/inc/column.hxx')
-rw-r--r-- | sc/inc/column.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index 547fd147b3ca..e4e956b104bb 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -166,8 +166,8 @@ public: void Init(SCCOL nNewCol, SCTAB nNewTab, ScDocument* pDoc); - ScDocument& GetDoc(); - const ScDocument& GetDoc() const; + ScDocument& GetDoc() { return *pDocument;} + const ScDocument& GetDoc() const { return *pDocument;} SCTAB GetTab() const { return nTab; } SCCOL GetCol() const { return nCol; } sc::CellStoreType& GetCellStore() { return maCells; } |