From ce9cb99d0b115aff34ee7f9da62d7c6c29a282ae Mon Sep 17 00:00:00 2001 From: Noel Power Date: Wed, 12 Sep 2012 14:35:23 +0100 Subject: [PATCH] fix build issue --- basic/source/classes/sbxmod.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 #include #include -#include #include #include #include @@ -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 }