[Libreoffice-commits] core.git: sc/source
Stephan Bergmann
sbergman at redhat.com
Tue Feb 26 23:35:18 PST 2013
sc/source/ui/dbgui/sortkeydlg.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c607d6436566c23c0dc814f6b86949ad5bfeb808
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Feb 27 08:34:50 2013 +0100
warning C4805: != : unsafe mix of bool and sal_Bool
Change-Id: I374845ff45788b762d0bbe97782d44c834c565ce
diff --git a/sc/source/ui/dbgui/sortkeydlg.cxx b/sc/source/ui/dbgui/sortkeydlg.cxx
index 18026e3..006dad5 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);
}
More information about the Libreoffice-commits
mailing list