diff options
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/sbxmod.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index f47e352183b2..5cdc48eeeab9 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -47,7 +47,6 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/script/ModuleType.hpp> #include <com/sun/star/script/vba/XVBACompatibility.hpp> -#include <com/sun/star/document/XVbaMethodParameter.hpp> #include <com/sun/star/script/vba/VBAScriptEventId.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/document/XEventBroadcaster.hpp> @@ -2332,6 +2331,7 @@ public: virtual void SAL_CALL windowClosing( const lang::EventObject& e ) throw (uno::RuntimeException) { +#ifdef IN_THE_FUTURE uno::Reference< awt::XDialog > xDialog( e.Source, uno::UNO_QUERY ); if ( xDialog.is() ) { @@ -2358,6 +2358,7 @@ public: } mpUserForm->triggerMethod( rtl::OUString("Userform_QueryClose" ) ); +#endif } |