summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-06-17 22:26:38 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-06-17 22:26:51 +0200
commitea3b8ab7899ee12672f6dc8b188a8744e45ca8e6 (patch)
tree7f95f3b5526d95d7820ce694f14eda9245da5ca4 /svtools
parentace2106744a486af4ee8ff90b4b084553bf016ac (diff)
cppcheck: fix some uninitMemberVar in svtools part
Change-Id: Icee2501b2a33afddaa3d08186bb806acf785bf4c
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/misc/embedhlp.cxx2
-rw-r--r--svtools/source/svrtf/svparser.cxx2
2 files changed, 3 insertions, 1 deletions
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 )
{
}