summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-14 11:56:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-14 11:57:07 +0100
commite7aab255c1595c8cc54e0eab3d8d1059fb3d00f1 (patch)
treeef3e78b5d6e963132c9a93d29076fb46c62c7af0 /sd
parentd3031bc6ba82ed118aa27bc5e6a2143a1376fb03 (diff)
warning C4018: '<' : signed/unsigned mismatch
...at for(sal_uInt32 p = nInsertPos; p < (nInsertPos + nBMSdPageCount); p++) Change-Id: I7c81bc4e51f394c3f4d77bab4ed8a4ae9a35c83e
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/drawdoc3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx
index 03c0cfdf33ee..6735414e06b9 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)