summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-20 13:01:16 +0200
committerNoel Grandin <noel@peralex.com>2015-08-20 13:52:17 +0200
commit0670872ce0d191cf93481215025cafd2062b8a8f (patch)
tree0189c6c9a515f498ae8a19289175d9398e68bcf8
parent18793ae6a2d537b2546a3b9b1659a4cba63f1b80 (diff)
loplugin: defaultparams
Change-Id: I54b72087ea3f38b2430c3c62aaff195bbd301b99
-rw-r--r--sd/source/ui/view/MediaObjectBar.cxx2
-rw-r--r--sd/source/ui/view/Outliner.cxx6
-rw-r--r--sd/source/ui/view/drawview.cxx2
-rw-r--r--sd/source/ui/view/drtxtob1.cxx14
-rw-r--r--sd/source/ui/view/drviews1.cxx12
-rw-r--r--sd/source/ui/view/drviews2.cxx12
-rw-r--r--sd/source/ui/view/drviews4.cxx4
-rw-r--r--sd/source/ui/view/drviews5.cxx2
-rw-r--r--sd/source/ui/view/drviewsa.cxx4
-rw-r--r--sd/source/ui/view/drviewsb.cxx4
-rw-r--r--sd/source/ui/view/drviewse.cxx2
-rw-r--r--sd/source/ui/view/drviewsg.cxx2
-rw-r--r--sd/source/ui/view/drviewsj.cxx6
-rw-r--r--sd/source/ui/view/frmview.cxx2
-rw-r--r--sd/source/ui/view/outlnvsh.cxx2
-rw-r--r--sd/source/ui/view/outlview.cxx6
-rw-r--r--sd/source/ui/view/sdview2.cxx2
-rw-r--r--sd/source/ui/view/sdview4.cxx2
-rw-r--r--sd/source/ui/view/viewshe2.cxx2
-rw-r--r--sd/source/ui/view/viewshel.cxx12
20 files changed, 50 insertions, 50 deletions
diff --git a/sd/source/ui/view/MediaObjectBar.cxx b/sd/source/ui/view/MediaObjectBar.cxx
index b688312f5277..64d7884823ff 100644
--- a/sd/source/ui/view/MediaObjectBar.cxx
+++ b/sd/source/ui/view/MediaObjectBar.cxx
@@ -136,7 +136,7 @@ void MediaObjectBar::Execute( SfxRequest& rReq )
//fdo #32598: after changing playback opts, set document's modified flag
SdDrawDocument& rDoc = mpView->GetDoc();
- rDoc.SetChanged(true);
+ rDoc.SetChanged();
}
}
}
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index 4a332660ff86..febf62f80548 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -334,7 +334,7 @@ void Outliner::EndSpelling()
if(mpView && mpView->ISA(OutlineView))
static_cast<OutlineView*>(mpView)->PrepareClose(false);
if(mpDrawDocument && !mpDrawDocument->IsChanged())
- mpDrawDocument->SetChanged(true);
+ mpDrawDocument->SetChanged();
}
// Now clear the modify flag to have a specified state of
@@ -1574,13 +1574,13 @@ sal_uInt16 Outliner::ShowModalMessageBox (Dialog& rMessageBox)
if (pChildWindow != NULL)
pSearchDialog = pChildWindow->GetWindow();
if (pSearchDialog != NULL)
- pSearchDialog->EnableInput(false,true);
+ pSearchDialog->EnableInput(false);
sal_uInt16 nResult = rMessageBox.Execute();
// Unlock the search dialog.
if (pSearchDialog != NULL)
- pSearchDialog->EnableInput(true,true);
+ pSearchDialog->EnableInput();
return nResult;
}
diff --git a/sd/source/ui/view/drawview.cxx b/sd/source/ui/view/drawview.cxx
index 5f5cc299b865..9df992965cc2 100644
--- a/sd/source/ui/view/drawview.cxx
+++ b/sd/source/ui/view/drawview.cxx
@@ -86,7 +86,7 @@ DrawView::DrawView( DrawDocShell* pDocSh, OutputDevice* pOutDev, DrawViewShell*
, mpVDev(NULL)
, mnPOCHSmph(0)
{
- SetCurrentObj(OBJ_RECT, SdrInventor);
+ SetCurrentObj(OBJ_RECT);
}
DrawView::~DrawView()
diff --git a/sd/source/ui/view/drtxtob1.cxx b/sd/source/ui/view/drtxtob1.cxx
index 09a4a594be7a..fea331f1813f 100644
--- a/sd/source/ui/view/drtxtob1.cxx
+++ b/sd/source/ui/view/drtxtob1.cxx
@@ -227,7 +227,7 @@ void TextObjectBar::Execute( SfxRequest &rReq )
Invalidate();
// to refresh preview (in outline mode), slot has to be invalidated:
- mpViewShell->GetViewFrame()->GetBindings().Invalidate( SID_PREVIEW_STATE, true, false );
+ mpViewShell->GetViewFrame()->GetBindings().Invalidate( SID_PREVIEW_STATE, true );
}
break;
@@ -240,7 +240,7 @@ void TextObjectBar::Execute( SfxRequest &rReq )
// Ensure bold/italic etc. icon state updates
Invalidate();
// trigger preview refresh
- mpViewShell->GetViewFrame()->GetBindings().Invalidate( SID_PREVIEW_STATE, true, false );
+ mpViewShell->GetViewFrame()->GetBindings().Invalidate( SID_PREVIEW_STATE, true );
}
rReq.Done();
}
@@ -255,7 +255,7 @@ void TextObjectBar::Execute( SfxRequest &rReq )
// Ensure bold/italic etc. icon state updates
Invalidate();
// trigger preview refresh
- mpViewShell->GetViewFrame()->GetBindings().Invalidate( SID_PREVIEW_STATE, true, false );
+ mpViewShell->GetViewFrame()->GetBindings().Invalidate( SID_PREVIEW_STATE, true );
}
rReq.Done();
}
@@ -284,7 +284,7 @@ void TextObjectBar::Execute( SfxRequest &rReq )
pOLV->AdjustHeight( -1 );
// trigger preview refresh
- mpViewShell->GetViewFrame()->GetBindings().Invalidate( SID_PREVIEW_STATE, true, false );
+ mpViewShell->GetViewFrame()->GetBindings().Invalidate( SID_PREVIEW_STATE, true );
}
rReq.Done();
}
@@ -297,7 +297,7 @@ void TextObjectBar::Execute( SfxRequest &rReq )
pOLV->AdjustHeight( 1 );
// trigger preview refresh
- mpViewShell->GetViewFrame()->GetBindings().Invalidate( SID_PREVIEW_STATE, true, false );
+ mpViewShell->GetViewFrame()->GetBindings().Invalidate( SID_PREVIEW_STATE, true );
}
rReq.Done();
}
@@ -315,7 +315,7 @@ void TextObjectBar::Execute( SfxRequest &rReq )
rReq.Done( aAttr );
mpView->SetAttributes( aAttr );
Invalidate();
- mpViewShell->GetViewFrame()->GetBindings().Invalidate( SID_PREVIEW_STATE, true, false );
+ mpViewShell->GetViewFrame()->GetBindings().Invalidate( SID_PREVIEW_STATE, true );
}
break;
@@ -691,7 +691,7 @@ void TextObjectBar::Execute( SfxRequest &rReq )
Invalidate();
// to refresh preview (in outline mode), slot has to be invalidated:
- mpViewShell->GetViewFrame()->GetBindings().Invalidate( SID_PREVIEW_STATE, true, false );
+ mpViewShell->GetViewFrame()->GetBindings().Invalidate( SID_PREVIEW_STATE, true );
}
break;
}
diff --git a/sd/source/ui/view/drviews1.cxx b/sd/source/ui/view/drviews1.cxx
index c3f0acfc7943..32cd1d4e0dff 100644
--- a/sd/source/ui/view/drviews1.cxx
+++ b/sd/source/ui/view/drviews1.cxx
@@ -1101,12 +1101,12 @@ bool DrawViewShell::SwitchPage(sal_uInt16 nSelectedPage)
// so navigator (and effect window) notice that
SfxBindings& rBindings = GetViewFrame()->GetBindings();
- rBindings.Invalidate(SID_NAVIGATOR_PAGENAME, true, false);
- rBindings.Invalidate(SID_STATUS_PAGE, true, false);
- rBindings.Invalidate(SID_DELETE_MASTER_PAGE, true, false);
- rBindings.Invalidate(SID_DELETE_PAGE, true, false);
- rBindings.Invalidate(SID_ASSIGN_LAYOUT, true, false);
- rBindings.Invalidate(SID_INSERTPAGE, true, false);
+ rBindings.Invalidate(SID_NAVIGATOR_PAGENAME, true);
+ rBindings.Invalidate(SID_STATUS_PAGE, true);
+ rBindings.Invalidate(SID_DELETE_MASTER_PAGE, true);
+ rBindings.Invalidate(SID_DELETE_PAGE, true);
+ rBindings.Invalidate(SID_ASSIGN_LAYOUT, true);
+ rBindings.Invalidate(SID_INSERTPAGE, true);
UpdatePreview( mpActualPage );
mpDrawView->AdjustMarkHdl();
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 68e4914a0a40..103a892d7419 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -1494,7 +1494,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
ResetActualLayer();
- GetDoc()->SetChanged(true);
+ GetDoc()->SetChanged();
GetViewFrame()->GetDispatcher()->Execute(SID_SWITCHLAYER,
SfxCallMode::ASYNCHRON | SfxCallMode::RECORD);
@@ -2098,7 +2098,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
}
SfxBindings& rBindings = GetViewFrame()->GetBindings();
- rBindings.Invalidate( SID_NAVIGATOR_STATE, true, false );
+ rBindings.Invalidate( SID_NAVIGATOR_STATE, true );
rBindings.Invalidate( SID_CONTEXT );
Cancel();
@@ -2131,7 +2131,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
}
SfxBindings& rBindings = GetViewFrame()->GetBindings();
- rBindings.Invalidate( SID_NAVIGATOR_STATE, true, false );
+ rBindings.Invalidate( SID_NAVIGATOR_STATE, true );
rBindings.Invalidate( SID_CONTEXT );
Cancel();
@@ -2278,10 +2278,10 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
case SID_DISMANTLE: // BASIC
{
- if ( mpDrawView->IsDismantlePossible(false) )
+ if ( mpDrawView->IsDismantlePossible() )
{
WaitObject aWait( GetActiveWindow() );
- mpDrawView->DismantleMarkedObjects(false);
+ mpDrawView->DismantleMarkedObjects();
}
Cancel();
rReq.Done ();
@@ -2298,7 +2298,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
else
{
WaitObject aWait( GetActiveWindow() );
- mpDrawView->CombineMarkedObjects(true);
+ mpDrawView->CombineMarkedObjects();
}
Cancel();
rReq.Done ();
diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx
index 548dbf4e314f..0136d122b91b 100644
--- a/sd/source/ui/view/drviews4.cxx
+++ b/sd/source/ui/view/drviews4.cxx
@@ -224,7 +224,7 @@ void DrawViewShell::StartRulerDrag (
{
// #i34536# if no guide-lines are visible yet, that show them
if( ! mpDrawView->IsHlplVisible())
- mpDrawView->SetHlplVisible( true );
+ mpDrawView->SetHlplVisible();
SdrHelpLineKind eKind;
@@ -919,7 +919,7 @@ void DrawViewShell::ShowSnapLineContextMenu (
SD_RESSTR(STR_POPUP_DELETE_SNAPLINE));
}
- pMenu->RemoveDisabledEntries(false, false);
+ pMenu->RemoveDisabledEntries(false);
const sal_uInt16 nResult = pMenu->Execute(
GetActiveWindow(),
diff --git a/sd/source/ui/view/drviews5.cxx b/sd/source/ui/view/drviews5.cxx
index 71d60ae94c7c..d42f2aa894d8 100644
--- a/sd/source/ui/view/drviews5.cxx
+++ b/sd/source/ui/view/drviews5.cxx
@@ -70,7 +70,7 @@ void DrawViewShell::ModelHasChanged()
{
Invalidate();
// that the navigator also gets an up to date state
- GetViewFrame()->GetBindings().Invalidate( SID_NAVIGATOR_STATE, true, false );
+ GetViewFrame()->GetBindings().Invalidate( SID_NAVIGATOR_STATE, true );
SfxBoolItem aItem( SID_3D_STATE, true );
GetViewFrame()->GetDispatcher()->Execute(
diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx
index 73ecd791e61e..188a535927e2 100644
--- a/sd/source/ui/view/drviewsa.cxx
+++ b/sd/source/ui/view/drviewsa.cxx
@@ -219,7 +219,7 @@ void DrawViewShell::Construct(DrawDocShell* pDocSh, PageKind eInitialPageKind)
mpDrawView = new DrawView(pDocSh, GetActiveWindow(), this);
mpView = mpDrawView; // Pointer of base class ViewShell
- mpDrawView->SetSwapAsynchron(true); // Asynchronous load of graphics
+ mpDrawView->SetSwapAsynchron(); // Asynchronous load of graphics
// We do not read the page kind from the frame view anymore so we have
// to set it in order to resync frame view and this view.
@@ -313,7 +313,7 @@ void DrawViewShell::Construct(DrawDocShell* pDocSh, PageKind eInitialPageKind)
// start selection function
SfxRequest aReq(SID_OBJECT_SELECT, SfxCallMode::SLOT, GetDoc()->GetItemPool());
FuPermanent(aReq);
- mpDrawView->SetFrameDragSingles(true);
+ mpDrawView->SetFrameDragSingles();
if (pDocSh->GetCreateMode() == SfxObjectCreateMode::EMBEDDED)
{
diff --git a/sd/source/ui/view/drviewsb.cxx b/sd/source/ui/view/drviewsb.cxx
index 03c5a49e4cdd..cdad44212dc0 100644
--- a/sd/source/ui/view/drviewsb.cxx
+++ b/sd/source/ui/view/drviewsb.cxx
@@ -117,7 +117,7 @@ bool DrawViewShell::RenameSlide( sal_uInt16 nPageId, const OUString & rName )
maTabControl->SetPageText( nPageId, rName );
// set document to modified state
- GetDoc()->SetChanged( true );
+ GetDoc()->SetChanged();
// inform navigator about change
SfxBoolItem aItem( SID_NAVIGATOR_INIT, true );
@@ -188,7 +188,7 @@ void DrawViewShell::ModifyLayer (
mpDrawView->SetLayerLocked( rLayerName, bIsLocked);
mpDrawView->SetLayerPrintable(rLayerName, bIsPrintable);
- GetDoc()->SetChanged(true);
+ GetDoc()->SetChanged();
GetLayerTabControl()->SetPageText(nCurPage, rLayerName);
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx
index 093b46d31665..93bd8f5cc624 100644
--- a/sd/source/ui/view/drviewse.cxx
+++ b/sd/source/ui/view/drviewse.cxx
@@ -638,7 +638,7 @@ void DrawViewShell::FuDeleteSelectedObjects()
bool bConsumed = false;
//if any placeholders are selected
- if (mpDrawView->IsPresObjSelected(false, true, false, false))
+ if (mpDrawView->IsPresObjSelected(false, true, false))
{
//If there are placeholders in the list which can be toggled
//off in edit->master->master elements then do that here,
diff --git a/sd/source/ui/view/drviewsg.cxx b/sd/source/ui/view/drviewsg.cxx
index 839cdd405968..94bb4df5e5c4 100644
--- a/sd/source/ui/view/drviewsg.cxx
+++ b/sd/source/ui/view/drviewsg.cxx
@@ -66,7 +66,7 @@ void DrawViewShell::ExecIMap( SfxRequest& rReq )
else
pIMapInfo->SetImageMap( rImageMap );
- GetDoc()->SetChanged( true );
+ GetDoc()->SetChanged();
}
}
}
diff --git a/sd/source/ui/view/drviewsj.cxx b/sd/source/ui/view/drviewsj.cxx
index fabeb636bb63..503b7404ae52 100644
--- a/sd/source/ui/view/drviewsj.cxx
+++ b/sd/source/ui/view/drviewsj.cxx
@@ -248,7 +248,7 @@ void DrawViewShell::GetMenuStateSel( SfxItemSet &rSet )
if( SfxItemState::DEFAULT == rSet.GetItemState( SID_DISMANTLE ) ||
SfxItemState::DEFAULT == rSet.GetItemState( SID_BREAK ) )
{
- if ( !mpDrawView->IsDismantlePossible(false) )
+ if ( !mpDrawView->IsDismantlePossible() )
{
rSet.DisableItem( SID_DISMANTLE );
}
@@ -434,7 +434,7 @@ void DrawViewShell::GetMenuStateSel( SfxItemSet &rSet )
}
}
- if ( !mpDrawView->IsDismantlePossible(false) )
+ if ( !mpDrawView->IsDismantlePossible() )
{
rSet.DisableItem( SID_DISMANTLE );
}
@@ -444,7 +444,7 @@ void DrawViewShell::GetMenuStateSel( SfxItemSet &rSet )
{
rSet.DisableItem( SID_BREAK );
}
- if ( !mpDrawView->IsCombinePossible(false) )
+ if ( !mpDrawView->IsCombinePossible() )
{
rSet.DisableItem(SID_COMBINE);
rSet.DisableItem(SID_POLY_MERGE);
diff --git a/sd/source/ui/view/frmview.cxx b/sd/source/ui/view/frmview.cxx
index 79ee37a28040..03db5e64631d 100644
--- a/sd/source/ui/view/frmview.cxx
+++ b/sd/source/ui/view/frmview.cxx
@@ -66,7 +66,7 @@ FrameView::FrameView(SdDrawDocument* pDrawDoc, FrameView* pFrameView /* = NULK *
SetGridFront( false );
SetHlplFront( false );
SetOConSnap( false );
- SetFrameDragSingles( true );
+ SetFrameDragSingles();
SetSlidesPerRow(4);
if( NULL == pFrameView )
diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx
index ed7dde9c1f41..a690de1acc08 100644
--- a/sd/source/ui/view/outlnvsh.cxx
+++ b/sd/source/ui/view/outlnvsh.cxx
@@ -911,7 +911,7 @@ void OutlineViewShell::GetMenuState( SfxItemSet &rSet )
if (pOlView->GetOutliner().IsModified())
{
- GetDoc()->SetChanged(true);
+ GetDoc()->SetChanged();
}
// the status has to be set here because of overriding
diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx
index 768571807d3f..17fe87548108 100644
--- a/sd/source/ui/view/outlview.cxx
+++ b/sd/source/ui/view/outlview.cxx
@@ -90,7 +90,7 @@ TYPEINIT1( OutlineView, ::sd::View );
OutlineView::OutlineView( DrawDocShell& rDocSh, vcl::Window* pWindow, OutlineViewShell& rOutlineViewShell)
: ::sd::View(*rDocSh.GetDoc(), pWindow, &rOutlineViewShell)
, mrOutlineViewShell(rOutlineViewShell)
-, mrOutliner(*mrDoc.GetOutliner(true))
+, mrOutliner(*mrDoc.GetOutliner())
, mnPagesToProcess(0)
, mnPagesProcessed(0)
, mbFirstPaint(true)
@@ -1542,7 +1542,7 @@ void OutlineView::TryToMergeUndoActions()
::svl::IUndoManager& rOutlineUndo = mrOutliner.GetUndoManager();
if( rOutlineUndo.GetUndoActionCount() > 1 )
{
- SfxListUndoAction* pListAction = dynamic_cast< SfxListUndoAction* >( rOutlineUndo.GetUndoAction(0) );
+ SfxListUndoAction* pListAction = dynamic_cast< SfxListUndoAction* >( rOutlineUndo.GetUndoAction() );
SfxListUndoAction* pPrevListAction = dynamic_cast< SfxListUndoAction* >( rOutlineUndo.GetUndoAction(1) );
if( pListAction && pPrevListAction )
{
@@ -1599,7 +1599,7 @@ void OutlineView::TryToMergeUndoActions()
}
if( pLinkAction && pPrevLinkAction &&
- ( pLinkAction->GetAction() == pDocUndoManager->GetUndoAction(0) ) &&
+ ( pLinkAction->GetAction() == pDocUndoManager->GetUndoAction() ) &&
( pPrevLinkAction->GetAction() == pDocUndoManager->GetUndoAction(1) ) )
{
SfxListUndoAction* pSourceList = dynamic_cast< SfxListUndoAction* >(pLinkAction->GetAction());
diff --git a/sd/source/ui/view/sdview2.cxx b/sd/source/ui/view/sdview2.cxx
index 79a022b9be14..d42107254cf6 100644
--- a/sd/source/ui/view/sdview2.cxx
+++ b/sd/source/ui/view/sdview2.cxx
@@ -320,7 +320,7 @@ void View::DoPaste (vcl::Window* pWindow)
if( !mrDoc.IsChanged() )
{
if( pOutliner && pOutliner->IsModified() )
- mrDoc.SetChanged( true );
+ mrDoc.SetChanged();
}
}
}
diff --git a/sd/source/ui/view/sdview4.cxx b/sd/source/ui/view/sdview4.cxx
index 1616d619d711..0ce3beea00fd 100644
--- a/sd/source/ui/view/sdview4.cxx
+++ b/sd/source/ui/view/sdview4.cxx
@@ -126,7 +126,7 @@ SdrGrafObj* View::InsertGraphic( const Graphic& rGraphic, sal_Int8& rAction,
if ( pNewGrafObj->IsEmptyPresObj() )
{
Rectangle aRect( pNewGrafObj->GetLogicRect() );
- pNewGrafObj->AdjustToMaxRect( aRect, false );
+ pNewGrafObj->AdjustToMaxRect( aRect );
pNewGrafObj->SetOutlinerParaObject(NULL);
pNewGrafObj->SetEmptyPresObj(false);
}
diff --git a/sd/source/ui/view/viewshe2.cxx b/sd/source/ui/view/viewshe2.cxx
index fe3ccb9ddae1..d40db5c9220d 100644
--- a/sd/source/ui/view/viewshe2.cxx
+++ b/sd/source/ui/view/viewshe2.cxx
@@ -861,7 +861,7 @@ bool ViewShell::ActivateObject(SdrOle2Obj* pObj, long nVerb)
pSdClient->DoVerb(nVerb); // if necessary, ErrCode is outputted by Sfx
pViewShell->GetViewFrame()->GetBindings().Invalidate(
- SID_NAVIGATOR_STATE, true, false);
+ SID_NAVIGATOR_STATE, true);
}
GetDocSh()->SetWaitCursor( false );
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index 396a796e833a..dc49a6b508cd 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -307,9 +307,9 @@ void ViewShell::Activate(bool bIsMDIActivate)
gets the focus. */
if (mpHorizontalRuler.get() != NULL)
- mpHorizontalRuler->SetActive(true);
+ mpHorizontalRuler->SetActive();
if (mpVerticalRuler.get() != NULL)
- mpVerticalRuler->SetActive(true);
+ mpVerticalRuler->SetActive();
if (bIsMDIActivate)
{
@@ -325,7 +325,7 @@ void ViewShell::Activate(bool bIsMDIActivate)
SfxViewShell* pViewShell = GetViewShell();
OSL_ASSERT (pViewShell!=NULL);
SfxBindings& rBindings = pViewShell->GetViewFrame()->GetBindings();
- rBindings.Invalidate( SID_3D_STATE, true, false );
+ rBindings.Invalidate( SID_3D_STATE, true );
rtl::Reference< SlideShow > xSlideShow( SlideShow::GetSlideShow( GetViewShellBase() ) );
if(xSlideShow.is() && xSlideShow->isRunning() )
@@ -843,7 +843,7 @@ void ViewShell::SetupRulers()
if ( mpVerticalRuler.get() != NULL )
{
nHRulerOfs = mpVerticalRuler->GetSizePixel().Width();
- mpVerticalRuler->SetActive(true);
+ mpVerticalRuler->SetActive();
mpVerticalRuler->Show();
}
}
@@ -853,7 +853,7 @@ void ViewShell::SetupRulers()
if ( mpHorizontalRuler.get() != NULL )
{
mpHorizontalRuler->SetWinPos(nHRulerOfs);
- mpHorizontalRuler->SetActive(true);
+ mpHorizontalRuler->SetActive();
mpHorizontalRuler->Show();
}
}
@@ -924,7 +924,7 @@ const SfxPoolItem* ViewShell::GetNumBulletItem(SfxItemSet& aNewAttr, sal_uInt16&
if(pRule)
{
SvxNumRule aNewRule( *pRule );
- aNewRule.SetFeatureFlag( SvxNumRuleFlags::NO_NUMBERS, true );
+ aNewRule.SetFeatureFlag( SvxNumRuleFlags::NO_NUMBERS );
SvxNumBulletItem aNewItem( aNewRule, EE_PARA_NUMBULLET );
aNewAttr.Put(aNewItem);