diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2011-02-14 16:17:22 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2011-02-14 16:17:22 +0100 |
commit | 1fb042333fe6287756ff1fac11d18cd7c150730d (patch) | |
tree | 595de5d187177832ce656d7832af9dce9dce2d99 /svx/source/dialog/dlgctl3d.cxx | |
parent | 5b3e910e926c7dd1e8dcfe8e0a5c6cb5bd17480a (diff) | |
parent | cd0d6a5a6775f197fdb7e78b54c8133074a7a236 (diff) |
rebase to DEV300_m100
Diffstat (limited to 'svx/source/dialog/dlgctl3d.cxx')
-rw-r--r-- | svx/source/dialog/dlgctl3d.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/svx/source/dialog/dlgctl3d.cxx b/svx/source/dialog/dlgctl3d.cxx index 95c27a5dcec8..5f05d360007c 100644 --- a/svx/source/dialog/dlgctl3d.cxx +++ b/svx/source/dialog/dlgctl3d.cxx @@ -90,7 +90,7 @@ void Svx3DPreviewControl::Construct() { // Do never mirror the preview window. This explicitly includes right // to left writing environments. - EnableRTL (FALSE); + EnableRTL (sal_False); SetMapMode( MAP_100TH_MM ); // Model @@ -119,7 +119,7 @@ void Svx3DPreviewControl::Construct() double fH = rVolume.getHeight(); double fCamZ = rVolume.getMaxZ() + ((fW + fH) / 2.0); - rCamera.SetAutoAdjustProjection(FALSE); + rCamera.SetAutoAdjustProjection(sal_False); rCamera.SetViewWindow(- fW / 2, - fH / 2, fW, fH); basegfx::B3DPoint aLookAt; double fDefaultCamPosZ = mp3DView->GetDefaultCamPosZ(); @@ -387,7 +387,7 @@ void Svx3DLightControl::Construct2() double fH = rVolume.getHeight(); double fCamZ = rVolume.getMaxZ() + ((fW + fH) / 2.0); - rCamera.SetAutoAdjustProjection(FALSE); + rCamera.SetAutoAdjustProjection(sal_False); rCamera.SetViewWindow(- fW / 2, - fH / 2, fW, fH); basegfx::B3DPoint aLookAt; double fDefaultCamPosZ = mp3DView->GetDefaultCamPosZ(); @@ -1095,8 +1095,8 @@ void SvxLightCtl3D::CheckSelection() { double fHor, fVer; maLightControl.GetPosition(fHor, fVer); - maHorScroller.SetThumbPos( INT32(fHor * 100.0) ); - maVerScroller.SetThumbPos( 18000 - INT32((fVer + 90.0) * 100.0) ); + maHorScroller.SetThumbPos( sal_Int32(fHor * 100.0) ); + maVerScroller.SetThumbPos( 18000 - sal_Int32((fVer + 90.0) * 100.0) ); } } @@ -1115,8 +1115,8 @@ void SvxLightCtl3D::move( double fDeltaHor, double fDeltaVer ) return; maLightControl.SetPosition(fHor, fVer); - maHorScroller.SetThumbPos( INT32(fHor * 100.0) ); - maVerScroller.SetThumbPos( 18000 - INT32((fVer + 90.0) * 100.0) ); + maHorScroller.SetThumbPos( sal_Int32(fHor * 100.0) ); + maVerScroller.SetThumbPos( 18000 - sal_Int32((fVer + 90.0) * 100.0) ); if(maUserInteractiveChangeCallback.IsSet()) { @@ -1296,8 +1296,8 @@ IMPL_LINK( SvxLightCtl3D, InternalInteractiveChange, void*, EMPTYARG) double fHor, fVer; maLightControl.GetPosition(fHor, fVer); - maHorScroller.SetThumbPos( INT32(fHor * 100.0) ); - maVerScroller.SetThumbPos( 18000 - INT32((fVer + 90.0) * 100.0) ); + maHorScroller.SetThumbPos( sal_Int32(fHor * 100.0) ); + maVerScroller.SetThumbPos( 18000 - sal_Int32((fVer + 90.0) * 100.0) ); if(maUserInteractiveChangeCallback.IsSet()) { |