diff options
author | Eike Rathke <erack@redhat.com> | 2016-02-24 22:37:57 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-02-24 22:42:05 +0100 |
commit | 21edff2a37c9c22d200df2638e31f7ff3afe85b6 (patch) | |
tree | 8b3ded0d95c55ddf739e4baf71d5726fa79d80ab /sw/inc | |
parent | eb3e47dbf798103d09bb8f3461959726e917a75f (diff) |
let SvxSearchItem use SearchOptions2
And all those places that interface to SvxSearchItem.
Change-Id: I08915824a596cd0f247a89f44e4684cd22b98082
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/PostItMgr.hxx | 6 | ||||
-rw-r--r-- | sw/inc/crsrsh.hxx | 8 | ||||
-rw-r--r-- | sw/inc/pam.hxx | 6 | ||||
-rw-r--r-- | sw/inc/swcrsr.hxx | 6 |
4 files changed, 13 insertions, 13 deletions
diff --git a/sw/inc/PostItMgr.hxx b/sw/inc/PostItMgr.hxx index 8f9a22017f3d..f8c372715c47 100644 --- a/sw/inc/PostItMgr.hxx +++ b/sw/inc/PostItMgr.hxx @@ -29,7 +29,7 @@ #include <swrect.hxx> #include <unotools/configitem.hxx> #include <unotools/options.hxx> -#include <com/sun/star/util/SearchOptions.hpp> +#include <com/sun/star/util/SearchOptions2.hpp> #include <com/sun/star/uno/Any.hxx> #include <SidebarWindowsTypes.hxx> #include <svl/lstner.hxx> @@ -272,8 +272,8 @@ class SwPostItMgr: public SfxListener void CheckMetaText(); sal_uInt16 Replace(SvxSearchItem* pItem); - sal_uInt16 SearchReplace(const SwFormatField &pField, const css::util::SearchOptions& rSearchOptions,bool bSrchForward); - sal_uInt16 FinishSearchReplace(const css::util::SearchOptions& rSearchOptions,bool bSrchForward); + sal_uInt16 SearchReplace(const SwFormatField &pField, const css::util::SearchOptions2& rSearchOptions,bool bSrchForward); + sal_uInt16 FinishSearchReplace(const css::util::SearchOptions2& rSearchOptions,bool bSrchForward); void AssureStdModeAtShell(); diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index 85f662523ab1..aefacf20b9b4 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -67,7 +67,7 @@ class SwTextField; struct SwPosition; namespace com { namespace sun { namespace star { namespace util { - struct SearchOptions; + struct SearchOptions2; } } } } namespace com { namespace sun { namespace star { namespace text { @@ -134,7 +134,7 @@ const int CRSR_POSOLD = 0x01, // cursor stays at old position CRSR_POSCHG = 0x02; // position changed by the layout /// Helperfunction to resolve backward references in regular expressions -OUString *ReplaceBackReferences( const css::util::SearchOptions& rSearchOpt, SwPaM* pPam ); +OUString *ReplaceBackReferences( const css::util::SearchOptions2& rSearchOpt, SwPaM* pPam ); class SW_DLLPUBLIC SwCursorShell : public SwViewShell @@ -367,7 +367,7 @@ public: bool MoveColumn( SwWhichColumn, SwPosColumn ); bool MoveRegion( SwWhichRegion, SwPosRegion ); - sal_uLong Find( const css::util::SearchOptions& rSearchOpt, + sal_uLong Find( const css::util::SearchOptions2& rSearchOpt, bool bSearchInNotes, SwDocPositions eStart, SwDocPositions eEnd, bool& bCancel, @@ -382,7 +382,7 @@ public: SwDocPositions eStart, SwDocPositions eEnd, bool& bCancel, FindRanges eRng, - const css::util::SearchOptions* pSearchOpt = nullptr, + const css::util::SearchOptions2* pSearchOpt = nullptr, const SfxItemSet* rReplSet = nullptr ); // Position the Cursor diff --git a/sw/inc/pam.hxx b/sw/inc/pam.hxx index 295aaf5d804b..4e1d9f76d5ee 100644 --- a/sw/inc/pam.hxx +++ b/sw/inc/pam.hxx @@ -40,7 +40,7 @@ class SwPaM; class Point; namespace com { namespace sun { namespace star { namespace util { - struct SearchOptions; + struct SearchOptions2; } } } } namespace utl { @@ -194,7 +194,7 @@ public: SwGoInDoc fnGo = fnGoContent ); /// Search. - bool Find( const css::util::SearchOptions& rSearchOpt, + bool Find( const css::util::SearchOptions2& rSearchOpt, bool bSearchInNotes, utl::TextSearch& rSText, SwMoveFn fnMove = fnMoveForward, @@ -209,7 +209,7 @@ public: SwMoveFn fnMove, const SwPaM *pPam, bool bInReadOnly, bool bMoveFirst ); - bool DoSearch( const css::util::SearchOptions& rSearchOpt, utl::TextSearch& rSText, + bool DoSearch( const css::util::SearchOptions2& rSearchOpt, utl::TextSearch& rSText, SwMoveFn fnMove, bool bSrchForward, bool bRegSearch, bool bChkEmptyPara, bool bChkParaEnd, sal_Int32 &nStart, sal_Int32 &nEnd, sal_Int32 nTextLen, SwNode* pNode, SwPaM* pPam); diff --git a/sw/inc/swcrsr.hxx b/sw/inc/swcrsr.hxx index 1d37cbfb960d..941f2a052f6e 100644 --- a/sw/inc/swcrsr.hxx +++ b/sw/inc/swcrsr.hxx @@ -28,7 +28,7 @@ struct _SwCursor_SavePos; namespace com { namespace sun { namespace star { namespace util { - struct SearchOptions; + struct SearchOptions2; } } } } // Base structure for parameters of the find-methods. @@ -103,7 +103,7 @@ public: SwMoveFnCollection* MakeFindRange( SwDocPositions, SwDocPositions, SwPaM* ) const; - sal_uLong Find( const css::util::SearchOptions& rSearchOpt, + sal_uLong Find( const css::util::SearchOptions2& rSearchOpt, bool bSearchInNotes, SwDocPositions nStart, SwDocPositions nEnde, bool& bCancel, @@ -118,7 +118,7 @@ public: SwDocPositions nStart, SwDocPositions nEnde, bool& bCancel, FindRanges = FND_IN_BODY, - const css::util::SearchOptions* pSearchOpt = nullptr, + const css::util::SearchOptions2* pSearchOpt = nullptr, const SfxItemSet* rReplSet = nullptr ); // UI versions |