[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sc/source
Laurent Godard
lgodard.libre at laposte.net
Wed Jul 3 05:06:09 PDT 2013
sc/source/filter/xml/xmlexprt.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 42e32bb7a0a015a2726b148425410fa275c808c9
Author: Laurent Godard <lgodard.libre at laposte.net>
Date: Mon Jul 1 11:32:47 2013 +0200
the calculation of the progressbar leads to very slow saving
Change-Id: Ibba31126161b77b499561c5a74c057a56c07a4a8
Reviewed-on: https://gerrit.libreoffice.org/4647
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat at free.fr>
Reviewed-on: https://gerrit.libreoffice.org/4698
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index 9089f27..2a543cd 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -2443,10 +2443,10 @@ void ScXMLExport::_ExportAutoStyles()
if (xCellRangesQuery.is())
{
Reference<sheet::XSheetCellRanges> xSheetCellRanges(xCellRangesQuery->queryContentCells(sheet::CellFlags::FORMATTED));
- Reference<sheet::XSheetOperation> xSheetOperation(xSheetCellRanges, uno::UNO_QUERY);
- if (xSheetCellRanges.is() && xSheetOperation.is())
+ if (xSheetCellRanges.is())
{
- sal_uInt32 nCount(sal_uInt32(xSheetOperation->computeFunction(sheet::GeneralFunction_COUNT)));
+ uno::Sequence< table::CellRangeAddress > aCellRangeAddresses (xSheetCellRanges->getRangeAddresses());
+ sal_uInt32 nCount(aCellRangeAddresses.getLength());
Reference<container::XEnumerationAccess> xCellsAccess(xSheetCellRanges->getCells());
if (xCellsAccess.is())
{
More information about the Libreoffice-commits
mailing list