diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-12 11:55:54 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-12 11:55:54 +0000 |
commit | 58139179008f20b5464bdf220cdd825465bdf1f9 (patch) | |
tree | 2557c2df08fc2a8201f5bc38224ac20e910c2aaf /svx/source/items/svxfont.cxx | |
parent | 9f1f53e65a1e069669196ea41ff67b790ad50cc2 (diff) |
INTEGRATION: CWS sb59 (1.10.62); FILE MERGED
2006/08/03 13:51:50 cl 1.10.62.1: removed compiler warnings
Diffstat (limited to 'svx/source/items/svxfont.cxx')
-rw-r--r-- | svx/source/items/svxfont.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/items/svxfont.cxx b/svx/source/items/svxfont.cxx index 1169b5f81e20..253b6419c62d 100644 --- a/svx/source/items/svxfont.cxx +++ b/svx/source/items/svxfont.cxx @@ -4,9 +4,9 @@ * * $RCSfile: svxfont.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: obo $ $Date: 2006-09-17 05:23:38 $ + * last change: $Author: obo $ $Date: 2006-10-12 12:55:54 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -185,7 +185,7 @@ XubString SvxFont::CalcCaseMap( const XubString &rTxt ) const // Bug: wenn das Attribut mitten im Wort beginnt. BOOL bBlank = TRUE; - for( UINT32 i = 0; i < aTxt.Len(); ++i ) + for( USHORT i = 0; i < aTxt.Len(); ++i ) { if( sal_Unicode(' ') == aTxt.GetChar(i) || sal_Unicode('\t') == aTxt.GetChar(i) ) bBlank = TRUE; @@ -827,7 +827,7 @@ void SvxDoDrawCapital::SetSpace() void SvxDoDrawCapital::Do( const XubString &_rTxt, const xub_StrLen _nIdx, const xub_StrLen _nLen, const BOOL bUpper) { - BYTE nProp; + BYTE nProp = 0; Size aPartSize; // Einstellen der gewuenschten Fonts |