summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svl/source/svdde/ddesvr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx
index 08894db00556..7e114c3d06ac 100644
--- a/svl/source/svdde/ddesvr.cxx
+++ b/svl/source/svdde/ddesvr.cxx
@@ -598,7 +598,7 @@ void DdeService::AddFormat( sal_uLong nFmt )
{
nFmt = DdeData::GetExternalFormat( nFmt );
for ( size_t i = 0, n = aFormats.size(); i < n; ++i )
- if ( aFormats[ i ] == nFmt )
+ if ( (sal_uLong) aFormats[ i ] == nFmt )
return;
aFormats.push_back( nFmt );
}
@@ -609,7 +609,7 @@ void DdeService::RemoveFormat( sal_uLong nFmt )
{
nFmt = DdeData::GetExternalFormat( nFmt );
for ( DdeFormats::iterator it = aFormats.begin(); it < aFormats.end(); ++it ) {
- if ( *it == nFmt ) {
+ if ( (sal_uLong) *it == nFmt ) {
aFormats.erase( it );
break;
}