From f4910a27d333fac865bb498896b624fb3bbd12d5 Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Sat, 29 Mar 2014 22:26:55 +0100 Subject: [PATCH] sal_uInt16 to sal_Int32 Change-Id: I278f325925717bcb8bc45afacd6dbf442f0eefbe --- sw/source/ui/fmtui/tmpdlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx index 956840dd7639..10a3e55527ef 100644 --- a/sw/source/ui/fmtui/tmpdlg.cxx +++ b/sw/source/ui/fmtui/tmpdlg.cxx @@ -530,7 +530,7 @@ void SwTemplateDlg::PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) ::FillCharStyleListBox(rCharFmtLB, pDocShell); std::vector aList; - for(sal_uInt16 j = 0; j < rCharFmtLB.GetEntryCount(); j++) + for(sal_Int32 j = 0; j < rCharFmtLB.GetEntryCount(); j++) aList.push_back( rCharFmtLB.GetEntry(j) ); aSet.Put( SfxStringListItem( SID_CHAR_FMT_LIST_BOX,&aList ) ) ;