summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-20 11:56:07 +0200
committerNoel Grandin <noel@peralex.com>2015-08-20 13:52:17 +0200
commitb0f205a33da99da3c8b4a376eecf395bbbc2df3b (patch)
tree01c09eb1e4cdc08b4f5f81a7371f57683cb174b6
parenttdf#93437: Re-enable input after closing formula wizard (diff)
downloadcore-b0f205a33da99da3c8b4a376eecf395bbbc2df3b.tar.gz
core-b0f205a33da99da3c8b4a376eecf395bbbc2df3b.zip
loplugin:defaultparams
Change-Id: I52a79d3e84c832622fa4be32856d7dbb496b4d67
-rw-r--r--sd/source/core/drawdoc.cxx4
-rw-r--r--sd/source/core/drawdoc2.cxx6
-rw-r--r--sd/source/core/drawdoc3.cxx6
-rw-r--r--sd/source/core/drawdoc4.cxx6
-rw-r--r--sd/source/core/sdpage.cxx2
-rw-r--r--sd/source/core/undo/undoobjects.cxx2
-rw-r--r--sd/source/filter/eppt/eppt.cxx6
-rw-r--r--sd/source/filter/eppt/epptso.cxx18
-rw-r--r--sd/source/filter/eppt/pptexanimations.cxx16
-rw-r--r--sd/source/filter/eppt/pptx-text.cxx12
-rw-r--r--sd/source/filter/html/htmlex.cxx2
-rw-r--r--sd/source/filter/html/pubdlg.cxx8
-rw-r--r--sd/source/filter/ppt/pptin.cxx14
-rw-r--r--sd/source/ui/accessibility/AccessibleOutlineView.cxx2
-rw-r--r--sd/source/ui/animations/CustomAnimationDialog.cxx4
-rw-r--r--sd/source/ui/animations/CustomAnimationPane.cxx2
-rw-r--r--sd/source/ui/animations/SlideTransitionPane.cxx2
-rw-r--r--sd/source/ui/animations/motionpathtag.cxx2
-rw-r--r--sd/source/ui/annotations/annotationwindow.cxx2
19 files changed, 58 insertions, 58 deletions
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx
index fcf678ec669f..5fbeec97a9a7 100644
--- a/sd/source/core/drawdoc.cxx
+++ b/sd/source/core/drawdoc.cxx
@@ -184,7 +184,7 @@ SdDrawDocument::SdDrawDocument(DocumentType eType, SfxObjectShell* pDrDocSh)
if (mpDocSh)
{
- SetSwapGraphics(true);
+ SetSwapGraphics();
}
// Set measuring unit (of the application) and scale (of SdMod)
@@ -765,7 +765,7 @@ void SdDrawDocument::NewOrLoadCompleted( SdPage* pPage, SdStyleSheetPool* pSPool
if (!aString.isEmpty())
{
- sd::Outliner* pInternalOutl = GetInternalOutliner(true);
+ sd::Outliner* pInternalOutl = GetInternalOutliner();
pPage->SetObjText( static_cast<SdrTextObj*>(pObj), pInternalOutl, ePresObjKind, aString );
pObj->NbcSetStyleSheet( pPage->GetStyleSheetForPresObj( ePresObjKind ), true );
pInternalOutl->Clear();
diff --git a/sd/source/core/drawdoc2.cxx b/sd/source/core/drawdoc2.cxx
index df354a97740e..4f08dd3c0fc1 100644
--- a/sd/source/core/drawdoc2.cxx
+++ b/sd/source/core/drawdoc2.cxx
@@ -914,7 +914,7 @@ SdAnimationInfo* SdDrawDocument::GetAnimationInfo(SdrObject* pObject) const
{
DBG_ASSERT(pObject, "sd::SdDrawDocument::GetAnimationInfo(), invalid argument!");
if( pObject )
- return GetShapeUserData( *pObject, false );
+ return GetShapeUserData( *pObject );
else
return 0;
}
@@ -1090,7 +1090,7 @@ void SdDrawDocument::CheckMasterPages()
if( PK_STANDARD == pPage->GetPageKind() )
{
MoveMasterPage( nFound, nPage );
- pPage->SetInserted(true);
+ pPage->SetInserted();
break;
}
@@ -1121,7 +1121,7 @@ void SdDrawDocument::CheckMasterPages()
if( (PK_NOTES == pNotesPage->GetPageKind()) && ( pPage->GetLayoutName() == pNotesPage->GetLayoutName() ) )
{
MoveMasterPage( nFound, nPage );
- pNotesPage->SetInserted(true);
+ pNotesPage->SetInserted();
break;
}
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx
index a186e7a47fb1..36b0bf59ca17 100644
--- a/sd/source/core/drawdoc3.cxx
+++ b/sd/source/core/drawdoc3.cxx
@@ -918,7 +918,7 @@ bool SdDrawDocument::InsertBookmarkAsPage(
}
// Make absolutely sure no double masterpages are there
- RemoveUnnecessaryMasterPages(NULL, true, true);
+ RemoveUnnecessaryMasterPages(NULL, true);
// Rename object styles if necessary
if(!aRenameStr.isEmpty())
@@ -1567,7 +1567,7 @@ void SdDrawDocument::SetMasterPage(sal_uInt16 nSdPageNum,
// A stylesheet of the same name already exists -> overwrite contents
bool bTest = pMySheet->SetName(pHisSheet->GetName());
DBG_ASSERT(bTest, "Renaming StyleSheet failed.");
- pMySheet->GetItemSet().ClearItem(0); // Delete all
+ pMySheet->GetItemSet().ClearItem(); // Delete all
if (bUndo)
{
@@ -1584,7 +1584,7 @@ void SdDrawDocument::SetMasterPage(sal_uInt16 nSdPageNum,
OUString aHelpFile;
pMySheet = static_cast<SfxStyleSheet*>( &mxStyleSheetPool->Make(aName, SD_STYLE_FAMILY_MASTERPAGE, pHisSheet->GetMask()) );
pMySheet->SetHelpId( aHelpFile, pHisSheet->GetHelpId(aHelpFile) );
- pMySheet->GetItemSet().ClearItem(0); // Delete all
+ pMySheet->GetItemSet().ClearItem(); // Delete all
pMySheet->GetItemSet().Put(pHisSheet->GetItemSet());
aCreatedStyles.push_back( SdStyleSheetRef( static_cast< SdStyleSheet* >( pMySheet ) ) );
diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx
index b9b4558adf4f..2f38ed533e14 100644
--- a/sd/source/core/drawdoc4.cxx
+++ b/sd/source/core/drawdoc4.cxx
@@ -745,7 +745,7 @@ void SdDrawDocument::StartOnlineSpelling(bool bForceSpelling)
{
StopOnlineSpelling();
- ::sd::Outliner* pOutl = GetInternalOutliner(true);
+ ::sd::Outliner* pOutl = GetInternalOutliner();
Reference< XSpellChecker1 > xSpellChecker( LinguMgr::GetSpellChecker() );
if ( xSpellChecker.is() )
@@ -880,7 +880,7 @@ void SdDrawDocument::SpellObject(SdrTextObj* pObj)
if (pObj && pObj->GetOutlinerParaObject() /* && pObj != pView->GetTextEditObject() */)
{
mbHasOnlineSpellErrors = false;
- ::sd::Outliner* pOutl = GetInternalOutliner(true);
+ ::sd::Outliner* pOutl = GetInternalOutliner();
pOutl->SetUpdateMode(true);
Link<> aEvtHdl = pOutl->GetStatusEventHdl();
pOutl->SetStatusEventHdl(LINK(this, SdDrawDocument, OnlineSpellEventHdl));
@@ -1351,7 +1351,7 @@ void ModifyGuard::init()
ModifyGuard::~ModifyGuard()
{
if( mbIsEnableSetModified )
- mpDocShell->EnableSetModified( true );
+ mpDocShell->EnableSetModified();
if( mpDoc && (mpDoc->IsChanged() != mbIsDocumentChanged) )
mpDoc->SetChanged(mbIsDocumentChanged);
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index 80cd7520bbfc..cce381738bae 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -2090,7 +2090,7 @@ SdrObject* convertPresentationObjectImpl(SdPage& rPage, SdrObject* pSourceObj, P
if(pOutlParaObj)
{
// assign text
- ::sd::Outliner* pOutl = pModel->GetInternalOutliner( true );
+ ::sd::Outliner* pOutl = pModel->GetInternalOutliner();
pOutl->Clear();
pOutl->SetText( *pOutlParaObj );
pOutlParaObj = pOutl->CreateParaObject();
diff --git a/sd/source/core/undo/undoobjects.cxx b/sd/source/core/undo/undoobjects.cxx
index f0f3f9dbd6d4..0595c1c7f456 100644
--- a/sd/source/core/undo/undoobjects.cxx
+++ b/sd/source/core/undo/undoobjects.cxx
@@ -285,7 +285,7 @@ void UndoAutoLayoutPosAndSize::Redo()
{
SdPage* pPage = static_cast< SdPage* >( mxPage.get() );
if( pPage )
- pPage->SetAutoLayout( pPage->GetAutoLayout(), false, false );
+ pPage->SetAutoLayout( pPage->GetAutoLayout(), false );
}
UndoGeoObject::UndoGeoObject( SdrObject& rNewObj )
diff --git a/sd/source/filter/eppt/eppt.cxx b/sd/source/filter/eppt/eppt.cxx
index 436970ae86f1..50ac9395091d 100644
--- a/sd/source/filter/eppt/eppt.cxx
+++ b/sd/source/filter/eppt/eppt.cxx
@@ -578,7 +578,7 @@ void PPTWriter::ImplCreateHeaderFooterStrings( SvStream& rStrm, ::com::sun::star
if ( PropValue::GetPropertyValue( aAny, rXPagePropSet, OUString( "DateTimeText" ), true ) )
{
if ( aAny >>= aString )
- PPTWriter::WriteCString( rStrm, aString, 0 );
+ PPTWriter::WriteCString( rStrm, aString );
}
}
}
@@ -657,7 +657,7 @@ void PPTWriter::ImplCreateHeaderFooters( ::com::sun::star::uno::Reference< ::com
nVal |= nFormat;
}
- mpPptEscherEx->OpenContainer( EPP_HeadersFooters, 0 );
+ mpPptEscherEx->OpenContainer( EPP_HeadersFooters );
mpPptEscherEx->AddAtom( 4, EPP_HeadersFootersAtom );
mpStrm->WriteUInt32( nVal );
ImplCreateHeaderFooterStrings( *mpStrm, rXPagePropSet );
@@ -1108,7 +1108,7 @@ void ImplExportComments( uno::Reference< drawing::XDrawPage > xPage, SvMemoryStr
OUString sInitials( getInitials( sAuthor ) );
util::DateTime aDateTime( xAnnotation->getDateTime() );
if ( !sAuthor.isEmpty() )
- PPTWriter::WriteCString( rBinaryTagData10Atom, sAuthor, 0 );
+ PPTWriter::WriteCString( rBinaryTagData10Atom, sAuthor );
if ( !sText.isEmpty() )
PPTWriter::WriteCString( rBinaryTagData10Atom, sText, 1 );
if ( !sInitials.isEmpty() )
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index 47f2a694d6f7..37ac0ec9c037 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -382,7 +382,7 @@ sal_uInt32 PPTWriter::ImplInsertBookmarkURL( const OUString& rBookmarkURL, const
.WriteUInt32( 4 )
.WriteUInt32( nHyperId );
- PPTWriter::WriteCString( *mpExEmbed, rStringVer0, 0 );
+ PPTWriter::WriteCString( *mpExEmbed, rStringVer0 );
PPTWriter::WriteCString( *mpExEmbed, rStringVer1, 1 );
PPTWriter::WriteCString( *mpExEmbed, rStringVer2, 2 );
PPTWriter::WriteCString( *mpExEmbed, rStringVer3, 3 );
@@ -2110,7 +2110,7 @@ bool PPTWriter::ImplCreatePresentationPlaceholder( const bool bMasterPage, const
SvMemoryStream aClientTextBox( 0x200, 0x200 );
ImplWriteTextStyleAtom( aClientTextBox, nStyleInstance, 0, NULL, aExtBu, &aPropOpt );
- aPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, false, true );
+ aPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, false );
aPropOpt.CreateShapeProperties( mXShape );
aPropOpt.Commit( *mpStrm );
mpPptEscherEx->AddAtom( 8, ESCHER_ClientAnchor );
@@ -2152,7 +2152,7 @@ void PPTWriter::ImplCreateTextShape( EscherPropertyContainer& rPropOpt, EscherSo
if ( bFill )
rPropOpt.CreateFillProperties( mXPropSet, true, mXShape );
if ( ImplGetText() )
- rPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, false, true );
+ rPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, false );
}
void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& aSolverContainer, PageType ePageType, bool bMasterPage, int nPageNumber )
@@ -2314,7 +2314,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
if ( ImplGetText() )
{
if ( !aPropOpt.IsFontWork() )
- aPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, true, true );
+ aPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, true );
}
}
}
@@ -2809,7 +2809,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
if ( aPropertyOptions.GetOpt( ESCHER_Prop_fNoLineDrawDash, nLineFlags ) )
nLineFlags |= 0x10001; // draw dashed line if no line
aPropertyOptions.AddOpt( ESCHER_Prop_fNoLineDrawDash, nLineFlags );
- aPropertyOptions.CreateTextProperties( mXPropSet, mnTxId += 0x60, false, true );
+ aPropertyOptions.CreateTextProperties( mXPropSet, mnTxId += 0x60, false );
ImplAdjustFirstLineLineSpacing( aTextObj, aPropOpt );
aPropertyOptions.Commit( *mpStrm );
mpPptEscherEx->AddAtom( 8, ESCHER_ClientAnchor );
@@ -2850,7 +2850,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
ImplCreateShape( ESCHER_ShpInst_Rectangle, 0x220, aSolverContainer ); // Flags: HaveAnchor | HaveMaster
aPropOpt.AddOpt( ESCHER_Prop_hspMaster, mnShapeMasterTitle );
aPropOpt.CreateFillProperties( mXPropSet, true, mXShape );
- aPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, false, true );
+ aPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, false );
ImplAdjustFirstLineLineSpacing( aTextObj, aPropOpt );
if ( mbEmptyPresObj )
{
@@ -2901,7 +2901,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
if ( aPropOpt2.GetOpt( ESCHER_Prop_fNoLineDrawDash, nLineFlags ) )
nLineFlags |= 0x10001; // draw dashed line if no line
aPropOpt2.AddOpt( ESCHER_Prop_fNoLineDrawDash, nLineFlags );
- aPropOpt2.CreateTextProperties( mXPropSet, mnTxId += 0x60, false, true );
+ aPropOpt2.CreateTextProperties( mXPropSet, mnTxId += 0x60, false );
ImplAdjustFirstLineLineSpacing( aTextObj, aPropOpt2 );
aPropOpt2.Commit( *mpStrm );
mpPptEscherEx->AddAtom( 8, ESCHER_ClientAnchor );
@@ -2951,7 +2951,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
ImplCreateShape( ESCHER_ShpInst_Rectangle, 0x220, aSolverContainer ); // Flags: HaveAnchor | HaveMaster
aPropOpt.AddOpt( ESCHER_Prop_hspMaster, mnShapeMasterBody );
aPropOpt.CreateFillProperties( mXPropSet, true, mXShape );
- aPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, false, true );
+ aPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, false );
ImplAdjustFirstLineLineSpacing( aTextObj, aPropOpt );
if ( mbEmptyPresObj )
{
@@ -3696,7 +3696,7 @@ void PPTWriter::ImplCreateTable( uno::Reference< drawing::XShape >& rXShape, Esc
ImplCreateShape( ESCHER_ShpInst_Rectangle, 0xa02, aSolverContainer ); // Flags: Connector | HasSpt | Child
aPropOptSp.CreateFillProperties( mXPropSet, true );
aPropOptSp.AddOpt( ESCHER_Prop_fNoLineDrawDash, 0x90000 );
- aPropOptSp.CreateTextProperties( mXPropSet, mnTxId += 0x60, false, true );
+ aPropOptSp.CreateTextProperties( mXPropSet, mnTxId += 0x60, false );
aPropOptSp.AddOpt( ESCHER_Prop_WrapText, ESCHER_WrapSquare );
SvMemoryStream aClientTextBox( 0x200, 0x200 );
diff --git a/sd/source/filter/eppt/pptexanimations.cxx b/sd/source/filter/eppt/pptexanimations.cxx
index 272916d3b267..0867075d910f 100644
--- a/sd/source/filter/eppt/pptexanimations.cxx
+++ b/sd/source/filter/eppt/pptexanimations.cxx
@@ -508,7 +508,7 @@ void AnimationExporter::exportNode( SvStream& rStrm, Reference< XAnimationNode >
{
exportAnimNode( rStrm, xNode, pParent, nGroupLevel, nFillDefault );
exportAnimPropertySet( rStrm, xNode );
- exportAnimEvent( rStrm, xNode, 0 );
+ exportAnimEvent( rStrm, xNode );
exportAnimValue( rStrm, xNode, false );
}
break;
@@ -572,7 +572,7 @@ void AnimationExporter::exportNode( SvStream& rStrm, Reference< XAnimationNode >
}
exportIterate( rStrm, xNode );
exportAnimPropertySet( rStrm, xNode );
- exportAnimEvent( rStrm, xNode, 0 );
+ exportAnimEvent( rStrm, xNode );
exportAnimValue( rStrm, xNode, false );
}
break;
@@ -581,7 +581,7 @@ void AnimationExporter::exportNode( SvStream& rStrm, Reference< XAnimationNode >
{
exportAnimNode( rStrm, xNode, pParent, nGroupLevel, nFillDefault );
exportAnimPropertySet( rStrm, xNode );
- exportAnimEvent( rStrm, xNode, 0 );
+ exportAnimEvent( rStrm, xNode );
exportAnimValue( rStrm, xNode, false );
exportAnimate( rStrm, xNode );
}
@@ -595,7 +595,7 @@ void AnimationExporter::exportNode( SvStream& rStrm, Reference< XAnimationNode >
exportAnimNode( rStrm, xNode, pParent, nGroupLevel, nFillDefault );
exportAnimPropertySet( rStrm, xNode );
exportAnimateSet( rStrm, xNode, bIsAfterEffectNode ? AFTEREFFECT_SET : AFTEREFFECT_NONE );
- exportAnimEvent( rStrm, xNode, 0 );
+ exportAnimEvent( rStrm, xNode );
exportAnimValue( rStrm, xNode, false );
}
else
@@ -610,7 +610,7 @@ void AnimationExporter::exportNode( SvStream& rStrm, Reference< XAnimationNode >
exportAnimNode( rStrm, xNode, pParent, nGroupLevel, nFillDefault );
exportAnimPropertySet( rStrm, xNode );
exportAnimateMotion( rStrm, xNode );
- exportAnimEvent( rStrm, xNode, 0 );
+ exportAnimEvent( rStrm, xNode );
exportAnimValue( rStrm, xNode, false );
}
break;
@@ -626,7 +626,7 @@ void AnimationExporter::exportNode( SvStream& rStrm, Reference< XAnimationNode >
exportAnimNode( rStrm, xNode, pParent, nGroupLevel, nFillDefault );
exportAnimPropertySet( rStrm, xNode );
exportAnimateColor( rStrm, xNode, bIsAfterEffectNode ? AFTEREFFECT_COLOR : AFTEREFFECT_NONE );
- exportAnimEvent( rStrm, xNode, 0 );
+ exportAnimEvent( rStrm, xNode );
exportAnimValue( rStrm, xNode, false );
}
else
@@ -641,7 +641,7 @@ void AnimationExporter::exportNode( SvStream& rStrm, Reference< XAnimationNode >
exportAnimNode( rStrm, xNode, pParent, nGroupLevel, nFillDefault );
exportAnimPropertySet( rStrm, xNode );
exportAnimateTransform( rStrm, xNode );
- exportAnimEvent( rStrm, xNode, 0 );
+ exportAnimEvent( rStrm, xNode );
exportAnimValue( rStrm, xNode, false );
}
break;
@@ -650,7 +650,7 @@ void AnimationExporter::exportNode( SvStream& rStrm, Reference< XAnimationNode >
{
exportAnimNode( rStrm, xNode, pParent, nGroupLevel, nFillDefault );
exportAnimPropertySet( rStrm, xNode );
- exportAnimEvent( rStrm, xNode, 0 );
+ exportAnimEvent( rStrm, xNode );
exportAnimValue( rStrm, xNode, false );
exportTransitionFilter( rStrm, xNode );
}
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx
index a89019901a14..4bcab496b4d9 100644
--- a/sd/source/filter/eppt/pptx-text.cxx
+++ b/sd/source/filter/eppt/pptx-text.cxx
@@ -65,7 +65,7 @@ PortionObj::PortionObj( const ::com::sun::star::uno::Reference< ::com::sun::star
{
mXPropSet = rXPropSet;
- ImplGetPortionValues( rFontCollection, false );
+ ImplGetPortionValues( rFontCollection );
}
PortionObj::PortionObj(::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & rXTextRange,
@@ -328,7 +328,7 @@ void PortionObj::ImplGetPortionValues( FontCollection& rFontCollection, bool bGe
}
mnCharHeight = 24;
- if ( GetPropertyValue( mAny, mXPropSet, aCharHeightName, false ) )
+ if ( GetPropertyValue( mAny, mXPropSet, aCharHeightName ) )
{
float fVal(0.0);
if ( mAny >>= fVal )
@@ -337,7 +337,7 @@ void PortionObj::ImplGetPortionValues( FontCollection& rFontCollection, bool bGe
meCharHeight = GetPropertyState( mXPropSet, aCharHeightName );
}
}
- if ( GetPropertyValue( mAny, mXPropSet, aCharWeightName, false ) )
+ if ( GetPropertyValue( mAny, mXPropSet, aCharWeightName ) )
{
float fFloat(0.0);
if ( mAny >>= fFloat )
@@ -348,13 +348,13 @@ void PortionObj::ImplGetPortionValues( FontCollection& rFontCollection, bool bGe
mnCharAttrHard |= 1;
}
}
- if ( GetPropertyValue( mAny, mXPropSet, aCharLocaleName, false ) )
+ if ( GetPropertyValue( mAny, mXPropSet, aCharLocaleName ) )
{
com::sun::star::lang::Locale eLocale;
if ( mAny >>= eLocale )
meCharLocale = eLocale;
}
- if ( GetPropertyValue( mAny, mXPropSet, aCharPostureName, false ) )
+ if ( GetPropertyValue( mAny, mXPropSet, aCharPostureName ) )
{
::com::sun::star::awt::FontSlant aFS;
if ( mAny >>= aFS )
@@ -673,7 +673,7 @@ ParagraphObj::ParagraphObj(const ::com::sun::star::uno::Reference< ::com::sun::s
nBulletFlags = 0;
nParaFlags = 0;
- ImplGetParagraphValues( pProv, false );
+ ImplGetParagraphValues( pProv );
}
ParagraphObj::ParagraphObj(::com::sun::star::uno::Reference< ::com::sun::star::text::XTextContent > & rXTextContent,
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index 21f210c603d0..41fbc5dd68c3 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -939,7 +939,7 @@ bool HtmlExport::SavePresentation()
OUString aURL(maExportPath + maDocFileName);
- mpDocSh->EnableSetModified( true );
+ mpDocSh->EnableSetModified();
try
{
diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx
index 099d3fedd100..23d36acd5341 100644
--- a/sd/source/filter/html/pubdlg.cxx
+++ b/sd/source/filter/html/pubdlg.cxx
@@ -465,7 +465,7 @@ SdPublishingDlg::SdPublishingDlg(vcl::Window* pWindow, DocumentType eDocType)
pPage3_Quality->InsertEntry( OUString( "75%" ) );
pPage3_Quality->InsertEntry( OUString( "100%" ) );
- pPage5_Buttons->SetColCount( 1 );
+ pPage5_Buttons->SetColCount();
pPage5_Buttons->SetLineCount( 4 );
pPage5_Buttons->SetExtraSpacing( 1 );
@@ -753,7 +753,7 @@ void SdPublishingDlg::SetDefaults()
SdPublishingDesign aDefault;
SetDesign(&aDefault);
- pPage1_NewDesign->Check(true);
+ pPage1_NewDesign->Check();
pPage1_OldDesign->Check(false);
UpdatePage();
}
@@ -943,7 +943,7 @@ IMPL_LINK( SdPublishingDlg, DesignHdl, RadioButton *, pButton )
{
if(pButton == pPage1_NewDesign)
{
- pPage1_NewDesign->Check(true); // because of DesignDeleteHdl
+ pPage1_NewDesign->Check(); // because of DesignDeleteHdl
pPage1_OldDesign->Check(false);
pPage1_Designs->Disable();
pPage1_DelDesign->Disable();
@@ -1116,7 +1116,7 @@ IMPL_LINK( SdPublishingDlg, ColorHdl, PushButton *, pButton)
m_aALinkColor = aDlg.GetColor();
}
- pPage6_User->Check(true);
+ pPage6_User->Check();
pPage6_Preview->SetColors( m_aBackColor, m_aTextColor, m_aLinkColor,
m_aVLinkColor, m_aALinkColor );
pPage6_Preview->Invalidate();
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index 063c6ec176ce..a5a8a61b2d33 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -515,7 +515,7 @@ bool ImplSdPPTImport::Import()
DffRecordHeader aHyperE;
if ( !SeekToRec( rStCtrl, PPT_PST_ExHyperlink, nExObjHyperListLen, &aHyperE ) )
break;
- if ( !SeekToRec( rStCtrl, PPT_PST_ExHyperlinkAtom, nExObjHyperListLen, NULL, 0 ) )
+ if ( !SeekToRec( rStCtrl, PPT_PST_ExHyperlinkAtom, nExObjHyperListLen, NULL ) )
break;
rStCtrl.SeekRel( 8 );
rStCtrl.ReadUInt32( pPtr->nIndex );
@@ -716,7 +716,7 @@ bool ImplSdPPTImport::Import()
if ( pNotesClone )
{
OUString aLayoutName( static_cast<SdPage*>(pSdrModel->GetMasterPage( nAktPageNum - 1 ))->GetLayoutName() );
- static_cast<SdPage*>(pNotesClone)->SetPresentationLayout( aLayoutName, false, false, false );
+ static_cast<SdPage*>(pNotesClone)->SetPresentationLayout( aLayoutName, false, false );
static_cast<SdPage*>(pNotesClone)->SetLayoutName( aLayoutName );
}
}
@@ -1170,7 +1170,7 @@ bool ImplSdPPTImport::Import()
}
if ( mbDocumentFound )
{
- mpDoc->SetSummationOfParagraphs( true );
+ mpDoc->SetSummationOfParagraphs();
if ( pDocShell )
{
::sd::FrameView* pFrameView = mpDoc->GetFrameView( 0 );
@@ -1316,7 +1316,7 @@ bool ImplSdPPTImport::Import()
// set the current custom show
if ( !aCustomShow.isEmpty() )
{
- SdCustomShowList* pList = mpDoc->GetCustomShowList( false );
+ SdCustomShowList* pList = mpDoc->GetCustomShowList();
if ( pList )
{
SdCustomShow* pPtr = NULL;
@@ -1855,7 +1855,7 @@ OUString ImplSdPPTImport::ReadSound(sal_uInt32 nSoundRef) const
if ( OUString::number(nSoundRef) == aRefStr )
{
rStCtrl.Seek( nPosMerk2 );
- if ( SeekToRec( rStCtrl, PPT_PST_CString, nStrLen, NULL, 0 ) )
+ if ( SeekToRec( rStCtrl, PPT_PST_CString, nStrLen, NULL ) )
{
ReadString( aRetval );
bDone = true;
@@ -1889,7 +1889,7 @@ OUString ImplSdPPTImport::ReadSound(sal_uInt32 nSoundRef) const
{
rStCtrl.Seek( nPosMerk2 );
DffRecordHeader aSoundDataRecHd;
- if ( SeekToRec( rStCtrl, PPT_PST_SoundData, nStrLen, &aSoundDataRecHd, 0 ) )
+ if ( SeekToRec( rStCtrl, PPT_PST_SoundData, nStrLen, &aSoundDataRecHd ) )
{
OUString aGalleryDir( SvtPathOptions().GetGalleryPath() );
sal_Int32 nTokenCount = comphelper::string::getTokenCount(aGalleryDir, ';');
@@ -2594,7 +2594,7 @@ SdrObject* ImplSdPPTImport::ProcessObj( SvStream& rSt, DffObjData& rObjData, voi
sal_uInt32 nFilePosMerk2 = rSt.Tell();
OUString aMacroName;
- if(SeekToRec( rSt, PPT_PST_CString, nHdRecEnd, NULL, 0 ) )
+ if(SeekToRec( rSt, PPT_PST_CString, nHdRecEnd, NULL ) )
ReadString(aMacroName);
rSt.Seek( nFilePosMerk2 );
diff --git a/sd/source/ui/accessibility/AccessibleOutlineView.cxx b/sd/source/ui/accessibility/AccessibleOutlineView.cxx
index 0e1015cf6301..f7f6477cb3dd 100644
--- a/sd/source/ui/accessibility/AccessibleOutlineView.cxx
+++ b/sd/source/ui/accessibility/AccessibleOutlineView.cxx
@@ -205,7 +205,7 @@ void AccessibleOutlineView::Activated()
SolarMutexGuard aGuard;
// delegate listener handling to children manager.
- maTextHelper.SetFocus(true);
+ maTextHelper.SetFocus();
}
void AccessibleOutlineView::Deactivated()
diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx
index f0bf4bf81c1e..fb1e256c4305 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationDialog.cxx
@@ -1767,7 +1767,7 @@ CustomAnimationDurationTabPage::CustomAnimationDurationTabPage(vcl::Window* pPar
continue;
}
- OUString aDescription( getShapeDescription( xShape, true ) );
+ OUString aDescription( getShapeDescription( xShape ) );
sal_Int32 nPos = mpLBTrigger->InsertEntry( aDescription );
mpLBTrigger->SetEntryData( nPos, reinterpret_cast<void*>((sal_IntPtr)nShape) );
@@ -1804,7 +1804,7 @@ IMPL_LINK( CustomAnimationDurationTabPage, implControlHdl, Control*, pControl )
if( pControl == mpLBTrigger )
{
mpRBClickSequence->Check( false );
- mpRBInteractive->Check( true );
+ mpRBInteractive->Check();
}
return 0;
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx
index aece524ddcbf..c34370f11fae 100644
--- a/sd/source/ui/animations/CustomAnimationPane.cxx
+++ b/sd/source/ui/animations/CustomAnimationPane.cxx
@@ -2245,7 +2245,7 @@ void CustomAnimationPane::markShapesFromSelectedEffects()
Reference< XShape > xShape( pEffect->getTargetShape() );
SdrObject* pObj = GetSdrObjectFromXShape( xShape );
if( pObj )
- pView->MarkObj(pObj, pView->GetSdrPageView(), false, false);
+ pView->MarkObj(pObj, pView->GetSdrPageView(), false);
}
}
}
diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx
index c4892adddf40..05121ceae9de 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -382,7 +382,7 @@ struct lcl_AppendSoundToListBox : public ::std::unary_function< OUString, void >
void operator() ( const OUString & rString ) const
{
INetURLObject aURL( rString );
- mrListBox->InsertEntry( aURL.GetBase(), LISTBOX_APPEND );
+ mrListBox->InsertEntry( aURL.GetBase() );
}
private:
diff --git a/sd/source/ui/animations/motionpathtag.cxx b/sd/source/ui/animations/motionpathtag.cxx
index 949b56c06d4e..924390906ddf 100644
--- a/sd/source/ui/animations/motionpathtag.cxx
+++ b/sd/source/ui/animations/motionpathtag.cxx
@@ -737,7 +737,7 @@ bool MotionPathTag::OnMove( const KeyEvent& rKEvt )
// switch snapping off
if(!bWasNoSnap)
- ((SdrDragStat&)mrView.GetDragStat()).SetNoSnap(true);
+ ((SdrDragStat&)mrView.GetDragStat()).SetNoSnap();
if(bWasSnapEnabled)
mrView.SetSnapEnabled(false);
diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx
index d47d60ecb93d..2dcc76389af2 100644
--- a/sd/source/ui/annotations/annotationwindow.cxx
+++ b/sd/source/ui/annotations/annotationwindow.cxx
@@ -639,7 +639,7 @@ void AnnotationWindow::Deactivate()
if( mpDoc->IsUndoEnabled() )
mpDoc->EndUndo();
- DocView()->GetDocSh()->SetModified(true);
+ DocView()->GetDocSh()->SetModified();
}
}