summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-18 14:49:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-23 09:55:40 +0200
commit110a25fdc2b0dc16c9b376fa6a9fdeb5fe7a58fb (patch)
tree9d103f76e3e914ad57fa8bfea2d3d5fccf751f70 /include
parentba0e705b53c631f9fc47b5379c50fe2abb95feac (diff)
loplugin:unusedfields
Change-Id: I1827262ad95942cacff589929f9436f8383cf142 Reviewed-on: https://gerrit.libreoffice.org/57642 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/oox/crypto/DocumentDecryption.hxx6
-rw-r--r--include/svx/colorbox.hxx1
-rw-r--r--include/svx/colorwindow.hxx2
-rw-r--r--include/svx/pagectrl.hxx7
-rw-r--r--include/svx/paraprev.hxx15
-rw-r--r--include/svx/relfld.hxx7
-rw-r--r--include/svx/svdobj.hxx1
-rw-r--r--include/svx/svdotext.hxx1
-rw-r--r--include/xmloff/AutoStyleEntry.hxx1
-rw-r--r--include/xmloff/txtparae.hxx2
10 files changed, 1 insertions, 42 deletions
diff --git a/include/oox/crypto/DocumentDecryption.hxx b/include/oox/crypto/DocumentDecryption.hxx
index a18e94e10412..e32667760c9f 100644
--- a/include/oox/crypto/DocumentDecryption.hxx
+++ b/include/oox/crypto/DocumentDecryption.hxx
@@ -35,8 +35,6 @@ namespace core {
class OOX_DLLPUBLIC DocumentDecryption
{
private:
- css::uno::Reference< css::uno::XComponentContext > mxContext;
-
enum CryptoType
{
UNKNOWN,
@@ -49,9 +47,7 @@ private:
CryptoType mCryptoType;
public:
- DocumentDecryption(
- oox::ole::OleStorage& rOleStorage,
- css::uno::Reference< css::uno::XComponentContext > const & xContext);
+ DocumentDecryption(oox::ole::OleStorage& rOleStorage);
bool decrypt(const css::uno::Reference< css::io::XStream >& xDocumentStream);
bool readEncryptionInfo();
diff --git a/include/svx/colorbox.hxx b/include/svx/colorbox.hxx
index 16baabb4ff3e..cedcbfff48a8 100644
--- a/include/svx/colorbox.hxx
+++ b/include/svx/colorbox.hxx
@@ -96,7 +96,6 @@ private:
std::unique_ptr<ColorWindow> m_xColorWindow;
std::unique_ptr<weld::MenuButton> m_xButton;
weld::Window* m_pTopLevel;
- Link<ColorListBox&, void> m_aSelectedLink;
ListBoxColorWrapper m_aColorWrapper;
Color m_aAutoDisplayColor;
NamedColor m_aSelectedColor;
diff --git a/include/svx/colorwindow.hxx b/include/svx/colorwindow.hxx
index 7bfaa63466b4..1e92a543a2f8 100644
--- a/include/svx/colorwindow.hxx
+++ b/include/svx/colorwindow.hxx
@@ -115,7 +115,6 @@ private:
std::unique_ptr<weld::Builder> m_xBuilder;
const sal_uInt16 theSlotId;
- OUString maCommand;
weld::Window* mpParentWindow;
weld::MenuButton* mpMenuButton;
std::shared_ptr<PaletteManager> mxPaletteManager;
@@ -133,7 +132,6 @@ private:
std::unique_ptr<weld::CustomWeld> mxColorSetWin;
std::unique_ptr<weld::CustomWeld> mxRecentColorSetWin;
- Link<const NamedColor&, void> maSelectedLink;
DECL_LINK(SelectHdl, SvtValueSet*, void);
DECL_LINK(SelectPaletteHdl, weld::ComboBoxText&, void);
DECL_LINK(AutoColorClickHdl, weld::Button&, void);
diff --git a/include/svx/pagectrl.hxx b/include/svx/pagectrl.hxx
index 4bd401049762..074c936328c6 100644
--- a/include/svx/pagectrl.hxx
+++ b/include/svx/pagectrl.hxx
@@ -41,10 +41,6 @@ private:
long nLeft;
long nRight;
- bool bResetBackground;
- bool bFrameDirection;
- SvxFrameDirection nFrameDirection;
-
long nHdLeft;
long nHdRight;
long nHdDist;
@@ -61,9 +57,6 @@ private:
bool bFooter : 1;
bool bHeader : 1;
- bool bTable : 1;
- bool bHorz : 1;
- bool bVert : 1;
SvxPageUsage eUsage;
diff --git a/include/svx/paraprev.hxx b/include/svx/paraprev.hxx
index 2c882e082be4..019cee94345e 100644
--- a/include/svx/paraprev.hxx
+++ b/include/svx/paraprev.hxx
@@ -38,21 +38,6 @@ enum class SvxPrevLineSpace
class SVX_DLLPUBLIC SvxParaPrevWindow final : public vcl::Window
{
Size aSize;
-
- // indentation
- long nLeftMargin;
- long nRightMargin;
- short nFirstLineOfst;
- // distances
- sal_uInt16 nUpper;
- sal_uInt16 nLower;
- // adjustment
- SvxAdjust eAdjust;
- // last line in justification
- SvxAdjust eLastLine;
- // line distance
- SvxPrevLineSpace eLine;
-
OUString aText;
tools::Rectangle Lines[9];
diff --git a/include/svx/relfld.hxx b/include/svx/relfld.hxx
index 715f7e2c5287..63dd9178e889 100644
--- a/include/svx/relfld.hxx
+++ b/include/svx/relfld.hxx
@@ -28,14 +28,7 @@
class SVX_DLLPUBLIC SvxRelativeField : public MetricField
{
private:
- sal_uInt16 nRelMin;
- sal_uInt16 nRelMax;
- bool bRelativeMode;
bool bRelative;
- bool bNegativeEnabled;
-
-protected:
- void Modify() override;
public:
SvxRelativeField(vcl::Window* pParent, WinBits nBits, FieldUnit eUnit);
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx
index 52183e78ecc1..5ae96300677d 100644
--- a/include/svx/svdobj.hxx
+++ b/include/svx/svdobj.hxx
@@ -944,7 +944,6 @@ protected:
bool bIsEdge : 1;
bool bIs3DObj : 1;
bool bIsUnoObj : 1;
- bool bNotMasterCachable : 1;
// #i25616#
bool mbLineIsOutsideGeometry : 1;
// #i25616#
diff --git a/include/svx/svdotext.hxx b/include/svx/svdotext.hxx
index e89b0b340e11..deb8e74477cf 100644
--- a/include/svx/svdotext.hxx
+++ b/include/svx/svdotext.hxx
@@ -251,7 +251,6 @@ protected:
SdrOutliner& ImpGetDrawOutliner() const;
private:
- SVX_DLLPRIVATE void ImpCheckMasterCachable();
// #101029#: Extracted from ImpGetDrawOutliner()
SVX_DLLPRIVATE void ImpInitDrawOutliner( SdrOutliner& rOutl ) const;
// #101029#: Extracted from Paint()
diff --git a/include/xmloff/AutoStyleEntry.hxx b/include/xmloff/AutoStyleEntry.hxx
index c313aac15313..7cca2d868ef4 100644
--- a/include/xmloff/AutoStyleEntry.hxx
+++ b/include/xmloff/AutoStyleEntry.hxx
@@ -19,7 +19,6 @@ namespace xmloff
{
struct XMLOFF_DLLPUBLIC AutoStyleEntry
{
- sal_Int32 m_nFamily;
OUString m_aParentName;
OUString m_aName;
std::vector<std::pair<OUString, css::uno::Any>> m_aXmlProperties;
diff --git a/include/xmloff/txtparae.hxx b/include/xmloff/txtparae.hxx
index 7bf35536156f..2322de350385 100644
--- a/include/xmloff/txtparae.hxx
+++ b/include/xmloff/txtparae.hxx
@@ -206,8 +206,6 @@ private:
const OUString sTextFieldStart;
const OUString sTextFieldEnd;
const OUString sTextFieldStartEnd;
- const OUString m_sBookmarkHidden;
- const OUString m_sBookmarkCondition;
protected:
const OUString sFrameStyleName;