summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-09-10 11:09:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-09-10 12:46:49 +0100
commit206b32c231ea9f1fc7dbb60af307e30d03398095 (patch)
tree1982ecf3830b13353ada4bb4c309168e36440d4f /sc/inc
parentabbeed756019e099d16acb4155c7c459fef2d1b4 (diff)
refactor lotus wks importer to remove globals
so that the global aLotusPatternPool map gets destroyed at a sane point in time where calling delete on its patterns is a legal operation and not at some random location in the dtor chain Change-Id: I6f202c5345c6a227b5a680d70150bf32fb9450c7
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/filter.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/inc/filter.hxx b/sc/inc/filter.hxx
index 53062c343e8d..6d3df3dedec3 100644
--- a/sc/inc/filter.hxx
+++ b/sc/inc/filter.hxx
@@ -129,7 +129,9 @@ class ScFormatFilter {
SC_DLLPUBLIC static ScFormatFilterPlugin &Get();
};
-FltError ScImportLotus123old( SvStream&, ScDocument*, rtl_TextEncoding eSrc );
+struct LotusContext;
+
+FltError ScImportLotus123old(LotusContext& rContext, SvStream&, ScDocument*, rtl_TextEncoding eSrc);
#endif