summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-31 16:58:58 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-09-01 10:34:18 +0200
commit578dc3477011e4bdcaf703533c1def9d55000de4 (patch)
treead7c181a072f02e8668b5f70b1963b03190be65d /reportdesign
parent262ab496955582341e1f383c6eff9a0bb37dd9d7 (diff)
Fix typo in code
It passed "make check" on Linux Change-Id: I3482e32e3ce4a7ebfa04f9d54e2ab23c164f50c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101808 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/report/ReportController.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx
index c23bac87250a..9ada654efac8 100644
--- a/reportdesign/source/ui/report/ReportController.cxx
+++ b/reportdesign/source/ui/report/ReportController.cxx
@@ -2225,7 +2225,7 @@ void SAL_CALL OReportController::disposing( const lang::EventObject& Source )
}
-static sal_uInt16 lcl_getNonVisbleGroupsBefore( const uno::Reference< report::XGroups>& _xGroups
+static sal_uInt16 lcl_getNonVisibleGroupsBefore( const uno::Reference< report::XGroups>& _xGroups
,sal_Int32 _nGroupPos
,::std::function<bool(OGroupHelper *)> const & _pGroupMemberFunction)
{
@@ -2253,7 +2253,7 @@ void OReportController::groupChange( const uno::Reference< report::XGroup>& _xGr
if ( _sPropName == PROPERTY_HEADERON )
{
nPosition = m_xReportDefinition->getPageHeaderOn() ? (m_xReportDefinition->getReportHeaderOn() ? 2 : 1) : (m_xReportDefinition->getReportHeaderOn() ? 1 : 0);
- nPosition += (static_cast<sal_uInt16>(_nGroupPos) - lcl_getNonVisbleGroupsBefore(m_xReportDefinition->getGroups(),_nGroupPos,pMemFun));
+ nPosition += (static_cast<sal_uInt16>(_nGroupPos) - lcl_getNonVisibleGroupsBefore(m_xReportDefinition->getGroups(),_nGroupPos,pMemFun));
bHandle = true;
}
else if ( _sPropName == PROPERTY_FOOTERON )
@@ -2267,7 +2267,7 @@ void OReportController::groupChange( const uno::Reference< report::XGroup>& _xGr
if ( m_xReportDefinition->getReportFooterOn() )
--nPosition;
sColor = DBGROUPFOOTER;
- nPosition -= (static_cast<sal_uInt16>(_nGroupPos) - lcl_getNonVisbleGroupsBefore(m_xReportDefinition->getGroups(),_nGroupPos,pMemFun));
+ nPosition -= (static_cast<sal_uInt16>(_nGroupPos) - lcl_getNonVisibleGroupsBefore(m_xReportDefinition->getGroups(),_nGroupPos,pMemFun));
if ( !_bShow )
--nPosition;
bHandle = true;