Kaydet (Commit) f4673ccd authored tarafından Kohei Yoshida's avatar Kohei Yoshida

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
üst 71cd1ca5
...@@ -873,7 +873,7 @@ public: ...@@ -873,7 +873,7 @@ public:
case sc::element_type_string: case sc::element_type_string:
{ {
if (!bString) if (!bString)
return; break;
sc::string_block::const_iterator it = sc::string_block::begin(*node.data); sc::string_block::const_iterator it = sc::string_block::begin(*node.data);
std::advance(it, nOffset); std::advance(it, nOffset);
...@@ -897,7 +897,7 @@ public: ...@@ -897,7 +897,7 @@ public:
case sc::element_type_edittext: case sc::element_type_edittext:
{ {
if (!bString) if (!bString)
return; break;
sc::edittext_block::const_iterator it = sc::edittext_block::begin(*node.data); sc::edittext_block::const_iterator it = sc::edittext_block::begin(*node.data);
std::advance(it, nOffset); std::advance(it, nOffset);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment