diff options
author | Noel Power <noel.power@suse.com> | 2014-02-03 11:04:10 +0000 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2014-02-03 11:43:00 +0000 |
commit | 8eec79e595eb651cd41e2f6a1918af67c4d43cf7 (patch) | |
tree | efc396dc25918a51f63442215d026bfb911644bc | |
parent | 66f8b54931f193bdc844c6bca388d9bde98779cd (diff) |
Revert "fix Worksheet.Cells by now allowing TableSheet..." fdo#70079
This reverts commit 70aff4a7f7abe0c768238733ca8900b746e60189.
Change-Id: I8f8b423353ae1a825be91bd94308e87844948525
Signed-off-by: Noel Power <noel.power@suse.com>
-rw-r--r-- | sc/inc/cellsuno.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 11 |
2 files changed, 1 insertions, 12 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index 2fd4c3e71485..9e4259143486 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -1048,7 +1048,7 @@ protected: public: ScTableSheetObj(ScDocShell* pDocSh, SCTAB nTab); virtual ~ScTableSheetObj(); - virtual void RefChanged(); + void InitInsertSheet(ScDocShell* pDocSh, SCTAB nTab); virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 3bc0f8b98c89..595b0f37ad8d 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -6885,17 +6885,6 @@ ScTableSheetObj::~ScTableSheetObj() { } -void ScTableSheetObj::RefChanged() -{ - // skip calling immediate base - // class ScCellRangeObj::RefChanged as - // it changes the Sheets range ( which shouldn't - // happen ) - hmm maybe we don't even need to - // call ScCellRangesBase::RefChanged() :/ - - ScCellRangesBase::RefChanged(); -} - void ScTableSheetObj::InitInsertSheet(ScDocShell* pDocSh, SCTAB nTab) { InitInsertRange( pDocSh, ScRange(0,0,nTab, MAXCOL,MAXROW,nTab) ); |