summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2010-08-03 11:54:45 +0200
committerIvo Hinkelmann <ihi@openoffice.org>2010-08-03 11:54:45 +0200
commit48018b48b69b584bf3e97ee797c0dbd2c49385ca (patch)
treef3506191605c9e194a3eab8fc09c3a954b3db26d /sc/source/filter/xml
parent241e2ae39ca60a86e66b911037c0829879541c86 (diff)
parent77ccf4c8b1828fea6bc0a86b741bfd2d43e2937f (diff)
CWS-TOOLING: integrate CWS mib17
Notes
Notes: split repo tag: calc_ooo/OOO330_m3
Diffstat (limited to 'sc/source/filter/xml')
-rw-r--r--sc/source/filter/xml/xmlexprt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index b34abb29443c..ca5403e3b18d 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -4340,7 +4340,7 @@ void ScXMLExport::GetConfigurationSettings(uno::Sequence<beans::PropertyValue>&
uno::Reference <container::XNameAccess> xCodeNameAccess;
DBG_ASSERT( pDoc, "ScXMLExport::GetConfigurationSettings - no ScDocument!" );
- if( pDoc )
+ if( pDoc && pDoc->IsInVBAMode() )
{
xCodeNameAccess = new XMLCodeNameProvider( pDoc );
if( xCodeNameAccess.is() && xCodeNameAccess->hasElements() )