summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaio B. Silva <caioboffo@gmail.com>2018-07-23 09:37:59 -0300
committerMichael Stahl <Michael.Stahl@cib.de>2018-09-18 12:04:19 +0200
commita93c71a97975c0b3f8fceae86fa2bd598a9eae59 (patch)
tree1dad8928833bb7ff22f367a3d7fd5b5bad2bbcab /framework
parentc9afea8dad1cc5cfad3837a0a747a62496919af1 (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 'framework')
-rw-r--r--framework/source/uielement/fontsizemenucontroller.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/uielement/fontsizemenucontroller.cxx b/framework/source/uielement/fontsizemenucontroller.cxx
index 6dd31f3ea1ac..a2c7f049caac 100644
--- a/framework/source/uielement/fontsizemenucontroller.cxx
+++ b/framework/source/uielement/fontsizemenucontroller.cxx
@@ -175,11 +175,11 @@ void FontSizeMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu > co
if ( pAry == FontList::GetStdSizeAry() )
{
// for scalable fonts all font size names
- sal_uLong nCount = aFontSizeNames.Count();
- for( sal_uLong i = 0; i < nCount; i++ )
+ sal_Int32 nCount = aFontSizeNames.Count();
+ for( sal_Int32 i = 0; i < nCount; i++ )
{
OUString aSizeName = aFontSizeNames.GetIndexName( i );
- long nSize = aFontSizeNames.GetIndexSize( i );
+ sal_Int32 nSize = aFontSizeNames.GetIndexSize( i );
m_pHeightArray[nPos] = nSize;
nPos++; // Id is nPos+1
pVCLPopupMenu->InsertItem( nPos, aSizeName, MenuItemBits::RADIOCHECK | MenuItemBits::AUTOCHECK );