diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-14 16:50:25 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-21 12:44:00 +0200 |
commit | b649e5bf1d3f0a11fb0c2fdf6fa08329529ce6fb (patch) | |
tree | bd6937a0ece320c9545774dd5c9a68c68d04769e /svx/source/fmcomp/gridcell.cxx | |
parent | 06ce312f79cb0871c0b110ba4bff16f5aaa0f538 (diff) |
Rename GetSelectEntry -> GetSelectedEntry
Change-Id: Ibb7d8c59c0e61b0e87455bd78f241d8691dd9dce
Reviewed-on: https://gerrit.libreoffice.org/42282
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'svx/source/fmcomp/gridcell.cxx')
-rw-r--r-- | svx/source/fmcomp/gridcell.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index 9c16503bd11e..7b5ca399335d 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -2677,7 +2677,7 @@ void DbFilterField::PaintCell(OutputDevice& rDev, const tools::Rectangle& rRect) DbCellControl::PaintCell( rDev, rRect ); break; case FormComponentType::LISTBOX: - rDev.DrawText(rRect, static_cast<ListBox*>(m_pWindow.get())->GetSelectEntry(), nStyle); + rDev.DrawText(rRect, static_cast<ListBox*>(m_pWindow.get())->GetSelectedEntry(), nStyle); break; default: rDev.DrawText(rRect, m_aText, nStyle); @@ -4171,7 +4171,7 @@ OUString SAL_CALL FmXListBoxCell::getSelectedItem() if (m_pBox) { UpdateFromColumn(); - aItem = m_pBox->GetSelectEntry(); + aItem = m_pBox->GetSelectedEntry(); } return aItem; @@ -4190,7 +4190,7 @@ css::uno::Sequence<OUString> SAL_CALL FmXListBoxCell::getSelectedItems() const sal_Int32 nSelEntries = m_pBox->GetSelectEntryCount(); aSeq = css::uno::Sequence<OUString>( nSelEntries ); for ( sal_Int32 n = 0; n < nSelEntries; ++n ) - aSeq.getArray()[n] = m_pBox->GetSelectEntry( n ); + aSeq.getArray()[n] = m_pBox->GetSelectedEntry( n ); } return aSeq; } @@ -4308,7 +4308,7 @@ IMPL_LINK_NOARG(FmXListBoxCell, OnDoubleClick, ListBox&, void) css::awt::ActionEvent aEvent; aEvent.Source = *this; - aEvent.ActionCommand = m_pBox->GetSelectEntry(); + aEvent.ActionCommand = m_pBox->GetSelectedEntry(); while( aIt.hasMoreElements() ) static_cast< css::awt::XActionListener *>(aIt.next())->actionPerformed( aEvent ); |