summaryrefslogtreecommitdiff
path: root/svx/source/dialog/graphctl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/graphctl.cxx')
-rw-r--r--svx/source/dialog/graphctl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/graphctl.cxx b/svx/source/dialog/graphctl.cxx
index 22a4443e1cea..12920202fff6 100644
--- a/svx/source/dialog/graphctl.cxx
+++ b/svx/source/dialog/graphctl.cxx
@@ -463,7 +463,7 @@ void GraphCtrl::KeyInput( const KeyEvent& rKEvt )
else
{
// move handle with index nHandleIndex
- if(pHdl && (nX || nY))
+ if (nX || nY)
{
// now move the Handle (nX, nY)
Point aStartPoint(pHdl->GetPos());