diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-26 10:26:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-26 16:29:14 +0100 |
commit | 42bcbee2e6c71c766054bfd786d85302293b5b99 (patch) | |
tree | 14d4dc212272f0d173bf21b687eca4541d2552cd /svx | |
parent | a7fcb3ed07f535ebbd4e74b423fb6ccbb47e78cb (diff) |
clang: Result of operation is garbage or undefined
Change-Id: I49f58ae6a7c046af4c3de8d35219ffe2e4ba8f20
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/dlgctl3d.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/dlgctl3d.cxx b/svx/source/dialog/dlgctl3d.cxx index f912768db75c..bb155c3691ff 100644 --- a/svx/source/dialog/dlgctl3d.cxx +++ b/svx/source/dialog/dlgctl3d.cxx @@ -1075,7 +1075,7 @@ void SvxLightCtl3D::CheckSelection() if(bSelectionValid) { - double fHor, fVer; + double fHor(0.0), fVer(0.0); maLightControl.GetPosition(fHor, fVer); maHorScroller.SetThumbPos( sal_Int32(fHor * 100.0) ); maVerScroller.SetThumbPos( 18000 - sal_Int32((fVer + 90.0) * 100.0) ); @@ -1084,7 +1084,7 @@ void SvxLightCtl3D::CheckSelection() void SvxLightCtl3D::move( double fDeltaHor, double fDeltaVer ) { - double fHor, fVer; + double fHor(0.0), fVer(0.0); maLightControl.GetPosition(fHor, fVer); fHor += fDeltaHor; @@ -1275,7 +1275,7 @@ IMPL_LINK_NOARG(SvxLightCtl3D, ButtonPress) IMPL_LINK_NOARG(SvxLightCtl3D, InternalInteractiveChange) { - double fHor, fVer; + double fHor(0.0), fVer(0.0); maLightControl.GetPosition(fHor, fVer); maHorScroller.SetThumbPos( sal_Int32(fHor * 100.0) ); |