summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-03-28 13:00:03 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-03-28 20:00:01 +0000
commit799824565b783ec0b2323bd609a0e69a70182ac1 (patch)
tree44d868afa5b1729f15c5c17e82fc85bf2d3c9a26 /sc
parent539470ebd5c47a7876ccc19df6110acacd477bb8 (diff)
fix too small loop var
Change-Id: Icaa64ac579a55f53fb1397e5eeee6dcc4c9d37cc Reviewed-on: https://gerrit.libreoffice.org/35802 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/gridwin_dbgutil.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/gridwin_dbgutil.cxx b/sc/source/ui/view/gridwin_dbgutil.cxx
index 517bbe08dd8f..54050a4287ee 100644
--- a/sc/source/ui/view/gridwin_dbgutil.cxx
+++ b/sc/source/ui/view/gridwin_dbgutil.cxx
@@ -96,8 +96,8 @@ void ScGridWindow::dumpGraphicInformation()
for (sal_uInt16 nPage = 0; nPage < nPageCount; ++nPage)
{
SdrPage* pPage = pDrawLayer->GetPage(nPage);
- sal_uInt16 nObjCount = pPage->GetObjCount();
- for (sal_uInt16 nObj = 0; nObj < nObjCount; ++nObj)
+ size_t nObjCount = pPage->GetObjCount();
+ for (size_t nObj = 0; nObj < nObjCount; ++nObj)
{
SdrObject* pObj = pPage->GetObj(nObj);
std::cout << "Graphic Object" << std::endl;