summaryrefslogtreecommitdiff
path: root/sd/source/ui/view
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-08 13:53:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-09 21:04:23 +0100
commit34f333445c54c87f3afe777fa467f7a2bb122208 (patch)
tree542b1f2344c9da43ca33da8afec890acc01e712e /sd/source/ui/view
parentb4f38d8b788018b3f88421d72bb82ad3bdeef9e2 (diff)
loplugin:indentation in sd
Change-Id: I8ce307b8c467ac1e3f19faca1df15a079bc14169 Reviewed-on: https://gerrit.libreoffice.org/67563 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r--sd/source/ui/view/drviews2.cxx2
-rw-r--r--sd/source/ui/view/drviewsf.cxx4
-rw-r--r--sd/source/ui/view/outlview.cxx4
-rw-r--r--sd/source/ui/view/sdview.cxx2
-rw-r--r--sd/source/ui/view/sdview3.cxx2
-rw-r--r--sd/source/ui/view/unmodpg.cxx4
6 files changed, 9 insertions, 9 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 691c1a7eb787..d7bf382f5ec3 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -1982,7 +1982,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
std::unique_ptr<weld::MessageDialog> xWarn(Application::CreateMessageDialog(GetFrameWeld(),
VclMessageType::Warning, VclButtonsType::Ok,
SdResId(STR_WARN_NAME_DUPLICATE)));
- xWarn->run();
+ xWarn->run();
}
else
bLoop = false;
diff --git a/sd/source/ui/view/drviewsf.cxx b/sd/source/ui/view/drviewsf.cxx
index 5261ff37d6d2..48659c094ddf 100644
--- a/sd/source/ui/view/drviewsf.cxx
+++ b/sd/source/ui/view/drviewsf.cxx
@@ -617,7 +617,7 @@ void DrawViewShell::GetAttrState( SfxItemSet& rSet )
if ( pBullets )
{
sal_uInt16 nBulIndex = pBullets->GetNBOIndexForNumRule(*pNumRule,nActNumLvl);
- rSet.Put(SfxUInt16Item(FN_BUL_NUM_RULE_INDEX,nBulIndex));
+ rSet.Put(SfxUInt16Item(FN_BUL_NUM_RULE_INDEX,nBulIndex));
}
}else
{
@@ -625,7 +625,7 @@ void DrawViewShell::GetAttrState( SfxItemSet& rSet )
if ( pNumbering )
{
sal_uInt16 nBulIndex = pNumbering->GetNBOIndexForNumRule(*pNumRule,nActNumLvl);
- rSet.Put(SfxUInt16Item(FN_NUM_NUM_RULE_INDEX,nBulIndex));
+ rSet.Put(SfxUInt16Item(FN_NUM_NUM_RULE_INDEX,nBulIndex));
}
}
}
diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx
index 32ead7b49988..743b00a104a4 100644
--- a/sd/source/ui/view/outlview.cxx
+++ b/sd/source/ui/view/outlview.cxx
@@ -706,7 +706,7 @@ IMPL_LINK( OutlineView, DepthChangedHdl, ::Outliner::DepthChangeHdlParam, aParam
// before we set the style sheet we need to preserve the bullet item
// since all items will be deleted while setting a new style sheet
- SfxItemSet aOldAttrs( pOutliner->GetParaAttribs( nPara ) );
+ SfxItemSet aOldAttrs( pOutliner->GetParaAttribs( nPara ) );
pOutliner->SetStyleSheet( nPara, pStyleSheet );
@@ -1227,7 +1227,7 @@ void OutlineView::SetActualPage( SdPage const * pActual )
*/
SfxStyleSheet* OutlineView::GetStyleSheet() const
{
- ::sd::Window* pActWin = mrOutlineViewShell.GetActiveWindow();
+ ::sd::Window* pActWin = mrOutlineViewShell.GetActiveWindow();
OutlinerView* pOlView = GetViewByWindow(pActWin);
SfxStyleSheet* pResult = pOlView->GetStyleSheet();
return pResult;
diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx
index 392c709c5890..6c80320db1b1 100644
--- a/sd/source/ui/view/sdview.cxx
+++ b/sd/source/ui/view/sdview.cxx
@@ -854,7 +854,7 @@ void View::SetMarkedOriginalSize()
{
// TODO/LEAN: working with VisualArea can switch object to running state
- sal_Int64 nAspect = static_cast<SdrOle2Obj*>(pObj)->GetAspect();
+ sal_Int64 nAspect = static_cast<SdrOle2Obj*>(pObj)->GetAspect();
Size aOleSize;
if ( nAspect == embed::Aspects::MSOLE_ICON )
diff --git a/sd/source/ui/view/sdview3.cxx b/sd/source/ui/view/sdview3.cxx
index 0db3d07f7dd6..3c96e5abd9a8 100644
--- a/sd/source/ui/view/sdview3.cxx
+++ b/sd/source/ui/view/sdview3.cxx
@@ -1445,7 +1445,7 @@ bool View::InsertData( const TransferableDataHelper& rDataHelper,
if( pOLV )
{
::tools::Rectangle aRect( pOLV->GetOutputArea() );
- Point aPos( pOLV->GetWindow()->PixelToLogic( maDropPos ) );
+ Point aPos( pOLV->GetWindow()->PixelToLogic( maDropPos ) );
if( aRect.IsInside( aPos ) || ( !bDrag && IsTextEdit() ) )
{
diff --git a/sd/source/ui/view/unmodpg.cxx b/sd/source/ui/view/unmodpg.cxx
index b82e3413f717..af7c753836c7 100644
--- a/sd/source/ui/view/unmodpg.cxx
+++ b/sd/source/ui/view/unmodpg.cxx
@@ -78,7 +78,7 @@ void ModifyPageUndoAction::Undo()
{
// invalidate Selection, there could be objects deleted in this UNDO
// which are no longer allowed to be selected then.
- SdrViewIter aIter(mpPage);
+ SdrViewIter aIter(mpPage);
SdrView* pView = aIter.FirstView();
while(pView)
@@ -121,7 +121,7 @@ void ModifyPageUndoAction::Redo()
{
// invalidate Selection, there could be objects deleted in this UNDO
// which are no longer allowed to be selected then.
- SdrViewIter aIter(mpPage);
+ SdrViewIter aIter(mpPage);
SdrView* pView = aIter.FirstView();
while(pView)