diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-24 16:21:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-24 20:09:49 +0100 |
commit | d8f145d1ebe8836f559ba47a1978063d922c6294 (patch) | |
tree | 8e41ae3f5ea25ab45a894bf72b04dfc133ce7d6c /toolkit/inc | |
parent | 2d2b19dea1ab401b1b4971ff5b12b87bb11fd666 (diff) |
save the next guy from getting caught with msvc template requirements
Diffstat (limited to 'toolkit/inc')
-rw-r--r-- | toolkit/inc/toolkit/controls/unocontrolmodel.hxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/toolkit/inc/toolkit/controls/unocontrolmodel.hxx b/toolkit/inc/toolkit/controls/unocontrolmodel.hxx index 99722b775ce1..e0d6aa874317 100644 --- a/toolkit/inc/toolkit/controls/unocontrolmodel.hxx +++ b/toolkit/inc/toolkit/controls/unocontrolmodel.hxx @@ -109,7 +109,16 @@ protected: ) const; protected: - UnoControlModel(); + UnoControlModel() //do not use! needed by MSVC at compile time to satisfy WeakAggImplHelper7 + : UnoControlModel_Base() + , MutexAndBroadcastHelper() + , OPropertySetHelper( BrdcstHelper ) + , maDisposeListeners( *this ) + , maContext( ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >() ) + { + assert(false); + } + public: UnoControlModel( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory ); UnoControlModel( const UnoControlModel& rModel ); |