summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/editeng/svxacorr.cxx14
-rw-r--r--svx/source/items/svxfont.cxx14
2 files changed, 14 insertions, 14 deletions
diff --git a/svx/source/editeng/svxacorr.cxx b/svx/source/editeng/svxacorr.cxx
index 53572430d8d5..c131fadc0372 100644
--- a/svx/source/editeng/svxacorr.cxx
+++ b/svx/source/editeng/svxacorr.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svxacorr.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: jp $ $Date: 2000-10-18 11:45:13 $
+ * last change: $Author: er $ $Date: 2000-10-29 17:11:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -172,12 +172,12 @@ inline int IsWordDelim( const sal_Unicode c )
inline int IsLowerLetter( sal_Int32 nCharType )
{
return CharClass::isLetterType( nCharType ) &&
- 0 == ( ::com::sun::star::lang::KCharacterType::UPPER & nCharType);
+ 0 == ( ::com::sun::star::i18n::KCharacterType::UPPER & nCharType);
}
inline int IsUpperLetter( sal_Int32 nCharType )
{
return CharClass::isLetterType( nCharType ) &&
- 0 == ( ::com::sun::star::lang::KCharacterType::LOWER & nCharType);
+ 0 == ( ::com::sun::star::i18n::KCharacterType::LOWER & nCharType);
}
BOOL lcl_IsSymbolChar( CharClass& rCC, const String& rTxt,
@@ -189,9 +189,9 @@ BOOL lcl_IsSymbolChar( CharClass& rCC, const String& rTxt,
sal_Int32 nCharType = rCC.getCharacterType( rTxt, nStt );
#endif
if( 0 == (
- ( ::com::sun::star::lang::KCharacterType::DIGIT |
- ::com::sun::star::lang::KCharacterType::ALPHA |
- ::com::sun::star::lang::KCharacterType::LETTER )
+ ( ::com::sun::star::i18n::KCharacterType::DIGIT |
+ ::com::sun::star::i18n::KCharacterType::ALPHA |
+ ::com::sun::star::i18n::KCharacterType::LETTER )
& rCC.getCharacterType( rTxt, nStt )) )
return TRUE;
}
diff --git a/svx/source/items/svxfont.cxx b/svx/source/items/svxfont.cxx
index 255957f93996..6d2ac0251f4c 100644
--- a/svx/source/items/svxfont.cxx
+++ b/svx/source/items/svxfont.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svxfont.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: sj $ $Date: 2000-10-20 17:43:18 $
+ * last change: $Author: er $ $Date: 2000-10-29 17:11:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -76,8 +76,8 @@
#ifndef _UNO_LINGU_HXX
#include <unolingu.hxx>
#endif
-#ifndef _COM_SUN_STAR_LANG_KCHARACTERTYPE_HPP_
-#include <com/sun/star/lang/KCharacterType.hpp>
+#ifndef _COM_SUN_STAR_I18N_KCHARACTERTYPE_HPP_
+#include <com/sun/star/i18n/KCharacterType.hpp>
#endif
#pragma hdrstop
@@ -317,9 +317,9 @@ void SvxFont::DoOnCapitals(SvxDoCapitals &rDo, const xub_StrLen nPartLen) const
while( nPos < nTxtLen )
{
sal_Int32 nCharacterType = aCharClass.getCharacterType( aCharString, 0 );
- if ( nCharacterType & ::com::sun::star::lang::KCharacterType::LOWER )
+ if ( nCharacterType & ::com::sun::star::i18n::KCharacterType::LOWER )
break;
- if ( ! ( nCharacterType & ::com::sun::star::lang::KCharacterType::UPPER ) )
+ if ( ! ( nCharacterType & ::com::sun::star::i18n::KCharacterType::UPPER ) )
break;
aCharString = rTxt.GetChar( ++nPos + nIdx );
}
@@ -332,7 +332,7 @@ void SvxFont::DoOnCapitals(SvxDoCapitals &rDo, const xub_StrLen nPartLen) const
while( nPos < nTxtLen )
{
sal_uInt32 nCharacterType = aCharClass.getCharacterType( aCharString, 0 );
- if ( ! ( nCharacterType & ::com::sun::star::lang::KCharacterType::LOWER ) )
+ if ( ! ( nCharacterType & ::com::sun::star::i18n::KCharacterType::LOWER ) )
break;
if ( CH_BLANK == aCharString )
break;