summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-05-10 15:06:14 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-05-10 15:06:14 +0000
commit7660182ddefc9766e877bdbbae877be171bb1afb (patch)
treed89ee0b129a0a3e4908701fa43cac1b1c7b3c74c /vcl/source
parent1a6fa44040bea1938798be64557728221cc41449 (diff)
INTEGRATION: CWS b2dnorm (1.198.36); FILE MERGED
2005/05/04 15:49:25 hdu 1.198.36.1: #120471# DrawWaveline needs to cope with lazy font setting
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/gdi/outdev3.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx
index 395f7da3a165..104c5694f326 100644
--- a/vcl/source/gdi/outdev3.cxx
+++ b/vcl/source/gdi/outdev3.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: outdev3.cxx,v $
*
- * $Revision: 1.198 $
+ * $Revision: 1.199 $
*
- * last change: $Author: rt $ $Date: 2005-04-01 12:22:54 $
+ * last change: $Author: rt $ $Date: 2005-05-10 16:06:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -5567,6 +5567,10 @@ void OutputDevice::DrawWaveLine( const Point& rStartPos, const Point& rEndPos,
if ( mbOutputClipped )
return;
+ if( mbNewFont )
+ if( !ImplNewFont() )
+ return;
+
Point aStartPt = ImplLogicToDevicePixel( rStartPos );
Point aEndPt = ImplLogicToDevicePixel( rEndPos );
long nStartX = aStartPt.X();