diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-04 13:09:13 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-04 13:11:35 +0300 |
commit | 27be19bd8bba63d0186b7425f30fc323ecc5a925 (patch) | |
tree | 1b7a22c57d673d680f4255aedaa8a0fd60ad5d34 /svl | |
parent | deb6a43c1feadb285639709fb8883e509fadd3f1 (diff) |
WaE: '==' : signed/unsigned mismatch
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/svdde/ddesvr.cxx | 4 |
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; } |