summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-05-30 10:49:59 +0000
committerOliver Bolte <obo@openoffice.org>2008-05-30 10:49:59 +0000
commit138ae3f26c5b40c586bff415b97bf05d8d037c8e (patch)
tree03adbc0ed581b688defeaceb91070dfd5b3cc331
parent3ca40fb8a2e8c805517b351ebd97c1385cfc92a3 (diff)
#i10000# compare signed unsigned warning
-rwxr-xr-xvcl/aqua/source/gdi/salgdiutils.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/aqua/source/gdi/salgdiutils.cxx b/vcl/aqua/source/gdi/salgdiutils.cxx
index ef965391b7c0..6966426744de 100755
--- a/vcl/aqua/source/gdi/salgdiutils.cxx
+++ b/vcl/aqua/source/gdi/salgdiutils.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: salgdiutils.cxx,v $
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
* This file is part of OpenOffice.org.
*
@@ -157,7 +157,7 @@ bool AquaSalGraphics::CheckContext()
const bool bXorEnabled = (mpXorEmulation && mpXorEmulation->IsEnabled());
// check if a new drawing context is needed (e.g. after a resize)
- if( (mnWidth != nWidth) || (mnHeight != nHeight) )
+ if( (unsigned(mnWidth) != nWidth) || (unsigned(mnHeight) != nHeight) )
{
mnWidth = nWidth;
mnHeight = nHeight;