diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-12-21 10:07:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-12-21 13:27:54 +0100 |
commit | 6ba8d6533081dab96c00695dd7a908e0f7bcf164 (patch) | |
tree | 505d219228119239b22f708b8cbad22e2494a499 /oox | |
parent | 89eb22881c40545d6e4cbea96a8cf607c8ea6722 (diff) |
WaE: Wmaybe-uninitialized
Change-Id: I0817e3239c44745905947c99d3e66819c42fd661
Reviewed-on: https://gerrit.libreoffice.org/65524
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/core/filterbase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/core/filterbase.cxx b/oox/source/core/filterbase.cxx index 9b52bff85f84..ea9fdcf47c0c 100644 --- a/oox/source/core/filterbase.cxx +++ b/oox/source/core/filterbase.cxx @@ -442,7 +442,7 @@ void SAL_CALL FilterBase::initialize( const Sequence< Any >& rArgs ) } else if (rVal.Name == "Flags") { - sal_Int32 nFlags; + sal_Int32 nFlags(0); rVal.Value >>= nFlags; mxImpl->mbExportTemplate = bool(static_cast<SfxFilterFlags>(nFlags) & SfxFilterFlags::TEMPLATE); } |