diff options
Diffstat (limited to 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/checklbx.cxx | 4 | ||||
-rw-r--r-- | svx/source/dialog/ctredlin.cxx | 6 | ||||
-rw-r--r-- | svx/source/dialog/fontlb.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/frmdirlbox.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/langbox.cxx | 6 | ||||
-rw-r--r-- | svx/source/dialog/papersizelistbox.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/rubydialog.cxx | 10 | ||||
-rw-r--r-- | svx/source/dialog/srchdlg.cxx | 8 | ||||
-rw-r--r-- | svx/source/dialog/txencbox.cxx | 2 |
9 files changed, 21 insertions, 21 deletions
diff --git a/svx/source/dialog/checklbx.cxx b/svx/source/dialog/checklbx.cxx index ac3a32f5e2e3..cb2b94e8a17e 100644 --- a/svx/source/dialog/checklbx.cxx +++ b/svx/source/dialog/checklbx.cxx @@ -79,7 +79,7 @@ void SvxCheckListBox::SelectEntryPos( sal_uLong nPos ) } -sal_uLong SvxCheckListBox::GetSelectEntryPos() const +sal_uLong SvxCheckListBox::GetSelectedEntryPos() const { SvTreeListEntry* pEntry = GetCurEntry(); @@ -158,7 +158,7 @@ void SvxCheckListBox::ToggleCheckButton( SvTreeListEntry* pEntry ) if ( !IsSelected( pEntry ) ) Select( pEntry ); else - CheckEntryPos( GetSelectEntryPos(), !IsChecked( GetSelectEntryPos() ) ); + CheckEntryPos( GetSelectedEntryPos(), !IsChecked( GetSelectedEntryPos() ) ); } } diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx index 8e56390c7984..aba6e7abe925 100644 --- a/svx/source/dialog/ctredlin.cxx +++ b/svx/source/dialog/ctredlin.cxx @@ -714,7 +714,7 @@ void SvxTPFilter::SetDateMode(sal_uInt16 nMode) SvxRedlinDateMode SvxTPFilter::GetDateMode() { - return static_cast<SvxRedlinDateMode>(m_pLbDate->GetSelectEntryPos()); + return static_cast<SvxRedlinDateMode>(m_pLbDate->GetSelectedEntryPos()); } void SvxTPFilter::ClearAuthors() { @@ -739,7 +739,7 @@ void SvxTPFilter::SelectedAuthorPos(sal_Int32 nPos) sal_Int32 SvxTPFilter::SelectAuthor(const OUString& aString) { m_pLbAuthor->SelectEntry(aString); - return m_pLbAuthor->GetSelectEntryPos(); + return m_pLbAuthor->GetSelectedEntryPos(); } void SvxTPFilter::SetRange(const OUString& rString) @@ -862,7 +862,7 @@ void SvxTPFilter::ShowAction(bool bShow) IMPL_LINK_NOARG( SvxTPFilter, SelDateHdl, ListBox&, void ) { - SvxRedlinDateMode nKind = static_cast<SvxRedlinDateMode>(m_pLbDate->GetSelectEntryPos()); + SvxRedlinDateMode nKind = static_cast<SvxRedlinDateMode>(m_pLbDate->GetSelectedEntryPos()); switch(nKind) { case SvxRedlinDateMode::BEFORE: diff --git a/svx/source/dialog/fontlb.cxx b/svx/source/dialog/fontlb.cxx index 151329a5f524..3c2a445b8372 100644 --- a/svx/source/dialog/fontlb.cxx +++ b/svx/source/dialog/fontlb.cxx @@ -113,7 +113,7 @@ void SvxFontListBox::SetNoSelection() SelectAll( false ); } -sal_uLong SvxFontListBox::GetSelectEntryPos() const +sal_uLong SvxFontListBox::GetSelectedEntryPos() const { SvTreeListEntry* pSvLBoxEntry = FirstSelected(); return pSvLBoxEntry ? GetModel()->GetAbsPos( pSvLBoxEntry ) : TREELIST_ENTRY_NOTFOUND; diff --git a/svx/source/dialog/frmdirlbox.cxx b/svx/source/dialog/frmdirlbox.cxx index a2d3eaa7075a..048a56918b56 100644 --- a/svx/source/dialog/frmdirlbox.cxx +++ b/svx/source/dialog/frmdirlbox.cxx @@ -72,7 +72,7 @@ void FrameDirectionListBox::SelectEntryValue( SvxFrameDirection eDirection ) SvxFrameDirection FrameDirectionListBox::GetSelectEntryValue() const { - sal_Int32 nPos = GetSelectEntryPos(); + sal_Int32 nPos = GetSelectedEntryPos(); if( nPos == LISTBOX_ENTRY_NOTFOUND ) return static_cast< SvxFrameDirection >( 0xFFFF ); return lclVoidToEnum( GetEntryData( nPos ) ); diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx index bc7ac82bee9a..478f5ca9336a 100644 --- a/svx/source/dialog/langbox.cxx +++ b/svx/source/dialog/langbox.cxx @@ -611,12 +611,12 @@ void SvxLanguageComboBox::ImplSetEntryData( sal_Int32 nPos, void* pData ) sal_Int32 SvxLanguageBox::ImplGetSelectEntryPos() const { - return GetSelectEntryPos(); + return GetSelectedEntryPos(); } sal_Int32 SvxLanguageComboBox::ImplGetSelectEntryPos() const { - return GetSelectEntryPos(); + return GetSelectedEntryPos(); } @@ -705,7 +705,7 @@ void SvxLanguageBox::ImplSaveValue() void SvxLanguageComboBox::ImplSaveValue() { // Emulate the ListBox behavior. - mnSavedValuePos = GetSelectEntryPos(); + mnSavedValuePos = GetSelectedEntryPos(); } diff --git a/svx/source/dialog/papersizelistbox.cxx b/svx/source/dialog/papersizelistbox.cxx index e0361e104d47..1ec9c17c0da4 100644 --- a/svx/source/dialog/papersizelistbox.cxx +++ b/svx/source/dialog/papersizelistbox.cxx @@ -73,7 +73,7 @@ void PaperSizeListBox::SetSelection( Paper ePreselectPaper ) Paper PaperSizeListBox::GetSelection() const { - const sal_Int32 nPos = GetSelectEntryPos(); + const sal_Int32 nPos = GetSelectedEntryPos(); Paper ePaper = (Paper)reinterpret_cast<sal_uLong>(GetEntryData( nPos )); return ePaper; 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<PropertyValues>& 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<PropertyValues>& 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<OUString*>(m_pCharStyleLB->GetSelectEntryData()); Sequence<PropertyValues>& 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; diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index e0ee16f9e3d0..30ec52ebce46 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -1337,8 +1337,8 @@ IMPL_LINK( SvxSearchDialog, CommandHdl_Impl, Button *, pBtn, void ) if ( !bWriter ) { - if ( m_pCalcSearchInLB->GetSelectEntryPos() != LISTBOX_ENTRY_NOTFOUND ) - pSearchItem->SetCellType( static_cast<SvxSearchCellType>(m_pCalcSearchInLB->GetSelectEntryPos()) ); + if ( m_pCalcSearchInLB->GetSelectedEntryPos() != LISTBOX_ENTRY_NOTFOUND ) + pSearchItem->SetCellType( static_cast<SvxSearchCellType>(m_pCalcSearchInLB->GetSelectedEntryPos()) ); pSearchItem->SetRowDirection( m_pRowsBtn->IsChecked() ); pSearchItem->SetAllTables( m_pAllSheetsCB->IsChecked() ); @@ -2303,8 +2303,8 @@ void SvxSearchDialog::SaveToModule_Impl() if ( !bWriter ) { - if ( m_pCalcSearchInLB->GetSelectEntryPos() != LISTBOX_ENTRY_NOTFOUND ) - pSearchItem->SetCellType( static_cast<SvxSearchCellType>(m_pCalcSearchInLB->GetSelectEntryPos()) ); + if ( m_pCalcSearchInLB->GetSelectedEntryPos() != LISTBOX_ENTRY_NOTFOUND ) + pSearchItem->SetCellType( static_cast<SvxSearchCellType>(m_pCalcSearchInLB->GetSelectedEntryPos()) ); pSearchItem->SetRowDirection( m_pRowsBtn->IsChecked() ); pSearchItem->SetAllTables( m_pAllSheetsCB->IsChecked() ); diff --git a/svx/source/dialog/txencbox.cxx b/svx/source/dialog/txencbox.cxx index f02645980dc5..2a1999cf6e0b 100644 --- a/svx/source/dialog/txencbox.cxx +++ b/svx/source/dialog/txencbox.cxx @@ -206,7 +206,7 @@ void SvxTextEncodingBox::InsertTextEncoding( const rtl_TextEncoding nEnc ) rtl_TextEncoding SvxTextEncodingBox::GetSelectTextEncoding() const { - sal_Int32 nPos = GetSelectEntryPos(); + sal_Int32 nPos = GetSelectedEntryPos(); if ( nPos != LISTBOX_ENTRY_NOTFOUND ) return rtl_TextEncoding( reinterpret_cast<sal_uIntPtr>(GetEntryData(nPos)) ); |