summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-06-12 13:13:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-13 08:38:07 +0200
commit6694219526e4d759657aecc49483c518f3d573b1 (patch)
treedb19e3cc03f49c28062b51aabeccdd01528be359 /sw/source/ui/envelp
parentff53b7e475be213a5337e37ba9c8fb73259fb0ad (diff)
loplugin:unusedfields only-used-in-constructor in sw
Change-Id: I942279bdf2774d6c30deae2b2f35cd9edca07efd Reviewed-on: https://gerrit.libreoffice.org/55614 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/envelp')
-rw-r--r--sw/source/ui/envelp/mailmrge.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/envelp/mailmrge.cxx b/sw/source/ui/envelp/mailmrge.cxx
index c83bdf3b01d4..6230ad636d48 100644
--- a/sw/source/ui/envelp/mailmrge.cxx
+++ b/sw/source/ui/envelp/mailmrge.cxx
@@ -128,9 +128,9 @@ SwMailMergeDlg::SwMailMergeDlg(vcl::Window* pParent, SwWrtShell& rShell,
pImpl (new SwMailMergeDlg_Impl),
rSh (rShell),
- nMergeType (DBMGR_MERGE_EMAIL),
- m_aDialogSize( GetSizePixel() )
+ nMergeType (DBMGR_MERGE_EMAIL)
{
+ Size aDialogSize( GetSizePixel() );
get(m_pBeamerWin, "beamer");
get(m_pAllRB, "all");
@@ -315,7 +315,7 @@ SwMailMergeDlg::SwMailMergeDlg(vcl::Window* pParent, SwWrtShell& rShell,
m_pAllRB->Check();
m_pMarkedRB->Enable(false);
}
- SetMinOutputSizePixel(m_aDialogSize);
+ SetMinOutputSizePixel(aDialogSize);
try {
uno::Reference< container::XNameContainer> xFilterFactory(
xMSF->createInstance("com.sun.star.document.FilterFactory"), UNO_QUERY_THROW);