summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-07-22 11:46:00 +0000
committerOliver Bolte <obo@openoffice.org>2008-07-22 11:46:00 +0000
commitfe9ab9abe27f2f9fd5f857a3030115c4750a0983 (patch)
treea374e540b8e2d3dd31ed8eaea94f8789bcf67601 /writerfilter
parent8b5db2d1f9aff345a4dbef5a0de5ac67bb94bd27 (diff)
INTEGRATION: CWS xmlfilter06 (1.3.8); FILE MERGED
2008/06/05 16:14:46 hbrinkm 1.3.8.1: cleanups
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx b/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
index abab8f54a598..92e173749620 100644
--- a/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastDocumentHandler.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: OOXMLFastDocumentHandler.hxx,v $
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
* This file is part of OpenOffice.org.
*
@@ -37,6 +37,7 @@
#include <com/sun/star/xml/sax/XFastDocumentHandler.hpp>
#include <resourcemodel/WW8ResourceModel.hxx>
#include <ooxml/OOXMLDocument.hxx>
+#include "OOXMLParserState.hxx"
namespace writerfilter {
namespace ooxml
@@ -97,6 +98,8 @@ public:
void setDocument(OOXMLDocument * pDocument);
void setXNoteId(const ::rtl::OUString & rXNoteId);
+ OOXMLParserState::Pointer_t getParserState() const;
+
private:
OOXMLFastDocumentHandler(OOXMLFastDocumentHandler &); // not defined
void operator =(OOXMLFastDocumentHandler &); // not defined
@@ -106,7 +109,8 @@ private:
Stream * mpStream;
OOXMLDocument * mpDocument;
::rtl::OUString msXNoteId;
- boost::shared_ptr<OOXMLFastContextHandler> mpContextHandler;
+ mutable boost::shared_ptr<OOXMLFastContextHandler> mpContextHandler;
+ boost::shared_ptr<OOXMLFastContextHandler> getContextHandler() const;
};
}}