summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2022-03-15 17:25:58 -0800
committerJim Raykowski <raykowj@gmail.com>2022-03-21 05:17:46 +0100
commit9a4e73e28a226b56531471da5e49a2cf0f5a51c4 (patch)
tree55f14dab18f8cbe81b22b8e2c8eb96246df00be6 /sw/inc
parenta997bd0e77d9721d55311dcfbd50fea802d801bd (diff)
Don't display search wrapped message when nothing is found
by a search for Frames, Images, and OLE objects Fixes the search wrapped message being unnoticeably shown before the search not found message when nothing is found by a search for Frames, Images, and OLE objects. Also fixes a possible search wrapped message being shown when SwFEShell::GetBestObject is used by SwTextShell::ExecMoveMisc for SID_FM_TOGGLECONTROLFOCUS case. Change-Id: I57e518163d9b61dcf9838e5552a0de53f48faa0f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131638 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/fesh.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx
index 3801bac30dd9..8a94960d3e29 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -497,7 +497,9 @@ public:
bool GetObjAttr( SfxItemSet &rSet ) const;
void SetObjAttr( const SfxItemSet &rSet );
- const SdrObject* GetBestObject( bool bNext, GotoObjFlags eType, bool bFlat = true, const svx::ISdrObjectFilter* pFilter = nullptr );
+ const SdrObject* GetBestObject(bool bNext, GotoObjFlags eType, bool bFlat = true,
+ const svx::ISdrObjectFilter* pFilter = nullptr,
+ bool* pbWrapped = nullptr);
bool GotoObj( bool bNext, GotoObjFlags eType = GotoObjFlags::DrawAny);
/// Set DragMode (e.g. Rotate), but do nothing when frame is selected.