vcl/win/window/salframe.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 58bcea744ac4d9f73f055527369ef54cbc8f1a97
Author: Juergen Funk <juergen.funk...@cib.de>
Date:   Sat Mar 26 10:37:13 2016 +0100

    tdf#87944 COLOR-PICKER stays on wrong position.
    
    After this patch dab2582f05979cd99a5937cb95a387cfed70bb8d
    under windows always open on the wrong position
    (open in the middle of the application but not under the
    pushbutton)
    
    Change-Id: Ib245df6ccb2be768f7a12b638864d5c3cea1a390
    Reviewed-on: https://gerrit.libreoffice.org/23557
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index 63b96ca..f04d923 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -1310,6 +1310,9 @@ void WinSalFrame::SetPosSize( long nX, long nY, long 
nWidth, long nHeight,
 
                 nX = aPt.x;
                 nY = aPt.y;
+
+                // the position is set
+                mbDefPos = false;
             }
     }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to