summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuergen Funk <juergen.funk_ml@cib.de>2016-03-26 10:37:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-04-11 10:33:32 +0000
commit58bcea744ac4d9f73f055527369ef54cbc8f1a97 (patch)
tree13039c2455ca7388c7dd2170d8629577cb7e1fd7
parente9230b2b09a8dc0ea71263a1c321f4f63a222ac9 (diff)
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 <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/win/window/salframe.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index 63b96caf63f1..f04d923c0063 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;
}
}