From 49750862171c8d23f60bd1f1a1983b6e834ef9bf Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Sat, 17 Mar 2012 08:09:53 +0100 Subject: workaround for msvc instantiating things it shouldn't The cppu::ImplInheritanceHelper1 ctor should not get instantiated, but MSVC2008 does so and then it fails to compile. --- oox/inc/oox/core/contexthandler.hxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/oox/inc/oox/core/contexthandler.hxx b/oox/inc/oox/core/contexthandler.hxx index f0562ec2b50d..9d098486340a 100644 --- a/oox/inc/oox/core/contexthandler.hxx +++ b/oox/inc/oox/core/contexthandler.hxx @@ -105,6 +105,10 @@ protected: void implSetLocator( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XLocator >& rxLocator ); +#if _MSC_VER + ContextHandler() {} // workaround +#endif + private: ContextHandler& operator=( const ContextHandler& ); -- cgit