summaryrefslogtreecommitdiff
path: root/vcl/win/source
diff options
context:
space:
mode:
authorStephan Schäfer <ssa@openoffice.org>2002-12-12 16:14:17 +0000
committerStephan Schäfer <ssa@openoffice.org>2002-12-12 16:14:17 +0000
commitf6600bdf943416f3ac34a69c81a4e3b42ff0567a (patch)
tree9862fe0bef5dc7e29ae0eb5639c6953007f4d9c4 /vcl/win/source
parente149bf5c87de0e2fd713967614944710d0091a9e (diff)
#103984# transform pos only when positioning required
Diffstat (limited to 'vcl/win/source')
-rw-r--r--vcl/win/source/window/salframe.cxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index 33efac514714..cdb80b19d49d 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: salframe.cxx,v $
*
- * $Revision: 1.88 $
+ * $Revision: 1.89 $
*
- * last change: $Author: ssa $ $Date: 2002-12-06 16:51:19 $
+ * last change: $Author: ssa $ $Date: 2002-12-12 17:14:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -166,6 +166,13 @@ extern "C" {
#define IMN_CLOSECANDIDATE 0x0004
#endif
+#ifdef DEBUG
+void MyOutputDebugString(const char *buffer)
+{
+ OutputDebugString( buffer );
+}
+#endif
+
// =======================================================================
BOOL SalFrame::mbInReparent = FALSE;
@@ -1348,7 +1355,7 @@ void SalFrame::SetPosSize( long nX, long nY, long nWidth, long nHeight,
nWidth = aWinRect.right - aWinRect.left + 1;
nHeight = aWinRect.bottom - aWinRect.top + 1;
- if ( ::GetParent( maFrameData.mhWnd ) )
+ if ( !(nPosSize & SWP_NOMOVE) && ::GetParent( maFrameData.mhWnd ) )
{
// --- RTL --- (mirror window pos)
RECT aParentRect;