summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-09-14 17:09:01 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-09-25 10:54:53 +0200
commitb9a8ac48d7a57f5dcb8dfa9c0400fb9e977c4bf8 (patch)
tree98cabff542158e60984653acbb7514b68f466799 /sfx2
parent83de03e077d219c881626de43960ae4756284371 (diff)
Rename GetSelectEntryData -> GetSelectedEntryData
Change-Id: Ia6402f6d2c978cbd5557052a43e9728ca9e11173 Reviewed-on: https://gerrit.libreoffice.org/42285 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/newhelp.cxx6
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx6
2 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index 6063e8064b5c..f9f9dd022ab6 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -1083,7 +1083,7 @@ void SearchTabPage_Impl::SetDoubleClickHdl( const Link<ListBox&,void>& rLink )
OUString SearchTabPage_Impl::GetSelectedEntry() const
{
OUString aRet;
- OUString* pData = static_cast<OUString*>(m_pResultsLB->GetSelectEntryData());
+ OUString* pData = static_cast<OUString*>(m_pResultsLB->GetSelectedEntryData());
if ( pData )
aRet = *pData;
return aRet;
@@ -1329,7 +1329,7 @@ void BookmarksTabPage_Impl::SetDoubleClickHdl( const Link<ListBox&,void>& rLink
OUString BookmarksTabPage_Impl::GetSelectedEntry() const
{
OUString aRet;
- OUString* pData = static_cast<OUString*>(m_pBookmarksBox->GetSelectEntryData());
+ OUString* pData = static_cast<OUString*>(m_pBookmarksBox->GetSelectedEntryData());
if ( pData )
aRet = *pData;
return aRet;
@@ -1569,7 +1569,7 @@ IMPL_LINK_NOARG(SfxHelpIndexWindow_Impl, InitHdl, Timer *, void)
IMPL_LINK_NOARG(SfxHelpIndexWindow_Impl, SelectFactoryHdl, Timer *, void)
{
- OUString* pFactory = static_cast<OUString*>(m_pActiveLB->GetSelectEntryData());
+ OUString* pFactory = static_cast<OUString*>(m_pActiveLB->GetSelectedEntryData());
if ( pFactory )
{
SetFactory( pFactory->toAsciiLowerCase(), false );
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 9a32d2b1780a..1a84fb241fc4 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -1554,7 +1554,7 @@ void CustomPropertiesWindow::dispose()
IMPL_LINK(CustomPropertiesWindow, TypeHdl, ListBox&, rListBox, void)
{
CustomPropertiesTypeBox* pBox = static_cast<CustomPropertiesTypeBox*>(&rListBox);
- long nType = reinterpret_cast<long>( pBox->GetSelectEntryData() );
+ long nType = reinterpret_cast<long>( pBox->GetSelectedEntryData() );
CustomPropertyLine* pLine = pBox->GetLine();
pLine->m_aValueEdit->Show( (CUSTOM_TYPE_TEXT == nType) || (CUSTOM_TYPE_NUMBER == nType) );
pLine->m_aDateField->Show( (CUSTOM_TYPE_DATE == nType) || (CUSTOM_TYPE_DATETIME == nType) );
@@ -1626,7 +1626,7 @@ bool CustomPropertiesWindow::IsLineValid( CustomPropertyLine* pLine ) const
bool bIsValid = true;
pLine->m_bTypeLostFocus = false;
long nType = reinterpret_cast<long>(
- pLine->m_aTypeBox->GetSelectEntryData() );
+ pLine->m_aTypeBox->GetSelectedEntryData() );
OUString sValue = pLine->m_aValueEdit->GetText();
if ( sValue.isEmpty() )
return true;
@@ -1889,7 +1889,7 @@ Sequence< beans::PropertyValue > CustomPropertiesWindow::GetCustomProperties() c
{
aPropertiesSeq[i].Name = sPropertyName;
long nType = reinterpret_cast<long>(
- pLine->m_aTypeBox->GetSelectEntryData() );
+ pLine->m_aTypeBox->GetSelectedEntryData() );
if ( CUSTOM_TYPE_NUMBER == nType )
{
double nValue = 0;