[Libreoffice-commits] core.git: sc/source
Katarina Behrens
bubli at bubli.org
Fri Mar 20 05:40:39 PDT 2015
sc/source/filter/inc/workbookhelper.hxx | 1 +
sc/source/filter/oox/workbookhelper.cxx | 5 +++++
2 files changed, 6 insertions(+)
New commits:
commit 5623a63b9b6bd084060a88c701babe82eb0c4fb5
Author: Katarina Behrens <bubli at bubli.org>
Date: Fri Mar 20 13:24:35 2015 +0100
Add const version of getDocImport
Will need it for tdf#89597
Change-Id: I705d30422e2de9d5f75ac0c5c69c69ede05af48f
diff --git a/sc/source/filter/inc/workbookhelper.hxx b/sc/source/filter/inc/workbookhelper.hxx
index 90fdca4..e2d26a5 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 71e94c8..1b77eec 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();
More information about the Libreoffice-commits
mailing list