summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-11-06 13:45:32 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-11-06 13:45:32 +0100
commit395427c3809e079cf69fa580a40ca9832835e213 (patch)
treec22a6b4ae995fd8767354fa109425d2c861bbbff /forms
parente7be53a227f52d055dbce58398526775feac279b (diff)
#i10000#
Diffstat (limited to 'forms')
-rw-r--r--forms/source/helper/commandimageprovider.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/helper/commandimageprovider.cxx b/forms/source/helper/commandimageprovider.cxx
index 1da9b7348587..7240a7073943 100644
--- a/forms/source/helper/commandimageprovider.cxx
+++ b/forms/source/helper/commandimageprovider.cxx
@@ -149,8 +149,8 @@ namespace frm
if ( m_xModuleImageManager.is() )
aModImages = m_xModuleImageManager->getImages( nImageType, _rCommandURLs );
- ENSURE_OR_THROW( aDocImages.getLength() == nCommandCount, "illegal array size returned by getImages (document image manager)" );
- ENSURE_OR_THROW( aModImages.getLength() == nCommandCount, "illegal array size returned by getImages (module image manager)" );
+ ENSURE_OR_THROW( (size_t)aDocImages.getLength() == nCommandCount, "illegal array size returned by getImages (document image manager)" );
+ ENSURE_OR_THROW( (size_t)aModImages.getLength() == nCommandCount, "illegal array size returned by getImages (module image manager)" );
for ( size_t i=0; i<nCommandCount; ++i )
{