summaryrefslogtreecommitdiff
path: root/vcl/source/window/mnemonic.cxx
diff options
context:
space:
mode:
authorEike Rathke <er@openoffice.org>2000-10-29 16:21:28 +0000
committerEike Rathke <er@openoffice.org>2000-10-29 16:21:28 +0000
commit81977773877c80bd54999f70ecb5a2fe31fa513e (patch)
treedba202da8f0be5895a97a400d3102b199ad6fb6a /vcl/source/window/mnemonic.cxx
parent4d15562c0e3f02f17cdecac29ea6933b2cced6ce (diff)
i18n API moved from com.sun.star.lang to com.sun.star.i18n
Diffstat (limited to 'vcl/source/window/mnemonic.cxx')
-rw-r--r--vcl/source/window/mnemonic.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/vcl/source/window/mnemonic.cxx b/vcl/source/window/mnemonic.cxx
index ea1b7b0cea29..23379c1e7f58 100644
--- a/vcl/source/window/mnemonic.cxx
+++ b/vcl/source/window/mnemonic.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: mnemonic.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:05:40 $
+ * last change: $Author: er $ $Date: 2000-10-29 17:21:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -68,8 +68,8 @@
#include <unohelp.hxx>
-#ifndef _COM_SUN_STAR_LANG_XCHARACTERCLASSIFICATION_HPP_
-#include <com/sun/star/lang/XCharacterClassification.hpp>
+#ifndef _COM_SUN_STAR_I18N_XCHARACTERCLASSIFICATION_HPP_
+#include <com/sun/star/i18n/XCharacterClassification.hpp>
#endif
using namespace ::com::sun::star;
@@ -128,7 +128,7 @@ sal_Unicode ImplMnemonicGenerator::ImplFindMnemonic( const XubString& rKey )
void ImplMnemonicGenerator::RegisterMnemonic( const XubString& rKey )
{
const ::com::sun::star::lang::Locale& rLocale = Application::GetSettings().GetLocale();
- uno::Reference < lang::XCharacterClassification > xCharClass = GetCharClass();
+ uno::Reference < i18n::XCharacterClassification > xCharClass = GetCharClass();
XubString aKey = xCharClass->toUpper( rKey, 0, rKey.Len(), rLocale );
@@ -170,7 +170,7 @@ BOOL ImplMnemonicGenerator::CreateMnemonic( XubString& rKey )
return FALSE;
const ::com::sun::star::lang::Locale& rLocale = Application::GetSettings().GetLocale();
- uno::Reference < lang::XCharacterClassification > xCharClass = GetCharClass();
+ uno::Reference < i18n::XCharacterClassification > xCharClass = GetCharClass();
XubString aKey = xCharClass->toUpper( rKey, 0, rKey.Len(), rLocale );
@@ -250,7 +250,7 @@ BOOL ImplMnemonicGenerator::CreateMnemonic( XubString& rKey )
return bChanged;
}
-uno::Reference< lang::XCharacterClassification > ImplMnemonicGenerator::GetCharClass()
+uno::Reference< i18n::XCharacterClassification > ImplMnemonicGenerator::GetCharClass()
{
if ( !xCharClass.is() )
xCharClass = vcl::unohelper::CreateCharacterClassification();