From ea3b8ab7899ee12672f6dc8b188a8744e45ca8e6 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Mon, 17 Jun 2013 22:26:38 +0200 Subject: cppcheck: fix some uninitMemberVar in svtools part Change-Id: Icee2501b2a33afddaa3d08186bb806acf785bf4c --- svtools/source/misc/embedhlp.cxx | 2 ++ svtools/source/svrtf/svparser.cxx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'svtools') diff --git a/svtools/source/misc/embedhlp.cxx b/svtools/source/misc/embedhlp.cxx index 7a3ce2447412..6a88fa1a7240 100644 --- a/svtools/source/misc/embedhlp.cxx +++ b/svtools/source/misc/embedhlp.cxx @@ -235,6 +235,7 @@ struct EmbeddedObjectRef_Impl awt::Size aDefaultSizeForChart_In_100TH_MM;//#i103460# charts do not necessaryly have an own size within ODF files, in this case they need to use the size settings from the surrounding frame, which is made available with this member EmbeddedObjectRef_Impl() : + xListener(0), pContainer(NULL), pGraphic(NULL), nViewAspect(embed::Aspects::MSOLE_CONTENT), @@ -246,6 +247,7 @@ struct EmbeddedObjectRef_Impl EmbeddedObjectRef_Impl( const EmbeddedObjectRef_Impl& r ) : mxObj(r.mxObj), + xListener(0), aPersistName(r.aPersistName), aMediaType(r.aMediaType), pContainer(r.pContainer), diff --git a/svtools/source/svrtf/svparser.cxx b/svtools/source/svrtf/svparser.cxx index 5f2bcba9750c..f56876efd7c6 100644 --- a/svtools/source/svrtf/svparser.cxx +++ b/svtools/source/svrtf/svparser.cxx @@ -42,7 +42,7 @@ struct SvParser_Impl rtl_TextToUnicodeContext hContext; SvParser_Impl() : - nSaveToken(0), hConv( 0 ), hContext( (rtl_TextToUnicodeContext)1 ) + nTokenValue(0), nToken(0), nSaveToken(0), hConv( 0 ), hContext( (rtl_TextToUnicodeContext)1 ) { } -- cgit