Kaydet (Commit) aac58c62 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: loop index type 'unsigned int' is narrower than length type 'size_t'

Change-Id: I2e0999468686e8c5521b7342903df5a68f8648d0
üst f66ecf00
...@@ -1993,7 +1993,7 @@ SdrObject *ImpGetObjByName(SdrObjList *pObjList, OUString const& aObjName) ...@@ -1993,7 +1993,7 @@ SdrObject *ImpGetObjByName(SdrObjList *pObjList, OUString const& aObjName)
{ {
// scan the whole list // scan the whole list
size_t nObjCount = pObjList->GetObjCount(); 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); SdrObject *pCurObj = pObjList->GetObj(i);
if (pCurObj->GetName() == aObjName) { if (pCurObj->GetName() == aObjName) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment