diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-08-07 22:30:46 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-08-16 21:52:29 +0200 |
commit | bfa5e2f27631282db3f0c68e964fdf9f93dd7ffb (patch) | |
tree | 7ae004cf5fec26bbb365a32c01c8579902d797cb /svx | |
parent | 74bccf73fd6d83145a750e1532da708c57c4df79 (diff) |
Just copy the boolean value
Change-Id: I158f4e9eddf7ea666613d56a79d014dd3cbf9931
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdhdl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx index 269a22dc9f19..9a0234e67dcc 100644 --- a/svx/source/svdraw/svdhdl.cxx +++ b/svx/source/svdraw/svdhdl.cxx @@ -923,7 +923,7 @@ void SdrHdl::onMouseLeave() SdrHdlColor::SdrHdlColor(const Point& rRef, Color aCol, const Size& rSize, bool bLum) : SdrHdl(rRef, HDL_COLR), aMarkerSize(rSize), - bUseLuminance(bLum ? 1 : 0) + bUseLuminance(bLum) { if(IsUseLuminance()) aCol = GetLuminance(aCol); @@ -2053,7 +2053,7 @@ void SdrHdlList::SetMoveOutside(bool bOn) if(bMoveOutside != bOn) { // remember new value - bMoveOutside = bOn ? 1 : 0; + bMoveOutside = bOn; // propagate change to IAOs for(size_t i=0; i<GetHdlCount(); ++i) @@ -2071,7 +2071,7 @@ void SdrHdlList::SetRotateShear(bool bOn) void SdrHdlList::SetDistortShear(bool bOn) { - bDistortShear = bOn ? 1 : 0; + bDistortShear = bOn; } SdrHdl* SdrHdlList::RemoveHdl(size_t nNum) |