diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-07 18:35:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-07 18:35:59 +0200 |
commit | f740673ed74b1e2daf2a65d9b167dc3a38e1dd25 (patch) | |
tree | e793727278c821c506f0dfb893ce04466bc356e4 /sax/source | |
parent | ca730eed1e61551d77fb6d788eab9214579ed4ff (diff) |
Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happy
Change-Id: I2d4e4be562cc752e7545792b148d5ed0cf551f25
Diffstat (limited to 'sax/source')
-rw-r--r-- | sax/source/expatwrap/sax_expat.cxx | 5 | ||||
-rw-r--r-- | sax/source/expatwrap/saxwriter.cxx | 5 | ||||
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 5 |
3 files changed, 3 insertions, 12 deletions
diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx index 9735e0788d6a..78906eb1457f 100644 --- a/sax/source/expatwrap/sax_expat.cxx +++ b/sax/source/expatwrap/sax_expat.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XInitialization.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp> #include <com/sun/star/xml/sax/XParser.hpp> #include <com/sun/star/xml/sax/SAXParseException.hpp> @@ -48,10 +49,6 @@ using namespace ::com::sun::star::io; #include "attrlistimpl.hxx" #include "xml2utf.hxx" -namespace com { namespace sun { namespace star { namespace uno { - class XComponentContext; -} } } } - namespace { // Useful macros for correct String conversion depending on the chosen expat-mode diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx index 331173ec1f80..04092401d6a2 100644 --- a/sax/source/expatwrap/saxwriter.cxx +++ b/sax/source/expatwrap/saxwriter.cxx @@ -24,6 +24,7 @@ #include <stack> #include <com/sun/star/lang/XServiceInfo.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/util/XCloneable.hpp> #include <com/sun/star/xml/sax/XParser.hpp> #include <com/sun/star/xml/sax/SAXParseException.hpp> @@ -51,10 +52,6 @@ using namespace ::com::sun::star::io; #include "xml2utf.hxx" #include <boost/scoped_array.hpp> -namespace com { namespace sun { namespace star { namespace uno { - class XComponentContext; -} } } } - #define LINEFEED 10 #define SEQUENCESIZE 1024 #define MAXCOLUMNCOUNT 72 diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index d3103d153dc5..1e08851313cd 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -22,6 +22,7 @@ #include "xml2utf.hxx" #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/xml/sax/FastToken.hpp> #include <com/sun/star/xml/sax/SAXParseException.hpp> #include <com/sun/star/xml/sax/XFastContextHandler.hpp> @@ -45,10 +46,6 @@ #include <cstring> #include <expat.h> -namespace com { namespace sun { namespace star { namespace uno { - class XComponentContext; -} } } } - using namespace ::std; using namespace ::osl; using namespace ::cppu; |