summaryrefslogtreecommitdiff
path: root/sw/source/ui/config/optpage.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-07 11:36:20 +0200
committerNoel Grandin <noel@peralex.com>2016-09-07 11:36:20 +0200
commit15da84c9c3a5323075c5e97ccd595a130f54cf20 (patch)
treea44ab237c892ccfbbddabeac7d47a7bf2a977553 /sw/source/ui/config/optpage.cxx
parentc158c00489d35af7f5f9278b8ee545678d6a42e5 (diff)
loplugin:constantparam in sw
Change-Id: I16badc615e98202668b1b201035b5137cb94c10c
Diffstat (limited to 'sw/source/ui/config/optpage.cxx')
-rw-r--r--sw/source/ui/config/optpage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index d6df1bd1eaeb..dde2cb6360cd 100644
--- a/sw/source/ui/config/optpage.cxx
+++ b/sw/source/ui/config/optpage.cxx
@@ -408,7 +408,7 @@ bool SwAddPrinterTabPage::FillItemSet( SfxItemSet* rCoreSet )
{
if ( bAttrModified )
{
- SwAddPrinterItem aAddPrinterAttr (FN_PARAM_ADDPRINTER);
+ SwAddPrinterItem aAddPrinterAttr;
aAddPrinterAttr.m_bPrintGraphic = m_pGrfCB->IsChecked();
aAddPrinterAttr.m_bPrintTable = true; // always enabled since CWS printerpullgpages /*aTabCB.IsChecked();*/
aAddPrinterAttr.m_bPrintDraw = m_pGrfCB->IsChecked(); // UI merged with m_pGrfCB in CWS printerpullgpages
@@ -2482,7 +2482,7 @@ bool SwTestTabPage::FillItemSet( SfxItemSet* rCoreSet )
if ( bAttrModified )
{
- SwTestItem aTestItem(FN_PARAM_SWTEST);
+ SwTestItem aTestItem;
aTestItem.bTest1=m_pTest1CBox->IsChecked();
aTestItem.bTest2=m_pTest2CBox->IsChecked();
aTestItem.bTest3=m_pTest3CBox->IsChecked();