summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornpower Developer <npower@openoffice.org>2010-03-03 16:17:49 +0000
committernpower Developer <npower@openoffice.org>2010-03-03 16:17:49 +0000
commit92226d16f811d29618f505fffae3051710c1eadf (patch)
treef0619e94dd1d8b10ef414899fdafd60f8c26898c
parentb38c23a63a189072a6275bb791fcfa55edfdc2fd (diff)
npower13_objectmodule: disable IDE changes
-rw-r--r--basctl/source/basicide/scriptdocument.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx
index edb04f352855..6d175674a63d 100644
--- a/basctl/source/basicide/scriptdocument.cxx
+++ b/basctl/source/basicide/scriptdocument.cxx
@@ -453,12 +453,14 @@ namespace basctl
bool ScriptDocument_Impl::isInVBAMode() const
{
bool bResult = false;
+#ifdef FUTURE_VBA_CWS
if ( !isApplication() )
{
Reference< XVBACompat > xVBACompat( getLibraryContainer( E_SCRIPTS ), UNO_QUERY );
if ( xVBACompat.is() )
bResult = xVBACompat->getVBACompatModeOn();
}
+#endif
return bResult;
}