summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xiroot.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-10-04 14:14:38 -0400
committerKohei Yoshida <kyoshida@novell.com>2010-10-04 14:19:05 -0400
commitae7abbdc80acaab64d9cf942eac8c2309e97a24f (patch)
tree32e375a2ad71c46d09da4cfdb67ddb8846eced48 /sc/source/filter/excel/xiroot.cxx
parentebc9c4ca0f6fc7073071d153aabfa7a39a401f05 (diff)
And several fixes against the previous commit wrt xls import perf.
Diffstat (limited to 'sc/source/filter/excel/xiroot.cxx')
-rw-r--r--sc/source/filter/excel/xiroot.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xiroot.cxx b/sc/source/filter/excel/xiroot.cxx
index 5f8bcbd481e5..4bbb64a099f8 100644
--- a/sc/source/filter/excel/xiroot.cxx
+++ b/sc/source/filter/excel/xiroot.cxx
@@ -82,6 +82,7 @@ XclImpRoot::XclImpRoot( XclImpRootData& rImpRootData ) :
mrImpData.mxLinkMgr.reset( new XclImpLinkManager( GetRoot() ) );
mrImpData.mxSst.reset( new XclImpSst( GetRoot() ) );
mrImpData.mxCondFmtMgr.reset( new XclImpCondFormatManager( GetRoot() ) );
+ mrImpData.mxValidMgr.reset( new XclImpValidationManager( GetRoot() ) );
// TODO still in old RootData (deleted by RootData)
GetOldRoot().pAutoFilterBuffer = new XclImpAutoFilterBuffer;
mrImpData.mxWebQueryBfr.reset( new XclImpWebQueryBuffer( GetRoot() ) );
@@ -221,6 +222,12 @@ XclImpCondFormatManager& XclImpRoot::GetCondFormatManager() const
return *mrImpData.mxCondFmtMgr;
}
+XclImpValidationManager& XclImpRoot::GetValidationManager() const
+{
+ DBG_ASSERT( mrImpData.mxValidMgr.is(), "XclImpRoot::GetValidationManager - invalid call, wrong BIFF" );
+ return *mrImpData.mxValidMgr;
+}
+
XclImpAutoFilterBuffer& XclImpRoot::GetFilterManager() const
{
// TODO still in old RootData