[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - svx/source

Caolán McNamara caolanm at redhat.com
Fri Jul 26 09:27:24 PDT 2013


 svx/source/sidebar/tools/Popup.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 70f9d122ecfc24aed528881c9ec734f9d3bcbfb3
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jul 26 14:52:49 2013 +0100

    Resolves: fdo#67344 wrong relative menu position
    
    Change-Id: I4a0cc610cc3c6a9c4164a69d40a9b0230aa702a4
    (cherry picked from commit b11d022aeba5f981a9a3e4d8322ca5797f16944a)
    Reviewed-on: https://gerrit.libreoffice.org/5123
    Reviewed-by: Luboš Luňák <l.lunak at suse.cz>
    Tested-by: Luboš Luňák <l.lunak at suse.cz>

diff --git a/svx/source/sidebar/tools/Popup.cxx b/svx/source/sidebar/tools/Popup.cxx
index 8678eb6..36efa1b 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);
 


More information about the Libreoffice-commits mailing list