summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kiviosdk/kivio_py_stencil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_py_stencil.cpp')
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_py_stencil.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_py_stencil.cpp b/kivio/kiviopart/kiviosdk/kivio_py_stencil.cpp
index 46526892..cc8eb0e3 100644
--- a/kivio/kiviopart/kiviosdk/kivio_py_stencil.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_py_stencil.cpp
@@ -606,19 +606,19 @@ KivioCollisionType KivioPyStencil::checkForCollision( KoPoint *pPoint, double )
int KivioPyStencil::resizeHandlePositions()
{
// Calculate the resize handle positions
- int tqmask = KIVIO_RESIZE_HANDLE_POSITION_ALL;
+ int mask = KIVIO_RESIZE_HANDLE_POSITION_ALL;
if( m_pProtection->at( kpWidth ) )
{
- tqmask &= ~(krhpNE | krhpNW | krhpSW | krhpSE | krhpE | krhpW);
+ mask &= ~(krhpNE | krhpNW | krhpSW | krhpSE | krhpE | krhpW);
}
if( m_pProtection->at( kpHeight) )
{
- tqmask &= ~(krhpNE | krhpNW | krhpSW | krhpSE | krhpN | krhpS);
+ mask &= ~(krhpNE | krhpNW | krhpSW | krhpSE | krhpN | krhpS);
}
- return tqmask;
+ return mask;
}