From 8ee9a8f96cbaa466d64cf644506fa95334c2016a Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Fri, 9 May 2014 14:04:30 -0400 Subject: 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 Reviewed-by: Markus Mohrhard --- sc/source/core/data/column3.cxx | 4 ++-- 1 file 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); -- cgit v1.2.3