From b856ea5af5282b8790a0edd6aa3a6de5f54c3ba6 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 24 Apr 2012 16:07:24 +0100 Subject: inline unused ctor needed by MSVC at compile time --- toolkit/inc/toolkit/controls/unocontrolbase.hxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'toolkit/inc') diff --git a/toolkit/inc/toolkit/controls/unocontrolbase.hxx b/toolkit/inc/toolkit/controls/unocontrolbase.hxx index 34779ccd20d9..d5e19ea5e102 100644 --- a/toolkit/inc/toolkit/controls/unocontrolbase.hxx +++ b/toolkit/inc/toolkit/controls/unocontrolbase.hxx @@ -40,8 +40,10 @@ class TOOLKIT_DLLPUBLIC UnoControlBase : public UnoControl { protected: - UnoControlBase(); - + UnoControlBase() //do not use! needed by MSVC at compile time to satisfy AggImplInheritanceHelper5 + { + assert(false); + } protected: UnoControlBase( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory ) :UnoControl( i_factory ) -- cgit