summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-06-20 13:26:09 -0500
committerEike Rathke <erack@redhat.com>2013-06-21 11:34:29 +0000
commit699180768bf600d646f8652c3fff886bcf052891 (patch)
tree35874c12260a686126bc43b816377c32d923f96e /svtools
parent0139e0b1cd4e4ac585417f0c71be10a419711b9d (diff)
coverity#707543 : Unitialized scalar variable
Change-Id: I601b8cd42932fcba9b98a5736faa9d38525b093a Reviewed-on: https://gerrit.libreoffice.org/4406 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/uno/unoiface.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx
index 658623f8ca53..a08b93f3d8b6 100644
--- a/svtools/source/uno/unoiface.cxx
+++ b/svtools/source/uno/unoiface.cxx
@@ -1505,6 +1505,11 @@ RMItemData SVTXRoadmap::GetRMItemData( const ::com::sun::star::container::Contai
aValue = xPropertySet->getPropertyValue(OUString( "Enabled" ));
aValue >>= aCurRMItemData.b_Enabled;
}
+ else
+ {
+ aCurRMItemData.b_Enabled = sal_False;
+ aCurRMItemData.n_ID = 0;
+ }
return aCurRMItemData;
}