summaryrefslogtreecommitdiff
path: root/psprint
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-08-25 14:36:18 +0000
committerKurt Zenker <kz@openoffice.org>2005-08-25 14:36:18 +0000
commitf8eb46cedcfd1ef60a1a026f9fa42b2045b84109 (patch)
tree8a2f893ec7431d8eb116a223f4ea0b09a81ad110 /psprint
parent37a0aa5d6f1cd9616043a5545276e1466b7ab9c3 (diff)
INTEGRATION: CWS gslpatches5 (1.23.82); FILE MERGED
2005/08/05 12:32:12 pl 1.23.82.1: #i52932# optimize if statement
Diffstat (limited to 'psprint')
-rw-r--r--psprint/source/printergfx/text_gfx.cxx14
1 files changed, 9 insertions, 5 deletions
diff --git a/psprint/source/printergfx/text_gfx.cxx b/psprint/source/printergfx/text_gfx.cxx
index 9315202222df..e7fc31432dea 100644
--- a/psprint/source/printergfx/text_gfx.cxx
+++ b/psprint/source/printergfx/text_gfx.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: text_gfx.cxx,v $
*
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
- * last change: $Author: obo $ $Date: 2004-03-17 10:52:41 $
+ * last change: $Author: kz $ $Date: 2005-08-25 15:36:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -136,9 +136,13 @@ static int getVerticalDeltaAngle( sal_Unicode nChar )
( nChar >= 0xff00 && nChar < 0xff64 )
)
{
- if( nChar == 0x2010 || nChar == 0x2015 ||
- nChar == 0x2016 || nChar == 0x2026 ||
- ( nChar >= 0x3008 && nChar < 0x3019 && nChar != 0x3012 ) ||
+ /* #i52932# remember:
+ nChar == 0x2010 || nChar == 0x2015
+ nChar == 0x2016 || nChar == 0x2026
+
+ are nAngle = 0 also, but already handled in the first if
+ */
+ if( ( nChar >= 0x3008 && nChar < 0x3019 && nChar != 0x3012 ) ||
nChar == 0xff3b || nChar == 0xff3d ||
(nChar >= 0xff6b && nChar < 0xff64 ) ||
nChar == 0xffe3