summaryrefslogtreecommitdiff
path: root/editeng/source/outliner/outlvw.cxx
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2023-11-06 16:53:50 -0500
committerJustin Luth <jluth@mail.com>2023-11-15 20:05:38 +0100
commit32d0efa9d934ec45f2863a285d250dfc0ab137e8 (patch)
treedecd6ec1639e71b9e80d5cf3b3c4305ca4cf4dc5 /editeng/source/outliner/outlvw.cxx
parent33ec38c5333e0c71aa995292fbddc1a237979e32 (diff)
tdf#158031 editeng: rename GetFieldAtCursor
because it doesn't really get the field at the cursor, and certainly is not similar to SelectFieldAtCursor. It first gets the field under the mouse. Then, if there is a selection, it gets the selected field, else it looks for the field on either side. There were LOTS of places where it probably had not been used properly. Most of those are gone now, so it is easier to rename the function. Change-Id: I1a64af24092582cf865509d2a474080258edd76c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159022 Reviewed-by: Justin Luth <jluth@mail.com> Tested-by: Jenkins
Diffstat (limited to 'editeng/source/outliner/outlvw.cxx')
-rw-r--r--editeng/source/outliner/outlvw.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx
index 2649e865d6d7..136ecd776c26 100644
--- a/editeng/source/outliner/outlvw.cxx
+++ b/editeng/source/outliner/outlvw.cxx
@@ -1345,11 +1345,6 @@ const SvxFieldItem* OutlinerView::GetFieldAtSelection(bool bAlsoCheckBeforeCurso
return pEditView->GetFieldAtSelection(bAlsoCheckBeforeCursor);
}
-const SvxFieldData* OutlinerView::GetFieldAtCursor() const
-{
- return pEditView->GetFieldAtCursor();
-}
-
void OutlinerView::SelectFieldAtCursor()
{
pEditView->SelectFieldAtCursor();