[Libreoffice-commits] core.git: sd/source
Stephan Bergmann
sbergman at redhat.com
Fri Feb 14 11:57:35 CET 2014
sd/source/core/drawdoc3.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e7aab255c1595c8cc54e0eab3d8d1059fb3d00f1
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Feb 14 11:56:11 2014 +0100
warning C4018: '<' : signed/unsigned mismatch
...at
for(sal_uInt32 p = nInsertPos; p < (nInsertPos + nBMSdPageCount); p++)
Change-Id: I7c81bc4e51f394c3f4d77bab4ed8a4ae9a35c83e
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx
index 03c0cfd..6735414 100644
--- a/sd/source/core/drawdoc3.cxx
+++ b/sd/source/core/drawdoc3.cxx
@@ -409,7 +409,7 @@ sal_Bool SdDrawDocument::InsertBookmarkAsPage(
}
const sal_uInt16 nSdPageCount = GetSdPageCount(PK_STANDARD);
- const sal_uInt16 nBMSdPageCount = pBookmarkDoc->GetSdPageCount(PK_STANDARD);
+ const sal_uInt32 nBMSdPageCount = pBookmarkDoc->GetSdPageCount(PK_STANDARD);
const sal_uInt16 nMPageCount = GetMasterPageCount();
if (nSdPageCount==0 || nBMSdPageCount==0 || nMPageCount==0)
More information about the Libreoffice-commits
mailing list