From 14505bb67eb671ebcb91c81cbefbbc1aab930b44 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 7 Apr 2015 16:18:28 +0200 Subject: loplugin:staticmethods Change-Id: I715374b531da2850434b2436633b6042ecb9ebe0 --- sw/source/ui/index/cnttab.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/ui/index') diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index 08decd16e133..6f99aa25cebd 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -691,7 +691,7 @@ SwAddStylesDlg_Impl::SwAddStylesDlg_Impl(vcl::Window* pParent, if (!aName.isEmpty()) { SvTreeListEntry* pEntry = m_pHeaderTree->First(); - while (pEntry && m_pHeaderTree->GetEntryText(pEntry, 0) != aName) + while (pEntry && SvTabListBox::GetEntryText(pEntry, 0) != aName) { pEntry = m_pHeaderTree->Next(pEntry); } @@ -722,7 +722,7 @@ IMPL_LINK_NOARG(SwAddStylesDlg_Impl, OkHdl) { if(!pStyleArr[nLevel].isEmpty()) pStyleArr[nLevel] += OUString(TOX_STYLE_DELIMITER); - pStyleArr[nLevel] += m_pHeaderTree->GetEntryText(pEntry, 0); + pStyleArr[nLevel] += SvTabListBox::GetEntryText(pEntry, 0); } pEntry = m_pHeaderTree->Next(pEntry); } -- cgit