summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-03-17 08:09:53 +0100
committerLuboš Luňák <l.lunak@suse.cz>2012-03-17 08:19:21 +0100
commit49750862171c8d23f60bd1f1a1983b6e834ef9bf (patch)
tree413b46fa035f62d342689b95e26bfd22d3f1c3f1
parent0c9a6bf5f791778c8ce59d60a84b62f32c1a2f79 (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.
-rw-r--r--oox/inc/oox/core/contexthandler.hxx4
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& );