summaryrefslogtreecommitdiff
path: root/include/svx/fmsrcimp.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-08 15:38:59 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-11 06:05:32 +0000
commit3716b144265dda695d7dd447dbe692a3f84c588e (patch)
tree6b8d8751e306841102f6808fbb5403dac193c35c /include/svx/fmsrcimp.hxx
parentb796b24793827583550279d40bfe565c66ad284d (diff)
loplugin:constantparam
Change-Id: Ia06b9b189033b9409d7a59a211866f66a0614886 Reviewed-on: https://gerrit.libreoffice.org/28016 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svx/fmsrcimp.hxx')
-rw-r--r--include/svx/fmsrcimp.hxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/svx/fmsrcimp.hxx b/include/svx/fmsrcimp.hxx
index b71e7336b973..682138cf0f27 100644
--- a/include/svx/fmsrcimp.hxx
+++ b/include/svx/fmsrcimp.hxx
@@ -159,8 +159,6 @@ namespace svxform {
};
}
-enum FMSEARCH_MODE { SM_BRUTE, SM_ALLOWSCHEDULE, SM_USETHREAD };
-
typedef std::vector< css::uno::Reference< css::uno::XInterface> > InterfaceArray;
class SAL_WARN_UNUSED SVX_DLLPUBLIC FmSearchEngine
@@ -215,7 +213,6 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC FmSearchEngine
bool m_bCancelAsynchRequest : 1; // should be cancelled?
::osl::Mutex m_aCancelAsynchAccess; // access to_bCancelAsynchRequest (technically only
// relevant for m_eMode == SM_USETHREAD)
- FMSEARCH_MODE m_eMode; // current mode
// parameters for the search
bool m_bFormatter : 1; // use field formatting
@@ -281,8 +278,6 @@ public:
sal_uInt16 GetPosition() const { return m_nPosition; }
// position will be ignored in case of m_bWildCard==sal_True
- FMSEARCH_MODE GetSearchMode() const { return m_eMode; }
-
public:
/** two constructs, both analogical to FmSearchDialog, therefore look this up for explanations ....
xCursor has to implement css::data::DatabaseCursor service each time.
@@ -296,8 +291,7 @@ public:
const css::uno::Reference< css::uno::XComponentContext >& _rxContext,
const css::uno::Reference< css::sdbc::XResultSet >& xCursor,
const OUString& strVisibleFields,
- const InterfaceArray& arrFields,
- FMSEARCH_MODE eMode);
+ const InterfaceArray& arrFields);
virtual ~FmSearchEngine();