diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-21 13:12:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-21 15:02:41 +0200 |
commit | 0ab1e76a29bbd667a208d63e3b6fe207d32d8374 (patch) | |
tree | 14bdec6929b8f47b79b43f32d18a0966b5538bf2 /starmath | |
parent | 123ee9606938abc2be03ab7d35b66544141ade64 (diff) |
loplugin:defaultparams
Change-Id: Iaf6415d3b33a4ce195a00913a0df69f1fb794217
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/unomodel.cxx | 2 | ||||
-rw-r--r-- | starmath/source/view.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index 4a6c73d5b0b3..0f52e97b815e 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -1085,7 +1085,7 @@ void SAL_CALL SmModel::render( // release SmPrintUIOptions when everything is done. // That way, when SmPrintUIOptions is needed again it will read the latest configuration settings in its c-tor. - if (m_pPrintUIOptions->getBoolValue( "IsLastPage", false )) + if (m_pPrintUIOptions->getBoolValue( "IsLastPage" )) { m_pPrintUIOptions.reset(); } diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 84b9ab20be4c..9aaf0ae1ea18 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -1241,7 +1241,7 @@ void SmViewShell::Impl_Print(OutputDevice &rOutDev, const SmPrintUIOptions &rPri MapMode OutputMapMode; // PDF export should always use PRINT_SIZE_NORMAL ... - if (!rPrintUIOptions.getBoolValue( "IsPrinter", false ) ) + if (!rPrintUIOptions.getBoolValue( "IsPrinter" ) ) ePrintSize = PRINT_SIZE_NORMAL; switch (ePrintSize) { @@ -1287,7 +1287,7 @@ void SmViewShell::Impl_Print(OutputDevice &rOutDev, const SmPrintUIOptions &rPri rOutDev.SetMapMode(OutputMapMode); rOutDev.SetClipRegion(vcl::Region(aOutRect)); - GetDoc()->DrawFormula(rOutDev, aPos, false); + GetDoc()->DrawFormula(rOutDev, aPos); rOutDev.SetClipRegion(); rOutDev.Pop(); |