summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-05-09 14:04:30 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-05-09 14:06:11 -0400
commitf4673ccd5e26d38a28f297d64ed70ba719d21ef2 (patch)
treeeadae4b9bfd57dac2de40cdc262bc36e386962ae
parent71cd1ca57faf423fb607fab64914719238bc1e4f (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
-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 e3a81a57d32b..8bb8223b3035 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -873,7 +873,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);
@@ -897,7 +897,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);