diff options
author | Caio B. Silva <caioboffo@gmail.com> | 2018-07-23 09:37:59 -0300 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-09-18 12:04:19 +0200 |
commit | a93c71a97975c0b3f8fceae86fa2bd598a9eae59 (patch) | |
tree | 1dad8928833bb7ff22f367a3d7fd5b5bad2bbcab /include/svtools | |
parent | c9afea8dad1cc5cfad3837a0a747a62496919af1 (diff) |
tdf#114441 Replacing sal_uLong with most appropriate integer types
Change-Id: I4ba636e9b882c0c0958420037768fd596fdecef9
Reviewed-on: https://gerrit.libreoffice.org/57845
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/ctrltool.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/svtools/ctrltool.hxx b/include/svtools/ctrltool.hxx index da7be4b3c770..6d9a1e4f764b 100644 --- a/include/svtools/ctrltool.hxx +++ b/include/svtools/ctrltool.hxx @@ -150,7 +150,7 @@ private: VclPtr<OutputDevice> mpDev2; std::vector<std::unique_ptr<ImplFontListNameInfo>> m_Entries; - SVT_DLLPRIVATE ImplFontListNameInfo* ImplFind( const OUString& rSearchName, sal_uLong* pIndex ) const; + SVT_DLLPRIVATE ImplFontListNameInfo* ImplFind( const OUString& rSearchName, sal_uInt32* pIndex ) const; SVT_DLLPRIVATE ImplFontListNameInfo* ImplFindByName( const OUString& rStr ) const; SVT_DLLPRIVATE void ImplInsertFonts(OutputDevice* pDev, bool bInsertData); @@ -198,19 +198,19 @@ class SVT_DLLPUBLIC FontSizeNames { private: const struct ImplFSNameItem* mpArray; - sal_uLong mnElem; + sal_Int32 mnElem; public: FontSizeNames( LanguageType eLanguage /* = LANGUAGE_DONTKNOW */ ); - sal_uLong Count() const { return mnElem; } + sal_Int32 Count() const { return mnElem; } bool IsEmpty() const { return !mnElem; } - long Name2Size( const OUString& ) const; - OUString Size2Name( long ) const; + sal_Int32 Name2Size( const OUString& ) const; + OUString Size2Name( sal_Int32 ) const; - OUString GetIndexName( sal_uLong nIndex ) const; - long GetIndexSize( sal_uLong nIndex ) const; + OUString GetIndexName( sal_Int32 nIndex ) const; + sal_Int32 GetIndexSize( sal_Int32 nIndex ) const; }; #endif // INCLUDED_SVTOOLS_CTRLTOOL_HXX |