summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-02-27 08:34:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-02-27 08:34:50 +0100
commitc607d6436566c23c0dc814f6b86949ad5bfeb808 (patch)
treefe2e5ac65005a70b703f4357607bd6a2bdacd1d9 /sc
parent632148df3c771684d431007839e651e55ff96d06 (diff)
warning C4805: != : unsafe mix of bool and sal_Bool
Change-Id: I374845ff45788b762d0bbe97782d44c834c565ce
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/dbgui/sortkeydlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/sortkeydlg.cxx b/sc/source/ui/dbgui/sortkeydlg.cxx
index 18026e316389..006dad53bbb1 100644
--- a/sc/source/ui/dbgui/sortkeydlg.cxx
+++ b/sc/source/ui/dbgui/sortkeydlg.cxx
@@ -128,7 +128,7 @@ void ScSortKeyCtrl::checkAutoVScroll()
return;
if (nBits & WB_AUTOVSCROLL)
{
- bool bShow = m_rVertScroll.GetRangeMax() > m_rVertScroll.GetVisibleSize();
+ sal_Bool bShow = m_rVertScroll.GetRangeMax() > m_rVertScroll.GetVisibleSize();
if (bShow != m_rVertScroll.IsVisible())
m_rVertScroll.Show(bShow);
}