[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - oox/source
Michael Meeks
michael.meeks at collabora.com
Fri Nov 22 10:08:47 PST 2013
oox/source/core/contexthandler2.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f6e2d66c948ed8314d0c0043182a103956460ffc
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Fri Nov 22 18:06:44 2013 +0000
oox: avoid per element allocation and freeing of OUStringBuffers.
Change-Id: Ie4d4d7740ae002422f73a3bfc57e1fe1ad67e50f
diff --git a/oox/source/core/contexthandler2.cxx b/oox/source/core/contexthandler2.cxx
index 735d339..9ac94e8 100644
--- a/oox/source/core/contexthandler2.cxx
+++ b/oox/source/core/contexthandler2.cxx
@@ -38,8 +38,8 @@ struct ElementInfo
sal_Int32 mnElement; /// The element identifier.
bool mbTrimSpaces; /// True = trims leading/trailing spaces from text data.
- inline explicit ElementInfo() : mnElement( XML_TOKEN_INVALID ), mbTrimSpaces( false ) {}
- ElementInfo( sal_Int32 nElement ) : mnElement( nElement ), mbTrimSpaces(false) {}
+ inline explicit ElementInfo() : maChars( 0), mnElement( XML_TOKEN_INVALID ), mbTrimSpaces( false ) {}
+ ElementInfo( sal_Int32 nElement ) : maChars( 0 ), mnElement( nElement ), mbTrimSpaces(false) {}
};
// ============================================================================
More information about the Libreoffice-commits
mailing list