summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/sallayout.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-05-03 15:35:28 +0000
committerRüdiger Timm <rt@openoffice.org>2006-05-03 15:35:28 +0000
commit46fea99a71d42ebd64afd6e2a8a0c49019caab55 (patch)
treea03e1352873461bbddf40764449ab6ec3b24bd7d /vcl/source/gdi/sallayout.cxx
parent7df0fbc88753b8166914f43d97e4f58a135eb375 (diff)
INTEGRATION: CWS vcl58 (1.77.26); FILE MERGED
2006/04/26 09:19:49 hdu 1.77.26.1: #i64743# enable MultiSalLayout::AdjustLayout for level 1 as well
Diffstat (limited to 'vcl/source/gdi/sallayout.cxx')
-rwxr-xr-xvcl/source/gdi/sallayout.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index bc54493333f4..e963d9d74dac 100755
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: sallayout.cxx,v $
*
- * $Revision: 1.77 $
+ * $Revision: 1.78 $
*
- * last change: $Author: vg $ $Date: 2006-04-07 15:32:42 $
+ * last change: $Author: rt $ $Date: 2006-05-03 16:35:28 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1561,7 +1561,7 @@ void MultiSalLayout::AdjustLayout( ImplLayoutArgs& rArgs )
for( n = 0; n < nLevel; ++n )
maFallbackRuns[n].ResetPos();
int nActiveCharPos = nCharPos[0];
- while( nValid[0] && (nLevel > 1))
+ while( nValid[0] && (nLevel > 0))
{
// find best fallback level
for( n = 0; n < nLevel; ++n )