Kaydet (Commit) bc90fb9e authored tarafından Michael Meeks's avatar Michael Meeks

fastparser: Outline virtual destructor to please MSVC++.

Change-Id: I8368698e80e5ebe339b822a9e0e767e8ba867e07
üst 34592b91
...@@ -53,7 +53,7 @@ typedef std::vector< UnknownAttribute > UnknownAttributeList; ...@@ -53,7 +53,7 @@ typedef std::vector< UnknownAttribute > UnknownAttributeList;
class SAX_DLLPUBLIC FastTokenHandlerBase class SAX_DLLPUBLIC FastTokenHandlerBase
{ {
public: public:
virtual ~FastTokenHandlerBase() {} virtual ~FastTokenHandlerBase();
virtual sal_Int32 getTokenDirect( const char *pToken, sal_Int32 nLength ) const = 0; virtual sal_Int32 getTokenDirect( const char *pToken, sal_Int32 nLength ) const = 0;
}; };
......
...@@ -27,6 +27,11 @@ using namespace ::com::sun::star::xml::sax; ...@@ -27,6 +27,11 @@ using namespace ::com::sun::star::xml::sax;
namespace sax_fastparser 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 ) UnknownAttribute::UnknownAttribute( const OUString& rNamespaceURL, const OString& rName, const sal_Char* pValue )
: maNamespaceURL( rNamespaceURL ), maName( rName ), maValue( pValue ) : maNamespaceURL( rNamespaceURL ), maName( rName ), maValue( pValue )
{ {
......
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