[Libreoffice-commits] .: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Nov 24 15:57:51 PST 2012


 sc/source/core/data/fillinfo.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 23fa98c829a1e7f677969690c711dc66c36765f9
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Nov 25 00:50:57 2012 +0100

    remove this overoptimization
    
    Change-Id: Ic87237bdf3f98fe90a882946d1d281d4dbd84e5f

diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx
index 6606fc2..f665bea 100644
--- a/sc/source/core/data/fillinfo.cxx
+++ b/sc/source/core/data/fillinfo.cxx
@@ -534,9 +534,6 @@ void ScDocument::FillInfo( ScTableInfo& rTabInfo, SCCOL nX1, SCROW nY1, SCCOL nX
                                     for(std::vector<sal_uInt32>::const_iterator itr = rCondFormats.begin();
                                             itr != rCondFormats.end() && !bFound; ++itr)
                                     {
-                                        if(!pInfo->pCell)
-                                            continue;
-
                                         ScConditionalFormat* pCondForm = pCondFormList->GetFormat(*itr);
                                         if(!pCondForm)
                                             continue;


More information about the Libreoffice-commits mailing list