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 /starmath | |
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 'starmath')
-rw-r--r-- | starmath/source/ElementsDockingWindow.cxx | 2 | ||||
-rw-r--r-- | starmath/source/dialog.cxx | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx index 4d09089449e2..7adf4ce5fd92 100644 --- a/starmath/source/ElementsDockingWindow.cxx +++ b/starmath/source/ElementsDockingWindow.cxx @@ -779,7 +779,7 @@ IMPL_LINK( SmElementsDockingWindow, ElementSelectedHandle, ListBox&, rList, void for (const char* pCurrentCategory : aCategories) { OUString aCurrentCategoryString = SmResId(pCurrentCategory); - if (aCurrentCategoryString == rList.GetSelectEntry()) + if (aCurrentCategoryString == rList.GetSelectedEntry()) { mpElementsControl->setElementSetId(pCurrentCategory); return; diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 60df855f2831..3c352bb901db 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -1414,7 +1414,7 @@ void SmSymbolDialog::FillSymbolSets() IMPL_LINK_NOARG( SmSymbolDialog, SymbolSetChangeHdl, ListBox&, void ) { - SelectSymbolSet(m_pSymbolSets->GetSelectEntry()); + SelectSymbolSet(m_pSymbolSets->GetSelectedEntry()); } @@ -1428,7 +1428,7 @@ IMPL_LINK_NOARG(SmSymbolDialog, EditClickHdl, Button*, void) ScopedVclPtrInstance<SmSymDefineDialog> pDialog(this, pFontListDev, rSymbolMgr); // set current symbol and SymbolSet for the new dialog - const OUString aSymSetName (m_pSymbolSets->GetSelectEntry()), + const OUString aSymSetName (m_pSymbolSets->GetSelectedEntry()), aSymName (m_pSymbolName->GetText()); pDialog->SelectOldSymbolSet(aSymSetName); pDialog->SelectOldSymbol(aSymName); @@ -1436,7 +1436,7 @@ IMPL_LINK_NOARG(SmSymbolDialog, EditClickHdl, Button*, void) pDialog->SelectSymbol(aSymName); // remember old SymbolSet - OUString aOldSymbolSet (m_pSymbolSets->GetSelectEntry()); + OUString aOldSymbolSet (m_pSymbolSets->GetSelectedEntry()); sal_uInt16 nSymPos = m_pSymbolSetDisplay->GetSelectSymbol(); @@ -1710,7 +1710,7 @@ void SmSymDefineDialog::FillStyles() pStyles->Clear(); pStyles->SetText(OUString()); - OUString aText (pFonts->GetSelectEntry()); + OUString aText (pFonts->GetSelectedEntry()); if (!aText.isEmpty()) { // use own StyleNames @@ -1779,7 +1779,7 @@ IMPL_LINK( SmSymDefineDialog, FontChangeHdl, ListBox&, rListBox, void ) (void) rListBox; assert(&rListBox == pFonts && "Sm : wrong argument"); - SelectFont(pFonts->GetSelectEntry()); + SelectFont(pFonts->GetSelectedEntry()); } @@ -1937,7 +1937,7 @@ void SmSymDefineDialog::UpdateButtons() bool bEqual = pOrigSymbol && aTmpSymbolSetName.equalsIgnoreAsciiCase(pOldSymbolSetName->GetText()) && aTmpSymbolName == pOrigSymbol->GetName() - && pFonts->GetSelectEntry().equalsIgnoreAsciiCase( + && pFonts->GetSelectedEntry().equalsIgnoreAsciiCase( pOrigSymbol->GetFace().GetFamilyName()) && pStyles->GetText().equalsIgnoreAsciiCase( GetFontStyles().GetStyleName(pOrigSymbol->GetFace())) @@ -2285,7 +2285,7 @@ bool SmSymDefineDialog::SelectFont(const OUString &rFontName, bool bApplyFont) SelectStyle(pStyles->GetEntry(0)); if (bApplyFont) { - SetFont(pFonts->GetSelectEntry(), pStyles->GetText()); + SetFont(pFonts->GetSelectedEntry(), pStyles->GetText()); pSymbolDisplay->SetSymbol( pCharsetDisplay->GetSelectCharacter(), pCharsetDisplay->GetFont() ); } bRet = true; @@ -2314,7 +2314,7 @@ bool SmSymDefineDialog::SelectStyle(const OUString &rStyleName, bool bApplyFont) pStyles->SetText(pStyles->GetEntry(nPos)); if (bApplyFont) { - SetFont(pFonts->GetSelectEntry(), pStyles->GetText()); + SetFont(pFonts->GetSelectedEntry(), pStyles->GetText()); pSymbolDisplay->SetSymbol( pCharsetDisplay->GetSelectCharacter(), pCharsetDisplay->GetFont() ); } bRet = true; |