diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-19 20:11:28 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-20 16:28:27 +0100 |
commit | 41095e934bcd83e08a472c8fb53743cd3f8e926c (patch) | |
tree | 9bc37dd5c3954d8f0782da8f07c86a51d02cb39c /sc | |
parent | respect local number format in cond format dlg, fdo#60574 (diff) | |
download | core-41095e934bcd83e08a472c8fb53743cd3f8e926c.tar.gz core-41095e934bcd83e08a472c8fb53743cd3f8e926c.zip |
respect nDelFlags, fdo#57661
Change-Id: I77d3e1f537b59504125d66f66f691d01f8f23894
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/table2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index 97bd3756fcd5..db43e5e2f081 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -567,7 +567,7 @@ void ScTable::DeleteSelection( sal_uInt16 nDelFlag, const ScMarkData& rMark ) 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() ); } |