summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-05-09 14:04:30 -0400
committerAndras Timar <andras.timar@collabora.com>2014-05-11 03:08:08 -0700
commit8ee9a8f96cbaa466d64cf644506fa95334c2016a (patch)
treec3ae60f7381bb9c0b920d19cde8e4b605252a85a
parentf89b4a7de1669c75e33748dae438c7c6c2b6524e (diff)
fdo#77379: Don't return from the call. Notes are handled at the end.
Returning prematurely would end up skipping pasting of notes. Change-Id: I79e0968023342a68fe729f31eb6cfc3cfacd5850 (cherry picked from commit f4673ccd5e26d38a28f297d64ed70ba719d21ef2) Reviewed-on: https://gerrit.libreoffice.org/9295 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--sc/source/core/data/column3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index ef726d1a65f1..6f5e4e2631dc 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -881,7 +881,7 @@ public:
case sc::element_type_string:
{
if (!bString)
- return;
+ break;
sc::string_block::const_iterator it = sc::string_block::begin(*node.data);
std::advance(it, nOffset);
@@ -905,7 +905,7 @@ public:
case sc::element_type_edittext:
{
if (!bString)
- return;
+ break;
sc::edittext_block::const_iterator it = sc::edittext_block::begin(*node.data);
std::advance(it, nOffset);