From 134558033eea2fd7c05376c13859cb1d57140321 Mon Sep 17 00:00:00 2001 From: Muthu Subramanian Date: Tue, 10 Dec 2013 17:07:23 +0530 Subject: n#828390: Import new line in text. --- oox/inc/oox/core/contexthandler2.hxx | 2 ++ oox/source/drawingml/textbodycontext.cxx | 1 + 2 files changed, 3 insertions(+) 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; } // -------------------------------------------------------------------- -- cgit v1.2.3