include/sax/fastattribs.hxx | 2 +- sax/source/tools/fastattribs.cxx | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-)
New commits: commit bc90fb9e3072d751158a8ea0ca0a893d271b8973 Author: Michael Meeks <michael.me...@collabora.com> Date: Wed Nov 27 09:47:40 2013 +0000 fastparser: Outline virtual destructor to please MSVC++. Change-Id: I8368698e80e5ebe339b822a9e0e767e8ba867e07 diff --git a/include/sax/fastattribs.hxx b/include/sax/fastattribs.hxx index f1f64dd..bb1b93d 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 bc63b3e..595c736 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 ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits