[Libreoffice-commits] core.git: sc/source
Katarina Behrens
Katarina.Behrens at cib.de
Wed Aug 12 05:55:07 PDT 2015
sc/source/filter/oox/workbookhelper.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5945659d8ddc3ca6bb5912965e13d609a36ff003
Author: Katarina Behrens <Katarina.Behrens at cib.de>
Date: Wed Aug 12 14:39:23 2015 +0200
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
diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx
index 1ced0d0..afe9efe 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));
More information about the Libreoffice-commits
mailing list