diff options
author | Muthu Subramanian <sumuthu@collabora.com> | 2013-12-10 17:07:23 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-01-03 11:18:02 +0100 |
commit | cd725d9c3772cf4a9fdf557971e84a4acaaee3ab (patch) | |
tree | acca2ae58e269abf7b310828a5035d79cffe356a | |
parent | cd83c269adf8f50e2445788109f6536a41688822 (diff) |
n#828390: Import new line in text.
-rw-r--r-- | oox/inc/oox/core/contexthandler2.hxx | 2 | ||||
-rw-r--r-- | oox/source/drawingml/textbodycontext.cxx | 1 |
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; } // -------------------------------------------------------------------- |