diff options
-rw-r--r-- | include/oox/core/contexthandler2.hxx | 2 | ||||
-rw-r--r-- | oox/source/drawingml/textbodycontext.cxx | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/oox/core/contexthandler2.hxx b/include/oox/core/contexthandler2.hxx index d60cf3821916..48edd9a8086a 100644 --- a/include/oox/core/contexthandler2.hxx +++ b/include/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 d274d5adc63e..77b5e7aef9bf 100644 --- a/oox/source/drawingml/textbodycontext.cxx +++ b/oox/source/drawingml/textbodycontext.cxx @@ -52,6 +52,7 @@ TextParagraphContext::TextParagraphContext( ContextHandler2Helper& rParent, Text : ContextHandler2( rParent ) , mrParagraph( rPara ) { + mbEnableTrimSpace = false; } // -------------------------------------------------------------------- |