diff options
Diffstat (limited to 'lib/kformula/basicelement.cc')
-rw-r--r-- | lib/kformula/basicelement.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kformula/basicelement.cc b/lib/kformula/basicelement.cc index bbe6f453..da961df3 100644 --- a/lib/kformula/basicelement.cc +++ b/lib/kformula/basicelement.cc @@ -80,11 +80,11 @@ FormulaElement* BasicElement::formula() * Returns the element the point is in. */ BasicElement* BasicElement::goToPos( FormulaCursor*, bool&, - const LuPixelPoint& point, const LuPixelPoint& tqparentOrigin ) + const LuPixelPoint& point, const LuPixelPoint& parentOrigin ) { - luPixel x = point.x() - (tqparentOrigin.x() + getX()); + luPixel x = point.x() - (parentOrigin.x() + getX()); if ((x >= 0) && (x < getWidth())) { - luPixel y = point.y() - (tqparentOrigin.y() + getY()); + luPixel y = point.y() - (parentOrigin.y() + getY()); if ((y >= 0) && (y < getHeight())) { return this; } |