diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-06-28 05:47:16 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-06-28 11:06:54 +0200 |
commit | 67c807ada5d7930f262ace9798629c06f0175a86 (patch) | |
tree | 3e6c7d7c0e35f4893cedb91e83601e7514506f38 /include/vcl | |
parent | b1ce8bb078904db1df542f7a1c2ed527dde1a2d3 (diff) |
Drop i18nutil::SearchOptions
It was mostly unused by now, only remained in a couple of function
arguments, where callers actually passed SearchOptions2, and where
internally it was converted back to SearchOptions2.
Change-Id: Ib188ec3bf0de6d1f70a04eb90fb3a577df8b3d98
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153687
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/textview.hxx | 6 | ||||
-rw-r--r-- | include/vcl/xtextedt.hxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/vcl/textview.hxx b/include/vcl/textview.hxx index 903e1b4fae2a..84a89e8c58d8 100644 --- a/include/vcl/textview.hxx +++ b/include/vcl/textview.hxx @@ -41,7 +41,7 @@ namespace com::sun::star::datatransfer::clipboard { class XClipboard; } namespace i18nutil { - struct SearchOptions; + struct SearchOptions2; } @@ -217,8 +217,8 @@ public: // tdf#49482: Moves the start of the PaM to the center of the textview void CenterPaM( const TextPaM& rPaM ); - bool Search( const i18nutil::SearchOptions& rSearchOptions, bool bForward ); - sal_uInt16 Replace( const i18nutil::SearchOptions& rSearchOptions, bool bAll, bool bForward ); + bool Search( const i18nutil::SearchOptions2& rSearchOptions, bool bForward ); + sal_uInt16 Replace( const i18nutil::SearchOptions2& rSearchOptions, bool bAll, bool bForward ); bool IndentBlock(); bool UnindentBlock(); diff --git a/include/vcl/xtextedt.hxx b/include/vcl/xtextedt.hxx index d9e06ddd8055..c15707dcac69 100644 --- a/include/vcl/xtextedt.hxx +++ b/include/vcl/xtextedt.hxx @@ -22,7 +22,7 @@ #include <vcl/dllapi.h> #include <vcl/texteng.hxx> -namespace i18nutil { struct SearchOptions; } +namespace i18nutil { struct SearchOptions2; } class VCL_DLLPUBLIC ExtTextEngine final : public TextEngine { @@ -31,7 +31,7 @@ public: virtual ~ExtTextEngine() override; TextSelection MatchGroup( const TextPaM& rCursor ) const; - bool Search( TextSelection& rSel, const i18nutil::SearchOptions& rSearchOptions, bool bForward = true ) const; + bool Search( TextSelection& rSel, const i18nutil::SearchOptions2& rSearchOptions, bool bForward = true ) const; }; #endif // INCLUDED_VCL_XTEXTEDT_HXX |