diff options
-rw-r--r-- | include/sax/fastattribs.hxx | 2 | ||||
-rw-r--r-- | sax/source/tools/fastattribs.cxx | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/sax/fastattribs.hxx b/include/sax/fastattribs.hxx index f1f64dd4b9ed..bb1b93d9121b 100644 --- a/include/sax/fastattribs.hxx +++ b/include/sax/fastattribs.hxx @@ -53,7 +53,7 @@ typedef std::vector< UnknownAttribute > UnknownAttributeList; class SAX_DLLPUBLIC FastTokenHandlerBase { public: - virtual ~FastTokenHandlerBase() {} + virtual ~FastTokenHandlerBase(); virtual sal_Int32 getTokenDirect( const char *pToken, sal_Int32 nLength ) const = 0; }; diff --git a/sax/source/tools/fastattribs.cxx b/sax/source/tools/fastattribs.cxx index bc63b3eeeb2a..595c7365e6e7 100644 --- a/sax/source/tools/fastattribs.cxx +++ b/sax/source/tools/fastattribs.cxx @@ -27,6 +27,11 @@ using namespace ::com::sun::star::xml::sax; namespace sax_fastparser { +// wasteage to keep MSVC happy vs. an in-line {} +FastTokenHandlerBase::FastTokenHandlerBase() +{ +} + UnknownAttribute::UnknownAttribute( const OUString& rNamespaceURL, const OString& rName, const sal_Char* pValue ) : maNamespaceURL( rNamespaceURL ), maName( rName ), maValue( pValue ) { |