diff options
author | Rohan Kumar <rohankanojia420@gmail.com> | 2016-03-07 22:19:36 +0530 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2016-04-05 10:15:45 +0000 |
commit | 901d04d3965ed73696586de06c6890e79299f266 (patch) | |
tree | ca85db3688d3a440c56c804f9875ed2040ac8e4d /svx/source/sdr | |
parent | d6411207bd83b34b4d6c6fd68cd41d3005228b05 (diff) |
tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals
I replaced OSL_DEBUG_LEVEL > 1 with OSL_DEBUG_LEVEL > 0 in order
to reduce debug levels. In some places i also used SAL_INFO(..)
and SAL_WARN(..) statements to replace their deprecated OSL_
counterparts
Change-Id: I73ecc20ffd654501b16820e3bf748f1bcbcdab79
Reviewed-on: https://gerrit.libreoffice.org/23004
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'svx/source/sdr')
-rw-r--r-- | svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx index bd06604dee86..c89f60a97d93 100644 --- a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx @@ -854,7 +854,7 @@ namespace sdr { namespace contact { const OutputDevice& rPageViewDevice( impl_getOutputDevice_throw() ); m_aZoomLevelNormalization = rPageViewDevice.GetInverseViewTransformation(); - #if OSL_DEBUG_LEVEL > 1 + #if OSL_DEBUG_LEVEL > 0 ::basegfx::B2DVector aScale, aTranslate; double fRotate, fShearX; m_aZoomLevelNormalization.decompose( aScale, aTranslate, fRotate, fShearX ); @@ -866,7 +866,7 @@ namespace sdr { namespace contact { aScaleNormalization.set( 1, 1, (double)aCurrentDeviceMapMode.GetScaleY() ); m_aZoomLevelNormalization *= aScaleNormalization; - #if OSL_DEBUG_LEVEL > 1 + #if OSL_DEBUG_LEVEL > 0 m_aZoomLevelNormalization.decompose( aScale, aTranslate, fRotate, fShearX ); #endif } @@ -1545,7 +1545,7 @@ namespace sdr { namespace contact { ::drawinglayer::primitive2d::Primitive2DContainer LazyControlCreationPrimitive2D::get2DDecomposition( const ::drawinglayer::geometry::ViewInformation2D& _rViewInformation ) const { - #if OSL_DEBUG_LEVEL > 1 + #if OSL_DEBUG_LEVEL > 0 ::basegfx::B2DVector aScale, aTranslate; double fRotate, fShearX; _rViewInformation.getObjectToViewTransformation().decompose( aScale, aTranslate, fRotate, fShearX ); @@ -1558,7 +1558,7 @@ namespace sdr { namespace contact { ::drawinglayer::primitive2d::Primitive2DContainer LazyControlCreationPrimitive2D::create2DDecomposition( const ::drawinglayer::geometry::ViewInformation2D& _rViewInformation ) const { - #if OSL_DEBUG_LEVEL > 1 + #if OSL_DEBUG_LEVEL > 0 ::basegfx::B2DVector aScale, aTranslate; double fRotate, fShearX; _rViewInformation.getObjectToViewTransformation().decompose( aScale, aTranslate, fRotate, fShearX ); @@ -1710,7 +1710,7 @@ namespace sdr { namespace contact { if ( m_pImpl->hasControl() ) { const ::drawinglayer::geometry::ViewInformation2D& rViewInformation( GetObjectContact().getViewInformation2D() ); - #if OSL_DEBUG_LEVEL > 1 + #if OSL_DEBUG_LEVEL > 0 ::basegfx::B2DVector aScale, aTranslate; double fRotate, fShearX; rViewInformation.getObjectToViewTransformation().decompose( aScale, aTranslate, fRotate, fShearX ); |