diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-10 12:52:10 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-10 14:03:34 +0200 |
commit | ce959ab7ce4c9577ac23953919781d842e6c32e5 (patch) | |
tree | 6f105039a14a37aa3734d928a97ea5f5d62f6ad3 /include/tools/resary.hxx | |
parent | 43135665bf9093c52f424069bcf83d50a93bdc0c (diff) |
mingw64: use the right integer sizes on win64
Change-Id: Idb263ad369d2dad4fe4de924f2b2404a0fcf62d3
Diffstat (limited to 'include/tools/resary.hxx')
-rw-r--r-- | include/tools/resary.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/tools/resary.hxx b/include/tools/resary.hxx index 515dd779120b..7337c3487378 100644 --- a/include/tools/resary.hxx +++ b/include/tools/resary.hxx @@ -33,7 +33,7 @@ private: struct ImplResStringItem { OUString m_aStr; - long m_nValue; + sal_IntPtr m_nValue; ImplResStringItem( const OUString& rStr, long nValue = 0 ) : m_aStr( rStr ), @@ -47,13 +47,13 @@ public: ResStringArray( const ResId& rResId ); ~ResStringArray(); - const OUString GetString( sal_uInt32 nIndex ) const + const OUString GetString( sal_uInt32 nIndex ) const { return (nIndex < m_aStrings.size()) ? m_aStrings[nIndex].m_aStr : OUString(); } - long GetValue( sal_uInt32 nIndex ) const + sal_IntPtr GetValue( sal_uInt32 nIndex ) const { return (nIndex < m_aStrings.size()) ? m_aStrings[nIndex].m_nValue : -1; } sal_uInt32 Count() const { return sal_uInt32(m_aStrings.size()); } - sal_uInt32 FindIndex( long nValue ) const; + sal_uInt32 FindIndex( sal_IntPtr nValue ) const; }; #endif |