summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-18 18:02:33 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-18 18:27:15 +0300
commitc4648a4c0f5920f8f070bbbe8f18b165b6b70802 (patch)
tree0a30b62f6a997646b49479da5c6d636b2ae801ec
parent52974709b0ddf70e7dce5f85bae2bd1108f64002 (diff)
WaE: '!=' : unsafe mix of type 'bool' and type 'sal_Bool' in operation
-rw-r--r--sc/source/ui/view/tabcont.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx
index 676c806da038..18ec9bbecae3 100644
--- a/sc/source/ui/view/tabcont.cxx
+++ b/sc/source/ui/view/tabcont.cxx
@@ -364,7 +364,7 @@ void ScTabControl::UpdateStatus()
{
bModified = false; // Selektion
for (i=0; i<nMaxCnt && !bModified; i++)
- if ( rMark.GetTableSelect(i) != IsPageSelected(static_cast<sal_uInt16>(i)+1) )
+ if ( rMark.GetTableSelect(i) != (bool) IsPageSelected(static_cast<sal_uInt16>(i)+1) )
bModified = sal_True;
// #i99576# the following loop is mis-optimized on unxsoli4 and the reason