summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@collabora.com>2013-12-10 17:07:23 +0530
committerAndras Timar <andras.timar@collabora.com>2014-01-03 11:18:02 +0100
commitcd725d9c3772cf4a9fdf557971e84a4acaaee3ab (patch)
treeacca2ae58e269abf7b310828a5035d79cffe356a
parentcd83c269adf8f50e2445788109f6536a41688822 (diff)
n#828390: Import new line in text.
-rw-r--r--oox/inc/oox/core/contexthandler2.hxx2
-rw-r--r--oox/source/drawingml/textbodycontext.cxx1
2 files changed, 3 insertions, 0 deletions
diff --git a/oox/inc/oox/core/contexthandler2.hxx b/oox/inc/oox/core/contexthandler2.hxx
index 12ff23bae173..f6b9d5de3268 100644
--- a/oox/inc/oox/core/contexthandler2.hxx
+++ b/oox/inc/oox/core/contexthandler2.hxx
@@ -206,6 +206,8 @@ private:
ContextStackRef mxContextStack; /// Stack of all processed elements.
size_t mnRootStackSize; /// Stack size on construction time.
+
+protected:
bool mbEnableTrimSpace; /// True = trim whitespace in characters().
};
diff --git a/oox/source/drawingml/textbodycontext.cxx b/oox/source/drawingml/textbodycontext.cxx
index 7bc29a09a4d2..a8b3d649c773 100644
--- a/oox/source/drawingml/textbodycontext.cxx
+++ b/oox/source/drawingml/textbodycontext.cxx
@@ -54,6 +54,7 @@ TextParagraphContext::TextParagraphContext( ContextHandler& rParent, TextParagra
: ContextHandler( rParent )
, mrParagraph( rPara )
{
+ mbEnableTrimSpace = false;
}
// --------------------------------------------------------------------