summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-05 21:07:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-05 21:11:50 +0100
commit880762357ea158d4875047abff5f14e0b224a30c (patch)
tree59be157a2276d11b58574e354acad8830b9de924 /unotools
parent473183aad3295719feec0a25f36955b8a5446fc5 (diff)
coverity#708566 Uninitialized scalar field
Change-Id: I4a9c3faa194ae0885dc27571cc14c4c8cee8cb0f
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/ucbhelper/tempfile.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/unotools/source/ucbhelper/tempfile.cxx b/unotools/source/ucbhelper/tempfile.cxx
index 9585639c67e0..4821714576cf 100644
--- a/unotools/source/ucbhelper/tempfile.cxx
+++ b/unotools/source/ucbhelper/tempfile.cxx
@@ -54,9 +54,11 @@ struct TempFile_Impl
SvStream* pStream;
bool bIsDirectory;
- TempFile_Impl()
- : pStream(0)
- {}
+ TempFile_Impl()
+ : pStream(0)
+ , bIsDirectory(false)
+ {
+ }
};
OUString getParentName( const OUString& aFileName )