summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Janík <paveljanik@apache.org>2012-08-16 10:05:11 +0000
committerPavel Janík <paveljanik@apache.org>2012-08-16 10:05:11 +0000
commit5f0f155fd0c6a27abe876fb38ba4f4bc5c3571db (patch)
treeb2623cb77d4f2ab0445c98a494dbbabea0dde25d
parentb24737fc55e797d03002d44a1fa325a101617c55 (diff)
Use proper type to prevent WaE issues.
Notes
-rw-r--r--svtools/source/filter/wmf/enhwmf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/filter/wmf/enhwmf.cxx b/svtools/source/filter/wmf/enhwmf.cxx
index 65779adb6ba2..4b2ae4508a86 100644
--- a/svtools/source/filter/wmf/enhwmf.cxx
+++ b/svtools/source/filter/wmf/enhwmf.cxx
@@ -1290,7 +1290,7 @@ sal_Bool EnhWMFReader::ReadEnhWMF()
*pWMF >> nTmp32;
*pWMF >> nOffset;
- for ( sal_Int32 i = 0; i < (nOffset - 20)/4; i ++ )
+ for ( sal_uInt32 i = 0; i < (nOffset - 20)/4; i ++ )
{
*pWMF >> nTmp32;
}