summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-02-17 19:45:06 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-02-17 19:47:27 -0500
commit2f55cee39379a76920f3a4fb14e6c2774093bfcd (patch)
tree47936c1c9712f457c8a3ce03218b209f0041b00e
parentd2a80bcd494039bcb54693a8461d1645e51d1c1b (diff)
fdo#74573: Skip removing of cell notes on empty cells if the flag is set.
Change-Id: I0d9cb5b48c5fdf51cf290cd838f5d6d7cb572e8b
-rw-r--r--sc/source/core/data/column3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 7da68607efe5..5bc149b29dbc 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -736,7 +736,7 @@ public:
if (node.type == sc::element_type_empty)
{
- if (bCopyCellNotes)
+ if (bCopyCellNotes && !mrCxt.isSkipAttrForEmptyCells())
{
bool bCloneCaption = (nFlags & IDF_NOCAPTIONS) == 0;
duplicateNotes(nSrcRow1, nDataSize, bCloneCaption );