summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2015-08-12 14:39:23 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2015-08-12 14:54:11 +0200
commit5945659d8ddc3ca6bb5912965e13d609a36ff003 (patch)
tree7030860f7b333db56edb1b31f320380ff4338fed
parent79395c934771818686e488a7c2e382a00456c8a1 (diff)
tdf#92256: Make sure ref syntax of Excel docs gets saved
SetStringRefSyntax guarantees that, as it sets also ScCalcConfig -> mbHasStringRefSyntax to true Change-Id: I44b4bd7854623a6229235ad0db9f0c4ddfbebe06
-rw-r--r--sc/source/filter/oox/workbookhelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx
index 1ced0d0b2c67..afe9efeb8d6a 100644
--- a/sc/source/filter/oox/workbookhelper.cxx
+++ b/sc/source/filter/oox/workbookhelper.cxx
@@ -574,7 +574,7 @@ void WorkbookGlobals::initialize( bool bWorkbookFile )
Reference< XDocumentPropertiesSupplier > xPropSupplier( mxDoc, UNO_QUERY);
Reference< XDocumentProperties > xDocProps = xPropSupplier->getDocumentProperties();
ScCalcConfig aCalcConfig = mpDoc->GetCalcConfig();
- aCalcConfig.meStringRefAddressSyntax = getConvention(xDocProps);
+ aCalcConfig.SetStringRefSyntax( getConvention(xDocProps) );
mpDoc->SetCalcConfig(aCalcConfig);
mxDocImport.reset(new ScDocumentImport(*mpDoc));