diff options
-rw-r--r-- | svx/source/sidebar/tools/Popup.cxx | 2 |
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); |