summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 17:52:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 17:54:35 +0200
commit887b3a35628b349e7934f2ae7c220a1cc17c3e63 (patch)
tree3fc519fc86fe3a44de3d21233450d54c7e397dea /sw/source/ui/misc
parent6b8440134f4a8fa05450cdd492942e92c1f75803 (diff)
loplugin:staticcall
Change-Id: I26e1e0f66dad5ed4e8351fc7509449b312559166
Diffstat (limited to 'sw/source/ui/misc')
-rw-r--r--sw/source/ui/misc/insfnote.cxx4
-rw-r--r--sw/source/ui/misc/num.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/misc/insfnote.cxx b/sw/source/ui/misc/insfnote.cxx
index 93ac3107d689..c96807725bff 100644
--- a/sw/source/ui/misc/insfnote.cxx
+++ b/sw/source/ui/misc/insfnote.cxx
@@ -191,7 +191,7 @@ SwInsFootNoteDlg::SwInsFootNoteDlg(Window *pParent, SwWrtShell &rShell, bool bEd
m_pPrevBT->SetClickHdl(LINK(this, SwInsFootNoteDlg, NextPrevHdl));
m_pNextBT->SetClickHdl(LINK(this, SwInsFootNoteDlg, NextPrevHdl));
- rSh.SetCareWin(this);
+ SwViewShell::SetCareWin(this);
if (bEdit)
{
@@ -204,7 +204,7 @@ SwInsFootNoteDlg::SwInsFootNoteDlg(Window *pParent, SwWrtShell &rShell, bool bEd
SwInsFootNoteDlg::~SwInsFootNoteDlg()
{
- rSh.SetCareWin(0);
+ SwViewShell::SetCareWin(0);
if (bEdit)
rSh.ResetSelect(0, false);
diff --git a/sw/source/ui/misc/num.cxx b/sw/source/ui/misc/num.cxx
index fc4831177d83..9973c2d5a340 100644
--- a/sw/source/ui/misc/num.cxx
+++ b/sw/source/ui/misc/num.cxx
@@ -364,7 +364,7 @@ void SwNumPositionTabPage::ActivatePage(const SfxItemSet& )
{
const SfxPoolItem* pItem;
sal_uInt16 nTmpNumLvl =
- pOutlineDlg ? pOutlineDlg->GetActNumLevel() : 0;
+ pOutlineDlg ? SwOutlineTabDialog::GetActNumLevel() : 0;
const SfxItemSet* pExampleSet = GetTabDialog()->GetExampleSet();
if(pExampleSet && pExampleSet->GetItemState(FN_PARAM_NUM_PRESET, false, &pItem))
{