sc/source/filter/xml/XMLStylesImportHelper.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 16861376f684f46ab7ca9716d0de2a3f9f5c5a57
Author:     Bartosz Kosiorek <gan...@poczta.onet.pl>
AuthorDate: Fri May 22 18:10:23 2020 +0200
Commit:     Bartosz Kosiorek <gan...@poczta.onet.pl>
CommitDate: Mon May 25 08:53:19 2020 +0200

    tdf#50916 FILEOPEN Remove too many columns warning, which is no longer 
relevant
    
    Change-Id: I8c08bda1e84d995070032e9349e4259c756ad1e4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94700
    Tested-by: Jenkins
    Reviewed-by: Bartosz Kosiorek <gan...@poczta.onet.pl>

diff --git a/sc/source/filter/xml/XMLStylesImportHelper.cxx 
b/sc/source/filter/xml/XMLStylesImportHelper.cxx
index e7dffa697e36..be004af973a6 100644
--- a/sc/source/filter/xml/XMLStylesImportHelper.cxx
+++ b/sc/source/filter/xml/XMLStylesImportHelper.cxx
@@ -256,7 +256,6 @@ void ScMyStylesImportHelper::AddDefaultRange(const ScRange& 
rRange)
         if (aColDefaultStyles.size() > 
sal::static_int_cast<sal_uInt32>(nStartCol))
         {
             ScMyStylesMap::iterator aPrevItr(aColDefaultStyles[nStartCol]);
-            OSL_ENSURE(aColDefaultStyles.size() > 
sal::static_int_cast<sal_uInt32>(nEndCol), "too many columns");
             for (SCCOL i = nStartCol + 1; (i <= nEndCol) && (i < 
sal::static_int_cast<SCCOL>(aColDefaultStyles.size())); ++i)
             {
                 if (aPrevItr != aColDefaultStyles[i])
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to