summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-19 10:25:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-19 10:25:48 +0000
commit0597e4be3eb1be2987db28507055126bc5a26421 (patch)
treebd327242251daeadf6fbe5ec59735c067b4af69a /sfx2
parent944d1fd5ca97969bc2cf45376737813c588f6637 (diff)
WaE: -Werror=maybe-uninitialized
Change-Id: I310099e8e12fb6440e98fbca97af512a4f872ac0
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/bastyp/fltfnc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx
index 78d1897c8a55..e759875e1c3a 100644
--- a/sfx2/source/bastyp/fltfnc.cxx
+++ b/sfx2/source/bastyp/fltfnc.cxx
@@ -998,7 +998,7 @@ void SfxFilterContainer::ReadSingleFilter_Impl(
}
else if ( lFilterProperties[nFilterProperty].Name == "Flags" )
{
- sal_Int32 nTmp;
+ sal_Int32 nTmp(0);
lFilterProperties[nFilterProperty].Value >>= nTmp;
nFlags = static_cast<SfxFilterFlags>(nTmp);
}