summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-28 12:03:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-29 11:25:53 +0200
commit233b75581456efe2ec93c57678f05ef663f28118 (patch)
treeee59ef2eccaaa4ac780be9bc8a5c4c49a9fef394 /sd
parentc7be04f51323417cb57ae6d0ac3c3df78698dd0b (diff)
Fix typo in code
It passed "make check" on Linux Change-Id: I173e4887af5cbe3c660412d8463a5a82ee2c5724 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101591 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/inc/Outliner.hxx2
-rw-r--r--sd/source/ui/view/Outliner.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/inc/Outliner.hxx b/sd/inc/Outliner.hxx
index 5a65f3aab4be..d49140a6ea3f 100644
--- a/sd/inc/Outliner.hxx
+++ b/sd/inc/Outliner.hxx
@@ -414,7 +414,7 @@ private:
beginning/end of the document and continue with the search/spell
check.
*/
- bool ShowWrapArroundDialog();
+ bool ShowWrapAroundDialog();
/** Put text of current text object into outliner so that the text can
be searched/spell checked.
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index 8ac435249f7a..98fd0bdc87b2 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -1347,7 +1347,7 @@ void SdOutliner::EndOfSearch()
}
// Ask the user whether to wrap around and continue the search or
// to terminate.
- else if (meMode==TEXT_CONVERSION || ShowWrapArroundDialog ())
+ else if (meMode==TEXT_CONVERSION || ShowWrapAroundDialog ())
{
mbMatchMayExist = false;
// Everything back to beginning (or end?) of the document.
@@ -1402,7 +1402,7 @@ void SdOutliner::ShowEndOfSearchDialog()
xInfoBox->run();
}
-bool SdOutliner::ShowWrapArroundDialog()
+bool SdOutliner::ShowWrapAroundDialog()
{
// Determine whether to show the dialog.
if (mpSearchItem)
@@ -1691,7 +1691,7 @@ bool SdOutliner::HandleFailedSearch()
{
// No further matches found. Ask the user whether to wrap
// around and start again.
- bContinueSearch = ShowWrapArroundDialog();
+ bContinueSearch = ShowWrapAroundDialog();
}
}