diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-06-05 09:23:58 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-06-05 11:23:21 +0200 |
commit | 8f7827d4cdeef779adbb76f1957dffc7fc7318d6 (patch) | |
tree | f8542bc2c0c101efcf2574c7cfbe1504ec69dbdb /writerfilter/source/ooxml/OOXMLFastContextHandler.hxx | |
parent | 14ce4b337232f8fb21cc67e7a2844a7de81dfc4c (diff) |
writerfilter: Kill RefAndPointer, all it does is one dynamic_cast.
Change-Id: Ie383f7e4ee89770f722d963e09efda9063a68c16
Diffstat (limited to 'writerfilter/source/ooxml/OOXMLFastContextHandler.hxx')
-rw-r--r-- | writerfilter/source/ooxml/OOXMLFastContextHandler.hxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx index f8f26384ae15..bb9d378459e3 100644 --- a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx +++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx @@ -31,7 +31,6 @@ #include "OOXMLParserState.hxx" #include "OOXMLPropertySetImpl.hxx" #include "OOXMLDocumentImpl.hxx" -#include "RefAndPointer.hxx" #include <ooxml/OOXMLFastTokens.hxx> #include <svtools/embedhlp.hxx> @@ -61,8 +60,6 @@ class OOXMLFastContextHandler: xml::sax::XFastContextHandler> { public: - typedef RefAndPointer<XFastContextHandler, OOXMLFastContextHandler> - RefAndPointer_t; typedef boost::shared_ptr<OOXMLFastContextHandler> Pointer_t; enum ResourceEnum_t { UNKNOWN, STREAM, PROPERTIES, TABLE, SHAPE }; @@ -423,7 +420,7 @@ public: protected: OOXMLTableImpl mTable; - RefAndPointer_t mCurrentChild; + uno::Reference<XFastContextHandler> mCurrentChild; virtual void lcl_endFastElement(Token_t Element) throw (uno::RuntimeException, xml::sax::SAXException) SAL_OVERRIDE; |