[PATCH libreoffice-4-0] respect nDelFlags, fdo#57661

Markus Mohrhard (via Code Review) gerrit at gerrit.libreoffice.org
Sat Mar 9 07:57:51 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2616

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/16/2616/1

respect nDelFlags, fdo#57661

Change-Id: I77d3e1f537b59504125d66f66f691d01f8f23894
(cherry picked from commit 41095e934bcd83e08a472c8fb53743cd3f8e926c)
---
M sc/source/core/data/table2.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index 936e597..47cd340 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -567,7 +567,7 @@
         if (nDelFlag & IDF_NOTE && pRange)
             maNotes.erase(pRange->aStart.Col(), pRange->aStart.Row(), pRange->aEnd.Col(), pRange->aEnd.Row(), true);
 
-        if(pRange && pRange->aStart.Tab() == nTab)
+        if((nDelFlag & IDF_ATTRIB) && pRange && pRange->aStart.Tab() == nTab)
             mpCondFormatList->DeleteArea( pRange->aStart.Col(), pRange->aStart.Row(), pRange->aEnd.Col(), pRange->aEnd.Row() );
     }
 

-- 
To view, visit https://gerrit.libreoffice.org/2616
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I77d3e1f537b59504125d66f66f691d01f8f23894
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Markus Mohrhard <markus.mohrhard at googlemail.com>



More information about the LibreOffice mailing list