Kaydet (Commit) f740673e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happy

Change-Id: I2d4e4be562cc752e7545792b148d5ed0cf551f25
üst ca730eed
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XInitialization.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/XExtendedDocumentHandler.hpp>
#include <com/sun/star/xml/sax/XParser.hpp> #include <com/sun/star/xml/sax/XParser.hpp>
#include <com/sun/star/xml/sax/SAXParseException.hpp> #include <com/sun/star/xml/sax/SAXParseException.hpp>
...@@ -48,10 +49,6 @@ using namespace ::com::sun::star::io; ...@@ -48,10 +49,6 @@ using namespace ::com::sun::star::io;
#include "attrlistimpl.hxx" #include "attrlistimpl.hxx"
#include "xml2utf.hxx" #include "xml2utf.hxx"
namespace com { namespace sun { namespace star { namespace uno {
class XComponentContext;
} } } }
namespace { namespace {
// Useful macros for correct String conversion depending on the chosen expat-mode // Useful macros for correct String conversion depending on the chosen expat-mode
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include <stack> #include <stack>
#include <com/sun/star/lang/XServiceInfo.hpp> #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/util/XCloneable.hpp>
#include <com/sun/star/xml/sax/XParser.hpp> #include <com/sun/star/xml/sax/XParser.hpp>
#include <com/sun/star/xml/sax/SAXParseException.hpp> #include <com/sun/star/xml/sax/SAXParseException.hpp>
...@@ -51,10 +52,6 @@ using namespace ::com::sun::star::io; ...@@ -51,10 +52,6 @@ using namespace ::com::sun::star::io;
#include "xml2utf.hxx" #include "xml2utf.hxx"
#include <boost/scoped_array.hpp> #include <boost/scoped_array.hpp>
namespace com { namespace sun { namespace star { namespace uno {
class XComponentContext;
} } } }
#define LINEFEED 10 #define LINEFEED 10
#define SEQUENCESIZE 1024 #define SEQUENCESIZE 1024
#define MAXCOLUMNCOUNT 72 #define MAXCOLUMNCOUNT 72
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include "xml2utf.hxx" #include "xml2utf.hxx"
#include <com/sun/star/lang/DisposedException.hpp> #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/FastToken.hpp>
#include <com/sun/star/xml/sax/SAXParseException.hpp> #include <com/sun/star/xml/sax/SAXParseException.hpp>
#include <com/sun/star/xml/sax/XFastContextHandler.hpp> #include <com/sun/star/xml/sax/XFastContextHandler.hpp>
...@@ -45,10 +46,6 @@ ...@@ -45,10 +46,6 @@
#include <cstring> #include <cstring>
#include <expat.h> #include <expat.h>
namespace com { namespace sun { namespace star { namespace uno {
class XComponentContext;
} } } }
using namespace ::std; using namespace ::std;
using namespace ::osl; using namespace ::osl;
using namespace ::cppu; using namespace ::cppu;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment