sfx2/source/doc/objstor.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 3495f4817b80c3fc9846ed2bddfc492d39f01679 Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Jan 14 14:11:53 2013 +0100 Work around "may be used uninitialized" warnings Change-Id: Ib31ebaf6a6117689737705921a7af558257e8cd1 diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index d646e5f..059bf5b 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 ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits