diff options
author | Katarina Behrens <bubli@bubli.org> | 2015-03-20 13:24:35 +0100 |
---|---|---|
committer | Katarina Behrens <bubli@bubli.org> | 2015-03-20 13:38:41 +0100 |
commit | 5623a63b9b6bd084060a88c701babe82eb0c4fb5 (patch) | |
tree | e268dd08ee957856b517403d8b4f840734d4cd66 /sc/source/filter | |
parent | 33de587e95dddfc8e3c89b84f90b3d1bca823dae (diff) |
Add const version of getDocImport
Will need it for tdf#89597
Change-Id: I705d30422e2de9d5f75ac0c5c69c69ede05af48f
Diffstat (limited to 'sc/source/filter')
-rw-r--r-- | sc/source/filter/inc/workbookhelper.hxx | 1 | ||||
-rw-r--r-- | sc/source/filter/oox/workbookhelper.cxx | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/filter/inc/workbookhelper.hxx b/sc/source/filter/inc/workbookhelper.hxx index 90fdca461685..e2d26a502a00 100644 --- a/sc/source/filter/inc/workbookhelper.hxx +++ b/sc/source/filter/inc/workbookhelper.hxx @@ -149,6 +149,7 @@ public: const ScDocument& getScDocument() const; ScDocumentImport& getDocImport(); + const ScDocumentImport& getDocImport() const; ScEditEngineDefaulter& getEditEngine() const; /** Returns a reference to the source/target spreadsheet document model. */ diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx index 71e94c8c4ef2..1b77eeca9779 100644 --- a/sc/source/filter/oox/workbookhelper.cxx +++ b/sc/source/filter/oox/workbookhelper.cxx @@ -794,6 +794,11 @@ ScDocumentImport& WorkbookHelper::getDocImport() return mrBookGlob.getDocImport(); } +const ScDocumentImport& WorkbookHelper::getDocImport() const +{ + return mrBookGlob.getDocImport(); +} + ScEditEngineDefaulter& WorkbookHelper::getEditEngine() const { return mrBookGlob.getEditEngine(); |