summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2012-09-12 14:35:23 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-09-12 14:36:24 +0100
commitce9cb99d0b115aff34ee7f9da62d7c6c29a282ae (patch)
tree9486e66601799d147c39dc1ea4ac75e81027dfcc /basic
parente2b1a7e4e4d9bfc32aab9921c30a6e40e08b8210 (diff)
fix build issue
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbxmod.cxx3
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
}