summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@collabora.com>2013-12-10 17:07:23 +0530
committerMuthu Subramanian <sumuthu@collabora.com>2013-12-10 17:10:07 +0530
commit134558033eea2fd7c05376c13859cb1d57140321 (patch)
tree553bf57c8b40b8ab1d785b2e76fba745c9046194
parentd6840bf9c653955aae4ee5de884f895655106ec7 (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;
}
// --------------------------------------------------------------------