From 1b666235f6b0b0f0b13f473bf3b639f4f5f0b12f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 3 Jan 2018 09:08:52 +0200 Subject: loplugin:singlevalfields improve copy constructor check Change-Id: Id1e7fbecd9e9f816553d2e678c3f1b7890fc4db8 Reviewed-on: https://gerrit.libreoffice.org/47293 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/tools/multisel.hxx | 1 - include/unotools/textsearch.hxx | 9 --------- 2 files changed, 10 deletions(-) (limited to 'include') diff --git a/include/tools/multisel.hxx b/include/tools/multisel.hxx index 903423ae5d9c..854be3768afb 100644 --- a/include/tools/multisel.hxx +++ b/include/tools/multisel.hxx @@ -38,7 +38,6 @@ private: sal_Int32 nCurSubSel; // index in aSels of current selected index sal_Int32 nCurIndex; // current selected entry sal_Int32 nSelCount; // number of selected indexes - bool bInverseCur;// inverse cursor bool bCurValid; // are nCurIndex and nCurSubSel valid TOOLS_DLLPRIVATE void ImplClear(); diff --git a/include/unotools/textsearch.hxx b/include/unotools/textsearch.hxx index b7b3250253af..5571fca7c15f 100644 --- a/include/unotools/textsearch.hxx +++ b/include/unotools/textsearch.hxx @@ -101,14 +101,9 @@ private: sal_uInt32 m_cWildEscChar; // wildcard escape character - bool m_bWordOnly : 1; // used by normal search - bool m_bSrchInSel : 1; // search only in the selection bool m_bCaseSense : 1; bool m_bWildMatchSel : 1; // wildcard pattern must match entire selection - // asian flags - used for the transliteration - TransliterationFlags nTransliterationFlags; - public: SearchParam( const OUString &rText, SearchType eSrchType, @@ -125,14 +120,10 @@ public: SearchType GetSrchType() const { return m_eSrchType; } bool IsCaseSensitive() const { return m_bCaseSense; } - bool IsSrchInSelection() const { return m_bSrchInSel; } - bool IsSrchWordOnly() const { return m_bWordOnly; } bool IsWildMatchSel() const { return m_bWildMatchSel; } // signed return for API use sal_Int32 GetWildEscChar() const { return static_cast(m_cWildEscChar); } - - TransliterationFlags GetTransliterationFlags() const { return nTransliterationFlags; } }; // For use in SAL_DEBUG etc. Output format not guaranteed to be stable. -- cgit