diff options
author | Michael Stahl <mst@openoffice.org> | 2009-10-30 17:42:00 +0100 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2009-10-30 17:42:00 +0100 |
commit | c635b740e00d1762c905cdd787fdb31753dab932 (patch) | |
tree | a903d86fdca2cb0638ce98ad437bd714151b6b3b /sw/source/ui/misc/glshell.cxx | |
parent | 04070854472609cbc7b0f5e3419a8bba0ef79153 (diff) |
#i105295#: fix various uninitialized variables reported by valgrind in:
SwTxtFormatter::CtorInitTxtFormatter(), SwArrowPortion::SwArrowPortion(),
SwAccessiblePage::SwAccessiblePage(), SwXShape::_AdjustPositionProperties(),
SwFrm::SwFrm(), SwGlosDocShell::SwGlosDocShell(),
SwXPrintSettings::_getSingleValue()
Diffstat (limited to 'sw/source/ui/misc/glshell.cxx')
-rw-r--r-- | sw/source/ui/misc/glshell.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/misc/glshell.cxx b/sw/source/ui/misc/glshell.cxx index a79e67eec31c..402d6306784c 100644 --- a/sw/source/ui/misc/glshell.cxx +++ b/sw/source/ui/misc/glshell.cxx @@ -154,10 +154,10 @@ BOOL lcl_Save( SwWrtShell& rSh, const String& rGroupName, --------------------------------------------------------------------*/ -SwGlosDocShell::SwGlosDocShell( sal_Bool bNewShow) - : - SwDocShell( bShow ? SFX_CREATE_MODE_STANDARD : SFX_CREATE_MODE_INTERNAL ) - ,bShow ( bNewShow ) +SwGlosDocShell::SwGlosDocShell(sal_Bool bNewShow) + : SwDocShell( (bNewShow) + ? SFX_CREATE_MODE_STANDARD : SFX_CREATE_MODE_INTERNAL ) + , bShow ( bNewShow ) { SetHelpId(SW_GLOSDOCSHELL); } |