diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-19 17:50:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-19 17:50:01 +0200 |
commit | 9000094034a54d97c584183afeaeb8d4de125842 (patch) | |
tree | 3e9ed1f80d686f276c1fb6c13c46f668d175b7b3 | |
parent | loplugin:defaultparams (diff) | |
download | core-9000094034a54d97c584183afeaeb8d4de125842.tar.gz core-9000094034a54d97c584183afeaeb8d4de125842.zip |
loplugin:defaultparams
Change-Id: I380dd94c8ea48ab6dc1be074d9a5801501e24c18
-rw-r--r-- | filter/source/msfilter/msdffimp.cxx | 4 | ||||
-rw-r--r-- | filter/source/pdf/impdialog.cxx | 28 | ||||
-rw-r--r-- | filter/source/svg/svgwriter.cxx | 2 |
3 files changed, 17 insertions, 17 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index 8b49de9e0bcf..e1a9eb347e46 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -4168,7 +4168,7 @@ SdrObject* SvxMSDffManager::ImportShape( const DffRecordHeader& rHd, SvStream& r DffObjData aObjData( rHd, rClientRect, nCalledByGroup ); aObjData.bRotateTextWithShape = ( GetSvxMSDffSettings() & SVXMSDFF_SETTINGS_IMPORT_EXCEL ) == 0; - maShapeRecords.Consume( rSt, false ); + maShapeRecords.Consume( rSt ); if( maShapeRecords.SeekToContent( rSt, DFF_msofbtUDefProp, SEEK_FROM_BEGINNING ) ) @@ -6452,7 +6452,7 @@ bool SvxMSDffManager::GetBLIPDirect( SvStream& rBLIPStream, Graphic& rData, Rect else { // and unleash our filter GraphicFilter& rGF = GraphicFilter::GetGraphicFilter(); - nRes = rGF.ImportGraphic( rData, "", *pGrStream, GRFILTER_FORMAT_DONTKNOW ); + nRes = rGF.ImportGraphic( rData, "", *pGrStream ); // SJ: I40472, sometimes the aspect ratio (aMtfSize100) does not match and we get scaling problems, // then it is better to use the prefsize that is stored within the metafile. Bug #72846# for what the diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx index 17a922836acb..f04a0c7c6847 100644 --- a/filter/source/pdf/impdialog.cxx +++ b/filter/source/pdf/impdialog.cxx @@ -656,9 +656,9 @@ void ImpPDFTabGeneralPage::SetFilterConfigItem( ImpPDFTabDialog* paParent ) if ( mbIsPresentation ) { mpRbRange->SetText(get<FixedText>("slides")->GetText()); - mpCbExportNotesPages->Show(true); + mpCbExportNotesPages->Show(); mpCbExportNotesPages->Check(paParent->mbExportNotesPages); - mpCbExportHiddenSlides->Show(true); + mpCbExportHiddenSlides->Show(); mpCbExportHiddenSlides->Check(paParent->mbExportHiddenSlides); } else @@ -671,7 +671,7 @@ void ImpPDFTabGeneralPage::SetFilterConfigItem( ImpPDFTabDialog* paParent ) mpCbExportEmptyPages->Check(!paParent->mbIsSkipEmptyPages); - mpCbAddStream->Show(true); + mpCbAddStream->Show(); mpCbAddStream->Check(paParent->mbAddStream); mpCbAddStream->SetToggleHdl( LINK( this, ImpPDFTabGeneralPage, ToggleAddStreamHdl ) ); @@ -794,9 +794,9 @@ IMPL_LINK_NOARG_TYPED(ImpPDFTabGeneralPage, ToggleAddStreamHdl, CheckBox&, void) } else { - mpRbAll->Enable( true ); - mpRbRange->Enable( true ); - mpRbSelection->Enable( true ); + mpRbAll->Enable(); + mpRbRange->Enable(); + mpRbSelection->Enable(); } } } @@ -997,7 +997,7 @@ void ImpPDFTabOpnFtrPage::SetFilterConfigItem( const ImpPDFTabDialog* paParent break; case 4: mpRbMagnZoom->Check(); - mpNumZoom->Enable( true ); + mpNumZoom->Enable(); break; } @@ -1122,7 +1122,7 @@ void ImpPDFTabViewerPage::SetFilterConfigItem( const ImpPDFTabDialog* paParent else { m_pRbVisibleBookmarkLevels->Check(); - m_pNumBookmarkLevels->Enable( true ); + m_pNumBookmarkLevels->Enable(); m_pNumBookmarkLevels->SetValue( paParent->mnOpenBookmarkLevels ); } } @@ -1651,7 +1651,7 @@ ImpPDFTabSigningPage::ImpPDFTabSigningPage(vcl::Window* pParent, const SfxItemSe get(mpEdSignReason, "reason"); get(mpLBSignTSA, "tsa"); - mpPbSignCertSelect->Enable( true ); + mpPbSignCertSelect->Enable(); mpPbSignCertSelect->SetClickHdl( LINK( this, ImpPDFTabSigningPage, ClickmaPbSignCertSelect ) ); mpPbSignCertClear->SetClickHdl( LINK( this, ImpPDFTabSigningPage, ClickmaPbSignCertClear ) ); } @@ -1686,11 +1686,11 @@ IMPL_LINK_NOARG_TYPED( ImpPDFTabSigningPage, ClickmaPbSignCertSelect, Button*, v if (maSignCertificate.is()) { mpEdSignCert->SetText(maSignCertificate->getSubjectName()); - mpPbSignCertClear->Enable( true ); - mpEdSignLocation->Enable( true ); - mpEdSignPassword->Enable( true ); - mpEdSignContactInfo->Enable( true ); - mpEdSignReason->Enable( true ); + mpPbSignCertClear->Enable(); + mpEdSignLocation->Enable(); + mpEdSignPassword->Enable(); + mpEdSignContactInfo->Enable(); + mpEdSignReason->Enable(); try { diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index 44cdef2b656b..73614f1d151d 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -2761,7 +2761,7 @@ void SVGActionWriter::ImplWriteActions( const GDIMetaFile& rMtf, if( nWriteFlags & SVGWRITER_WRITE_FILL ) { mpContext->AddPaintAttr( mpVDev->GetLineColor(), mpVDev->GetFillColor() ); - ImplWriteRect( static_cast<const MetaRectAction*>(pAction)->GetRect(), 0, 0 ); + ImplWriteRect( static_cast<const MetaRectAction*>(pAction)->GetRect() ); } } break; |