summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-09-20 12:13:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-09-20 10:45:14 +0000
commitb18e1bc61ccba9d0c74274e2fe45b2b422c601cf (patch)
tree13d90e6939c5d152c30b948148125be7b0cb6f22 /cui
parent8a382d4ad190cf07cbd6b1fd6b903975134b0cf1 (diff)
loplugin:unusedfields
Change-Id: I852e98b16fdcb88b04e39d11e3101d502c918c24 Reviewed-on: https://gerrit.libreoffice.org/29078 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/screenshotannotationdlg.cxx13
-rw-r--r--cui/source/inc/cuitabarea.hxx1
-rw-r--r--cui/source/tabpages/tparea.cxx1
3 files changed, 3 insertions, 12 deletions
diff --git a/cui/source/dialogs/screenshotannotationdlg.cxx b/cui/source/dialogs/screenshotannotationdlg.cxx
index 4c13a28ad2d0..f8f693e7a70f 100644
--- a/cui/source/dialogs/screenshotannotationdlg.cxx
+++ b/cui/source/dialogs/screenshotannotationdlg.cxx
@@ -43,11 +43,8 @@ using namespace com::sun::star;
class ControlDataEntry
{
public:
- ControlDataEntry(
- const vcl::Window& rControl,
- const basegfx::B2IRange& rB2IRange)
- : mrControl(rControl),
- maB2IRange(rB2IRange)
+ ControlDataEntry(const basegfx::B2IRange& rB2IRange)
+ : maB2IRange(rB2IRange)
{
}
@@ -57,7 +54,6 @@ public:
}
private:
- const vcl::Window& mrControl;
basegfx::B2IRange maB2IRange;
};
@@ -225,10 +221,7 @@ void ScreenshotAnnotationDlg_Impl::CollectChildren(
if (!aCurrentRange.isEmpty())
{
- rControlDataCollection.push_back(
- ControlDataEntry(
- rCurrent,
- aCurrentRange));
+ rControlDataCollection.push_back(ControlDataEntry(aCurrentRange));
}
for (sal_uInt16 a(0); a < rCurrent.GetChildCount(); a++)
diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx
index 7486f7a1f066..ef7ca4c973e0 100644
--- a/cui/source/inc/cuitabarea.hxx
+++ b/cui/source/inc/cuitabarea.hxx
@@ -221,7 +221,6 @@ private:
VclPtr<SvxXRectPreview> m_pCtlXRectPreview;
const SfxItemSet& m_rOutAttrs;
- RectPoint m_eRP;
XColorListRef m_pColorList;
XGradientListRef m_pGradientList;
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index ff8360f5674d..e0caa7e3111e 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -72,7 +72,6 @@ SvxAreaTabPage::SvxAreaTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs
"cui/ui/areatabpage.ui",
rInAttrs ),
m_rOutAttrs (rInAttrs ),
- m_eRP( RectPoint::LT ),
m_pColorList( nullptr ),
m_pGradientList( nullptr ),