From aac58c62758e0915b3a590700abecffb4d2c25de Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 20 Sep 2015 16:42:53 +0300 Subject: WaE: loop index type 'unsigned int' is narrower than length type 'size_t' Change-Id: I2e0999468686e8c5521b7342903df5a68f8648d0 --- svx/source/svdraw/svdotext.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx') diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx index 9705624e664f..aa06f1c77a68 100644 --- a/svx/source/svdraw/svdotext.cxx +++ b/svx/source/svdraw/svdotext.cxx @@ -1993,7 +1993,7 @@ SdrObject *ImpGetObjByName(SdrObjList *pObjList, OUString const& aObjName) { // scan the whole list size_t nObjCount = pObjList->GetObjCount(); - for (unsigned i = 0; i < nObjCount; i++) { + for (size_t i = 0; i < nObjCount; i++) { SdrObject *pCurObj = pObjList->GetObj(i); if (pCurObj->GetName() == aObjName) { -- cgit