summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-14 14:00:46 +0200
committerNoel Grandin <noel@peralex.com>2015-04-23 13:08:48 +0200
commit79ed057b955a8d23e8289b9a5898c8bdaebabbfa (patch)
tree0b512b13f7b59e12a44395ea50814fda15902f04 /sc
parent12ba9e3cad05a665aee2150ef831f0dbc92d7e2d (diff)
loplugin:staticmethods
Change-Id: I6207b475127099872c6f3764331006688129b673
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/miscdlgs/tabbgcolordlg.cxx6
-rw-r--r--sc/source/ui/unoobj/viewuno.cxx2
-rw-r--r--sc/source/ui/view/gridwin5.cxx2
3 files changed, 5 insertions, 5 deletions
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<ScDrawPage*>(pPV->GetPage())->RequestHelp( this, pDrView, rHEvt );
+ bDone = FmFormPage::RequestHelp( this, pDrView, rHEvt );
}
// Wenn QuickHelp fuer AutoFill angezeigt wird, nicht wieder wegnehmen lassen