diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-01-16 13:49:01 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-05-18 16:37:51 +0200 |
commit | 0ad8b3e0459227faac65602d62cc25c498765e95 (patch) | |
tree | f5b06f6f56d67c54411c65d790cb37ead746b158 /vcl | |
parent | 943d2f653d04b6fde9a46f447ab374ed1fd1299a (diff) |
Clang -Wsign-compare.
(cherry picked from commit b6b22079f4214fddaa39514a43446e6b3ce6fef0)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/generic/window/salframe.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx index 31888398e120..dca1609a727e 100644 --- a/vcl/unx/generic/window/salframe.cxx +++ b/vcl/unx/generic/window/salframe.cxx @@ -2129,7 +2129,7 @@ void X11SalFrame::SetScreenNumber( unsigned int nNewScreen ) Show( sal_True ); maGeometry.nDisplayScreenNumber = nNewScreen; } - else if( sal_Int32(nNewScreen) < GetDisplay()->GetXScreenCount() ) + else if( nNewScreen < GetDisplay()->GetXScreenCount() ) { bool bVisible = bMapped_; if( bVisible ) |