[Libreoffice-commits] .: sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Fri Jan 7 07:40:35 PST 2011


 sc/source/filter/xml/XMLExportDatabaseRanges.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 827fa61c0bff4bcdbeb2410ce46c76b0dec32394
Author: Nigel Hawkins <n.hawkins at gmx.com>
Date:   Tue Jan 4 14:00:56 2011 +0000

    cppcheck: Remove unused variable in XMLExportDatabaseRanges.cxx - check

diff --git a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx
index a8e6aa1..8bd0655 100644
--- a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx
+++ b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx
@@ -80,7 +80,6 @@ ScMyEmptyDatabaseRangesContainer ScXMLExportDatabaseRanges::GetEmptyDatabaseRang
     ScMyEmptyDatabaseRangesContainer aSkipRanges;
     if (rExport.GetModel().is())
     {
-        sal_Int32 nSkipRangesCount = 0;
         uno::Reference <beans::XPropertySet> xPropertySet (rExport.GetModel(), uno::UNO_QUERY);
         if (xPropertySet.is())
         {
@@ -118,8 +117,6 @@ ScMyEmptyDatabaseRangesContainer ScXMLExportDatabaseRanges::GetEmptyDatabaseRang
                         }
                     }
                 }
-                if (nSkipRangesCount > 1)
-                    aSkipRanges.Sort();
             }
         }
     }


More information about the Libreoffice-commits mailing list