diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-03-17 08:09:53 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-03-17 08:19:21 +0100 |
commit | 49750862171c8d23f60bd1f1a1983b6e834ef9bf (patch) | |
tree | 413b46fa035f62d342689b95e26bfd22d3f1c3f1 /oox | |
parent | 0c9a6bf5f791778c8ce59d60a84b62f32c1a2f79 (diff) |
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.
Diffstat (limited to 'oox')
-rw-r--r-- | oox/inc/oox/core/contexthandler.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
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& ); |