summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-26 14:52:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-26 14:53:21 +0100
commitb11d022aeba5f981a9a3e4d8322ca5797f16944a (patch)
treef097e78244a678eb00d0328300fdc7808cc66560
parent959e00cb9ca0d6891671226e88e96aedf5e0de46 (diff)
Resolves: fdo#67344 wrong relative menu position
Change-Id: I4a0cc610cc3c6a9c4164a69d40a9b0230aa702a4
-rw-r--r--svx/source/sidebar/tools/Popup.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sidebar/tools/Popup.cxx b/svx/source/sidebar/tools/Popup.cxx
index 8678eb6f54ed..36efa1b952dd 100644
--- a/svx/source/sidebar/tools/Popup.cxx
+++ b/svx/source/sidebar/tools/Popup.cxx
@@ -67,7 +67,7 @@ void Popup::Show (ToolBox& rToolBox)
{
mpContainer->SetSizePixel(mpControl->GetOutputSizePixel());
- const Point aPos (mpParent->OutputToScreenPixel(rToolBox.GetPosPixel()));
+ const Point aPos (rToolBox.GetParent()->OutputToScreenPixel(rToolBox.GetPosPixel()));
const Size aSize (rToolBox.GetSizePixel());
const Rectangle aRect (aPos, aSize);