summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-17 19:10:06 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-17 20:32:10 +0300
commit045e8340a04350b192152bd4918669df9fdd648e (patch)
tree4cf8729ffb9db6ef7d199de0b76b4cf075be6727 /sc
parentWaE: potentially uninitialized local variable used (diff)
downloadcore-045e8340a04350b192152bd4918669df9fdd648e.tar.gz
core-045e8340a04350b192152bd4918669df9fdd648e.zip
WaE: unsafe mix of type 'bool' and type 'sal_Bool' in operation
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/XMLExportDatabaseRanges.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx
index d377b9150691..9fb61fa25b06 100644
--- a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx
+++ b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx
@@ -452,7 +452,7 @@ void ScXMLExportDatabaseRanges::WriteSortDescriptor(const uno::Sequence <beans::
bool bCaseSensitive(aSortFields[0].IsCaseSensitive);
for (i = 1; i < nSortFields; ++i)
{
- OSL_ENSURE(bCaseSensitive == aSortFields[i].IsCaseSensitive, "seems that it is now possible to have every field case sensitive");
+ OSL_ENSURE(bCaseSensitive == (bool) aSortFields[i].IsCaseSensitive, "seems that it is now possible to have every field case sensitive");
}
#endif
if (aSortFields[0].CollatorLocale.Language.getLength())