From 79ed057b955a8d23e8289b9a5898c8bdaebabbfa Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 14 Apr 2015 14:00:46 +0200 Subject: loplugin:staticmethods Change-Id: I6207b475127099872c6f3764331006688129b673 --- sc/source/ui/miscdlgs/tabbgcolordlg.cxx | 6 +++--- sc/source/ui/unoobj/viewuno.cxx | 2 +- sc/source/ui/view/gridwin5.cxx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sc') diff --git a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx index 985821eb0bff..4b30c539971b 100644 --- a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx +++ b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx @@ -47,7 +47,7 @@ ScTabBgColorDlg::ScTabBgColorDlg(vcl::Window* pParent, const OUString& rTitle, { get(m_pTabBgColorSet, "colorset"); m_pTabBgColorSet->SetDialog(this); - m_pTabBgColorSet->SetColCount(m_pTabBgColorSet->getColumnCount()); + m_pTabBgColorSet->SetColCount(SvxColorValueSet::getColumnCount()); get(m_pBtnOk, "ok"); SetHelpId( sHelpId ); @@ -95,9 +95,9 @@ void ScTabBgColorDlg::FillColorValueSets_Impl() } //lock down a preferred size - const sal_uInt32 nColCount = m_pTabBgColorSet->getColumnCount(); + const sal_uInt32 nColCount = SvxColorValueSet::getColumnCount(); const sal_uInt32 nRowCount(ceil(double(nColorCount)/nColCount)); - const sal_uInt32 nLength = m_pTabBgColorSet->getEntryEdgeLength(); + const sal_uInt32 nLength = SvxColorValueSet::getEntryEdgeLength(); Size aSize(m_pTabBgColorSet->CalcWindowSizePixel(Size(nLength, nLength), nColCount, nRowCount)); m_pTabBgColorSet->set_width_request(aSize.Width()+8); m_pTabBgColorSet->set_height_request(aSize.Height()+8); diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx index 1d5647143def..45e062197488 100644 --- a/sc/source/ui/unoobj/viewuno.cxx +++ b/sc/source/ui/unoobj/viewuno.cxx @@ -328,7 +328,7 @@ uno::Reference< form::runtime::XFormController > SAL_CALL ScViewPaneBase::getFor SdrView* pSdrView( NULL ); FmFormShell* pFormShell( NULL ); if ( lcl_prepareFormShellCall( pViewShell, nPane, pFormShell, pWindow, pSdrView ) ) - xController = pFormShell->GetFormController( _Form, *pSdrView, *pWindow ); + xController = FmFormShell::GetFormController( _Form, *pSdrView, *pWindow ); return xController; } diff --git a/sc/source/ui/view/gridwin5.cxx b/sc/source/ui/view/gridwin5.cxx index 4640370f06b9..5fa3255a534c 100644 --- a/sc/source/ui/view/gridwin5.cxx +++ b/sc/source/ui/view/gridwin5.cxx @@ -426,7 +426,7 @@ void ScGridWindow::RequestHelp(const HelpEvent& rHEvt) SdrPageView* pPV = pDrView->GetSdrPageView(); OSL_ENSURE( pPV, "SdrPageView* ist NULL" ); if (pPV) - bDone = static_cast(pPV->GetPage())->RequestHelp( this, pDrView, rHEvt ); + bDone = FmFormPage::RequestHelp( this, pDrView, rHEvt ); } // Wenn QuickHelp fuer AutoFill angezeigt wird, nicht wieder wegnehmen lassen -- cgit