summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2013-11-27 09:47:40 +0000
committerMichael Meeks <michael.meeks@collabora.com>2013-11-27 09:48:06 +0000
commitbc90fb9e3072d751158a8ea0ca0a893d271b8973 (patch)
tree8304ee13b7eddd60501df41386256c2c6b883526
parent34592b9189bf47438a452479972968d33a3a4c1b (diff)
fastparser: Outline virtual destructor to please MSVC++.
Change-Id: I8368698e80e5ebe339b822a9e0e767e8ba867e07
-rw-r--r--include/sax/fastattribs.hxx2
-rw-r--r--sax/source/tools/fastattribs.cxx5
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 )
{