summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-08-17 21:41:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-18 14:48:51 +0200
commit16d9d1d1122bbf9f6dc0748b41826a59a8551716 (patch)
tree0252fe6ebf630f9023c2840713bfc1906bcc36dd /sw/inc
parente98694bd787ead49b08e8490999cae0122626d40 (diff)
new loplugin:unusedvarsglobal
I copied and modified the unusedfields plugin to find unused variables. Change-Id: I18ed6daa202da70a2e564e4fe4760aed7ce070ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100891 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/calc.hxx1
-rw-r--r--sw/inc/poolfmt.hxx1
-rw-r--r--sw/inc/swtypes.hxx4
-rw-r--r--sw/inc/viewsh.hxx1
4 files changed, 0 insertions, 7 deletions
diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx
index 86e33f4cb618..979e68b0421d 100644
--- a/sw/inc/calc.hxx
+++ b/sw/inc/calc.hxx
@@ -85,7 +85,6 @@ extern const char sCalc_Tan[];
extern const char sCalc_Asin[];
extern const char sCalc_Acos[];
extern const char sCalc_Atan[];
-extern const char sCalc_Tdif[];
extern const char sCalc_Round[];
extern const char sCalc_Date[];
diff --git a/sw/inc/poolfmt.hxx b/sw/inc/poolfmt.hxx
index 44d9214fe0f2..799134fd5017 100644
--- a/sw/inc/poolfmt.hxx
+++ b/sw/inc/poolfmt.hxx
@@ -61,7 +61,6 @@ const sal_uInt16 POOLGRP_NOCOLLID = (1 << 10);
/// POLLCOLL-groups:
const sal_uInt16 USER_FMT = (1 << 15);
-const sal_uInt16 POOL_FMT = (0 << 15);
const sal_uInt16 COLL_TEXT_BITS = (1 << 11);
const sal_uInt16 COLL_LISTS_BITS = (2 << 11);
diff --git a/sw/inc/swtypes.hxx b/sw/inc/swtypes.hxx
index 0f7d3af3e962..f457004570f7 100644
--- a/sw/inc/swtypes.hxx
+++ b/sw/inc/swtypes.hxx
@@ -96,10 +96,6 @@ const sal_uInt8 MAXLEVEL = 10;
const sal_uInt8 NO_NUMLEVEL = 0x20; // "or" with the levels.
-// pPathFinder is initialized by the UI.
-// The class delivers all paths needed.
-extern SwPathFinder *pPathFinder;
-
// Values for indents at numbering and bullet lists.
// (For more levels the values have to be multiplied with the levels+1;
// levels 0 ..4!)
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx
index fe3fee74bcea..23409190bdf8 100644
--- a/sw/inc/viewsh.hxx
+++ b/sw/inc/viewsh.hxx
@@ -164,7 +164,6 @@ class SW_DLLPUBLIC SwViewShell : public sw::Ring<SwViewShell>
protected:
static ShellResource* mpShellRes; ///< Resources for the Shell.
- static vcl::DeleteOnDeinit< VclPtr<vcl::Window> > mpCareWindow; ///< Avoid this window.
static vcl::DeleteOnDeinit< std::shared_ptr<weld::Window> > mpCareDialog; ///< Avoid this window.
SwRect maVisArea; ///< The modern version of VisArea.