summaryrefslogtreecommitdiff
path: root/basctl
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
commitea648b2a1e575e4a09483695d272f8115e04422a (patch)
treef629adfebae3991d2f6066e2b6f676d3ff28a331 /basctl
parent2bd93e53faa77b3f1fca62874c40f868b052ff53 (diff)
npower13_objectmodule: disable IDE changes
Diffstat (limited to 'basctl')
-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 ccda06da6..18119d43d 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;
}