diff options
author | Pavel Janík <paveljanik@apache.org> | 2013-04-29 17:06:52 +0000 |
---|---|---|
committer | Pavel Janík <paveljanik@apache.org> | 2013-04-29 17:06:52 +0000 |
commit | 6c6903a997df3c4b556511269f5eb8936f8ef19c (patch) | |
tree | 2002e0817c2933097a98da798673ea6efe481898 /svx/source/xoutdev | |
parent | 3b3ee39f21b6111e52cb721d8aadcea84f319687 (diff) |
Cast unsigned constant to prevent compiler warning.
Notes
Notes:
prefer: c8dc73720883333a13187865cd0d69b64af6b4b5
Diffstat (limited to 'svx/source/xoutdev')
-rw-r--r-- | svx/source/xoutdev/xtable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/xoutdev/xtable.cxx b/svx/source/xoutdev/xtable.cxx index 2be67320c410..0f97ad497d04 100644 --- a/svx/source/xoutdev/xtable.cxx +++ b/svx/source/xoutdev/xtable.cxx @@ -264,7 +264,7 @@ void XPropertyList::Insert( XPropertyEntry* pEntry, long nIndex ) { const long nObjectCount(maContent.size()); - if(LIST_APPEND == nIndex || nIndex >= nObjectCount) + if(static_cast<long>(LIST_APPEND) == nIndex || nIndex >= nObjectCount) { maContent.push_back(pEntry); } |