From d99b65c864cc3358238e4eac651f12a34d05e2d9 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Thu, 14 Sep 2017 16:57:06 +0200 Subject: Rename GetSelectEntryPos -> GetSelectedEntryPos Change-Id: I0bd4cb463575af843c72d9c8aaf91742203532a4 Reviewed-on: https://gerrit.libreoffice.org/42283 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- svx/source/dialog/rubydialog.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'svx/source/dialog/rubydialog.cxx') diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx index 73371cb0c588..682295b46fae 100644 --- a/svx/source/dialog/rubydialog.cxx +++ b/svx/source/dialog/rubydialog.cxx @@ -594,7 +594,7 @@ IMPL_LINK_NOARG(SvxRubyDialog, StylistHdl_Impl, Button*, void) IMPL_LINK(SvxRubyDialog, AdjustHdl_Impl, ListBox&, rBox, void) { AssertOneEntry(); - sal_Int16 nAdjust = rBox.GetSelectEntryPos(); + sal_Int16 nAdjust = rBox.GetSelectedEntryPos(); Sequence& aRubyValues = m_pImpl->GetRubyValues(); for (PropertyValues & rProps : aRubyValues) { @@ -611,7 +611,7 @@ IMPL_LINK(SvxRubyDialog, AdjustHdl_Impl, ListBox&, rBox, void) IMPL_LINK(SvxRubyDialog, PositionHdl_Impl, ListBox&, rBox, void) { AssertOneEntry(); - bool bAbove = !rBox.GetSelectEntryPos(); + bool bAbove = !rBox.GetSelectedEntryPos(); Sequence& aRubyValues = m_pImpl->GetRubyValues(); for (PropertyValues & rProps : aRubyValues) { @@ -629,7 +629,7 @@ IMPL_LINK_NOARG(SvxRubyDialog, CharStyleHdl_Impl, ListBox&, void) { AssertOneEntry(); OUString sStyleName; - if (LISTBOX_ENTRY_NOTFOUND != m_pCharStyleLB->GetSelectEntryPos()) + if (LISTBOX_ENTRY_NOTFOUND != m_pCharStyleLB->GetSelectedEntryPos()) sStyleName = *static_cast(m_pCharStyleLB->GetSelectEntryData()); Sequence& aRubyValues = m_pImpl->GetRubyValues(); for (PropertyValues & rProps : aRubyValues) @@ -801,7 +801,7 @@ void RubyPreview::Paint(vcl::RenderContext& rRenderContext, const tools::Rectang long nRubyWidth = rRenderContext.GetTextWidth(sRubyText); rRenderContext.SetFont(aSaveFont); - RubyAdjust nAdjust = (RubyAdjust)m_pParentDlg->m_pAdjustLB->GetSelectEntryPos(); + RubyAdjust nAdjust = (RubyAdjust)m_pParentDlg->m_pAdjustLB->GetSelectedEntryPos(); //use center if no adjustment is available if (nAdjust > RubyAdjust_INDENT_BLOCK) nAdjust = RubyAdjust_CENTER; @@ -817,7 +817,7 @@ void RubyPreview::Paint(vcl::RenderContext& rRenderContext, const tools::Rectang long nYBase = aWinSize.Height() * 3 / 4 - nTextHeight / 2; //use above also if no selection is set - bool bAbove = m_pParentDlg->m_pPositionLB->GetSelectEntryPos() != 1; + bool bAbove = m_pParentDlg->m_pPositionLB->GetSelectedEntryPos() != 1; if (!bAbove) { long nTmp = nYRuby; -- cgit