summaryrefslogtreecommitdiff
path: root/unotools/source/config/syslocaleoptions.cxx
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2011-01-12 16:24:50 +0100
committerCarsten Driesner <cd@openoffice.org>2011-01-12 16:24:50 +0100
commit15e0ed81e377962c1f054d581e26d8038e50c73c (patch)
tree56b56c90dc5dd6cc24ce62dfddd4f589a2533aee /unotools/source/config/syslocaleoptions.cxx
parenta0602756a7bd259f6ee4e62161afe00298ba1d6c (diff)
removetooltypes01: #i112600# Exchange misleading sal_uIntPtr with sal_uLong in unotools
Diffstat (limited to 'unotools/source/config/syslocaleoptions.cxx')
-rwxr-xr-xunotools/source/config/syslocaleoptions.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/unotools/source/config/syslocaleoptions.cxx b/unotools/source/config/syslocaleoptions.cxx
index 491c17679839..64ea0816d210 100755
--- a/unotools/source/config/syslocaleoptions.cxx
+++ b/unotools/source/config/syslocaleoptions.cxx
@@ -88,7 +88,7 @@ class SvtSysLocaleOptions_Impl : public utl::ConfigItem
OUString m_aLocaleString; // en-US or de-DE or empty for SYSTEM
OUString m_aUILocaleString; // en-US or de-DE or empty for SYSTEM
OUString m_aCurrencyString; // USD-en-US or EUR-de-DE
- sal_uIntPtr m_nBlockedHint; // pending hints
+ sal_uLong m_nBlockedHint; // pending hints
sal_Bool m_bDecimalSeparator; //use decimal separator same as locale
sal_Bool m_bROLocale;
@@ -386,7 +386,7 @@ void SvtSysLocaleOptions_Impl::SetLocaleString( const OUString& rStr )
MakeRealLocale();
MsLangId::setConfiguredSystemLanguage( m_eRealLanguage );
SetModified();
- sal_uIntPtr nHint = SYSLOCALEOPTIONS_HINT_LOCALE;
+ sal_uLong nHint = SYSLOCALEOPTIONS_HINT_LOCALE;
if ( !m_aCurrencyString.getLength() )
nHint |= SYSLOCALEOPTIONS_HINT_CURRENCY;
NotifyListeners( nHint );
@@ -430,7 +430,7 @@ void SvtSysLocaleOptions_Impl::SetDecimalSeparatorAsLocale( sal_Bool bSet)
void SvtSysLocaleOptions_Impl::Notify( const Sequence< rtl::OUString >& seqPropertyNames )
{
- sal_uIntPtr nHint = 0;
+ sal_uLong nHint = 0;
Sequence< Any > seqValues = GetProperties( seqPropertyNames );
Sequence< sal_Bool > seqROStates = GetReadOnlyStates( seqPropertyNames );
sal_Int32 nCount = seqPropertyNames.getLength();