summaryrefslogtreecommitdiff
path: root/include/svx/fmsrcimp.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-22 16:34:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-09-22 18:57:43 +0000
commit7419057e3ec4365748fa6456e207f40fd9e09c62 (patch)
treec7ae11659b42539efb0f8c6eef68c1ee14c10dca /include/svx/fmsrcimp.hxx
parentc4cd079b8f613084a99a83b95c3968b65cbd8900 (diff)
loplugin:unusedmethods in chart2..svx
Change-Id: Ifb6045885049733415895f58cdd911256f48323c Reviewed-on: https://gerrit.libreoffice.org/29187 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/fmsrcimp.hxx')
-rw-r--r--include/svx/fmsrcimp.hxx23
1 files changed, 1 insertions, 22 deletions
diff --git a/include/svx/fmsrcimp.hxx b/include/svx/fmsrcimp.hxx
index 7190ef0b4d6e..ffcb6c1346fd 100644
--- a/include/svx/fmsrcimp.hxx
+++ b/include/svx/fmsrcimp.hxx
@@ -39,23 +39,6 @@
#include <vector>
/**
- * class FmSearchThread
- */
-class FmSearchEngine;
-class SAL_WARN_UNUSED FmSearchThread : public ::osl::Thread
-{
- FmSearchEngine* m_pEngine;
- Link<FmSearchThread*,void> m_aTerminationHdl;
-
- virtual void SAL_CALL run() override;
- virtual void SAL_CALL onTerminated() override;
-
-public:
- FmSearchThread(FmSearchEngine* pEngine) : m_pEngine(pEngine) { }
- void setTerminationHandler(Link<FmSearchThread*,void> aHdl) { m_aTerminationHdl = aHdl; }
-};
-
-/**
* struct FmSearchProgress - the owner of SearchEngine receives this structure for status updates
* (at the end of the search)
*/
@@ -360,14 +343,10 @@ private:
SVX_DLLPRIVATE bool MoveField(sal_Int32& nPos, FieldCollection::iterator& iter, const FieldCollection::iterator& iterBegin, const FieldCollection::iterator& iterEnd);
// moves the iterator with respect to the direction/overflow iterator/overflow cursor
SVX_DLLPRIVATE void BuildAndInsertFieldInfo(const css::uno::Reference< css::container::XIndexAccess >& xAllFields, sal_Int32 nField);
- // builds a FieldInfo in relation to field number nField (in xAllFields) and adds it to m_arrUsedFields
- // xAllFields needs to support the DatabaseRecord service
- SVX_DLLPRIVATE OUString FormatField(const FieldInfo& rField);
- // formats the field with the NumberFormatter
SVX_DLLPRIVATE bool HasPreviousLoc() { return m_aPreviousLocBookmark.hasValue(); }
- DECL_LINK_TYPED(OnSearchTerminated, FmSearchThread*, void);
+ void OnSearchTerminated();
// is used by SearchThread, after the return from this handler the thread removes itself
DECL_LINK_TYPED(OnNewRecordCount, sal_Int32, void);
};