summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-01-14 14:11:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-01-14 14:11:53 +0100
commit3495f4817b80c3fc9846ed2bddfc492d39f01679 (patch)
tree2b4a3d6b8960019ae912ad40855e07f8910506df /sfx2
parent155600869800a0b51f9787b8a1879d3c680342c3 (diff)
Work around "may be used uninitialized" warnings
Change-Id: Ib31ebaf6a6117689737705921a7af558257e8cd1
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objstor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index d646e5f13ab0..059bf5b20eb6 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -2873,8 +2873,8 @@ sal_uInt16 SfxObjectShell::GetHiddenInformationState( sal_uInt16 nStates )
sal_Int16 SfxObjectShell::QueryHiddenInformation( HiddenWarningFact eFact, Window* pParent )
{
sal_Int16 nRet = RET_YES;
- sal_uInt16 nResId = 0;
- SvtSecurityOptions::EOption eOption;
+ sal_uInt16 nResId = sal_uInt16();
+ SvtSecurityOptions::EOption eOption = SvtSecurityOptions::EOption();
switch ( eFact )
{