summaryrefslogtreecommitdiff
path: root/sw/source/ui/uiview/viewmdi.cxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2002-07-04 13:18:27 +0000
committerOliver Specht <os@openoffice.org>2002-07-04 13:18:27 +0000
commitdadec96f02884fc8608502a731d9882738ca3778 (patch)
tree637c6b344c13280ca4683da38c0ab0df1ec6db07 /sw/source/ui/uiview/viewmdi.cxx
parent37436db0e658c4bc4583c1469bdbb64cc0324124 (diff)
#100988# don't call InvalidateBorder before the SwEditWin is registered
Diffstat (limited to 'sw/source/ui/uiview/viewmdi.cxx')
-rw-r--r--sw/source/ui/uiview/viewmdi.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/ui/uiview/viewmdi.cxx b/sw/source/ui/uiview/viewmdi.cxx
index 5befed13f80d..c829ff42fce2 100644
--- a/sw/source/ui/uiview/viewmdi.cxx
+++ b/sw/source/ui/uiview/viewmdi.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: viewmdi.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: os $ $Date: 2002-06-28 12:08:13 $
+ * last change: $Author: os $ $Date: 2002-07-04 14:18:27 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -307,7 +307,8 @@ int SwView::_CreateScrollbar( int bHori )
(*ppScrollbar)->EnableDrag( TRUE );
- InvalidateBorder();
+ if(GetWindow())
+ InvalidateBorder();
// Scrollbar muss nochmals getestet werden, da im InvalidateBorder u.U. der
// Scrollbar wieder geloescht wurde