diff options
author | Oliver Bolte <obo@openoffice.org> | 2009-09-07 07:48:12 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2009-09-07 07:48:12 +0000 |
commit | 89ff0da421a5a57e36e6fd97a3d9c69ad0107904 (patch) | |
tree | 1855206ee5d006b760302b264bc42baa0be923ed /vcl/source | |
parent | a3f1ad73fb8a8e84ee5ecd58b7f6a41460d09b49 (diff) |
CWS-TOOLING: integrate CWS c07v025_DEV300
2009-08-13 14:55:50 +0200 od r274947 : #b6863593# method <SwXPrintSettings::_getSingleValue(..)>
- handle <PrintProspect_RTL>, <TextPlaceholder> and <HiddenText>
2009-08-11 11:45:48 +0200 kz r274850 : #i10000# warning fixed
2009-08-10 10:35:07 +0200 od r274796 : #i103839#, #b6855246# method <SwTextShell::StateInsert(..)>
- do not call <SwCrsrShell::Pop(..)> with 1st parameter = <FALSE> in order to
avoid that the view jumps to the visible cursor.
2009-08-05 13:58:33 +0200 os r274663 : #b6863593# print options ProspectRTL, HiddenText, Placeholder added to SwXPrintSettings
2009-08-05 13:04:30 +0200 os r274652 : #b6858652# find linked sections/bookmarks case sensitively first
2009-08-05 09:04:23 +0200 hdu r274638 : #i104000# fix strikeout-X text decoration for printer-builtin fonts
2009-08-04 09:53:34 +0200 obo r274606 : #i103936# from CWS gciteratorfix (TL)
2009-08-04 09:30:55 +0200 obo r274602 : #b6796174# from CWS c07v023
2009-08-03 16:22:26 +0200 obo r274584 : #b6851994# fixes from CWS filepicker01
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/outdev3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx index 345dc162e67e..2aa062775be8 100644 --- a/vcl/source/gdi/outdev3.cxx +++ b/vcl/source/gdi/outdev3.cxx @@ -4518,7 +4518,7 @@ void OutputDevice::ImplDrawStrikeoutChar( long nBaseX, long nBaseY, SalLayout* pLayout = ImplLayout( aStrikeoutTest, 0, 4 ); if ( pLayout ) { - nStrikeoutWidth = (pLayout->GetTextWidth() + 2) / 4; + nStrikeoutWidth = (pLayout->GetTextWidth() + 2) / (4 * pLayout->GetUnitsPerPixel()); pLayout->Release(); if ( nStrikeoutWidth <= 0 ) // sanity check nStrikeoutWidth = 1; |