summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/screenshotannotationdlg.cxx
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/source/dialogs/screenshotannotationdlg.cxx
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/source/dialogs/screenshotannotationdlg.cxx')
-rw-r--r--cui/source/dialogs/screenshotannotationdlg.cxx13
1 files changed, 3 insertions, 10 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++)