diff options
author | Sören Möller <soerenmoeller2001@gmail.com> | 2011-01-16 23:05:25 +0100 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-01-18 09:06:42 -0500 |
commit | 850a2174c4ea0dc1a19b1be3c70b2b8aabfb00c6 (patch) | |
tree | 30216b0815ad85514ae25fcce9d295e748ecc523 /sc/inc/funcdesc.hxx | |
parent | cc4d2283abcf65c47fedb69a18c7db9f2226e26b (diff) |
Replaced deprecated types in funcdesc
Replaced String with OUString, USHORT with sal_uInt16 and ULONG with sal_uInt32 in sc/inc/funcdesc.hxx and sc/source/core/funcdesc.cxx. Added a OUString version of FuncData::getParamDesc in sc/inc/callform.hxx and sc/source/tool/callform.cxx and used it in funcdesc. Translated some comments and changed some indentations on the way
Diffstat (limited to 'sc/inc/funcdesc.hxx')
-rw-r--r-- | sc/inc/funcdesc.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/funcdesc.hxx b/sc/inc/funcdesc.hxx index ecebacba2006..d105e885c1ca 100644 --- a/sc/inc/funcdesc.hxx +++ b/sc/inc/funcdesc.hxx @@ -221,7 +221,7 @@ public: ScFunctionList(); ~ScFunctionList(); - ULONG GetCount() const + sal_uInt32 GetCount() const { return aFunctionList.Count(); } const ScFuncDesc* First() @@ -230,7 +230,7 @@ public: const ScFuncDesc* Next() { return (const ScFuncDesc*) aFunctionList.Next(); } - const ScFuncDesc* GetFunction( ULONG nIndex ) const + const ScFuncDesc* GetFunction( sal_uInt32 nIndex ) const { return (const ScFuncDesc*) aFunctionList.GetObject( nIndex ); } xub_StrLen GetMaxFuncNameLen() const @@ -268,8 +268,8 @@ public: static ::rtl::OUString GetCategoryName(sal_uInt32 _nCategoryNumber ); const ScFuncDesc* Get( const ::rtl::OUString& rFName ) const; - const ScFuncDesc* Get( USHORT nFIndex ) const; - const ScFuncDesc* First( USHORT nCategory = 0 ) const; + const ScFuncDesc* Get( sal_uInt16 nFIndex ) const; + const ScFuncDesc* First( sal_uInt16 nCategory = 0 ) const; const ScFuncDesc* Next() const; // formula::IFunctionManager |