summaryrefslogtreecommitdiffstats
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-08 13:55:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-10 11:18:35 +0100
commitf68f3b98cc47868cda3a75298a211c5735c0a4e7 (patch)
tree13eed7d0b65c9e2c39f5274eed61c32d8976ae58 /starmath
parenttdf#39593 use existing find() to reduce copypaste (diff)
downloadcore-f68f3b98cc47868cda3a75298a211c5735c0a4e7.tar.gz
core-f68f3b98cc47868cda3a75298a211c5735c0a4e7.zip
loplugin:indentation in soltools..svl
Change-Id: I270a12cdb68920b8fa23b82dd933724e30334485 Reviewed-on: https://gerrit.libreoffice.org/67565 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/cursor.cxx2
-rw-r--r--starmath/source/mathmlexport.cxx2
-rw-r--r--starmath/source/mathtype.cxx4
-rw-r--r--starmath/source/smmod.cxx2
-rw-r--r--starmath/source/symbol.cxx2
-rw-r--r--starmath/source/unomodel.cxx2
-rw-r--r--starmath/source/view.cxx10
7 files changed, 12 insertions, 12 deletions
diff --git a/starmath/source/cursor.cxx b/starmath/source/cursor.cxx
index 3b6a61fe6326..f3c451528565 100644
--- a/starmath/source/cursor.cxx
+++ b/starmath/source/cursor.cxx
@@ -327,7 +327,7 @@ void SmCursor::InsertNodes(std::unique_ptr<SmNodeList> pNewNodes){
patchIt = insIt;
}
//Patch the places we've changed stuff
- PatchLineList(pLineList.get(), patchIt);
+ PatchLineList(pLineList.get(), patchIt);
SmCaretPos PosAfterInsert = PatchLineList(pLineList.get(), it);
//Release list, we've taken the nodes
pNewNodes.reset();
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 9e15844cd347..a1b842c7509e 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -203,7 +203,7 @@ bool SmXMLExportWrapper::Export(SfxMedium &rMedium)
}
if ( bRet )
{
- if (xStatusIndicator.is())
+ if (xStatusIndicator.is())
xStatusIndicator->setValue(nSteps++);
bRet = WriteThroughComponent(
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index 1a0bb30885a9..201034320fef 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -2287,7 +2287,7 @@ void MathType::HandleSubSupScript(SmNode *pNode,int nLevel)
}
else
pS->WriteUChar( LINE|0x10 );
- pS->WriteUChar( END ); //line
+ pS->WriteUChar( END ); //line
}
//After subscript mathtype will keep the size of
@@ -3259,7 +3259,7 @@ void MathType::HandleAttributes(SmNode *pNode,int nLevel)
pS->WriteUChar( 2 );
break;
}
- pS->Seek(nPos);
+ pS->Seek(nPos);
}
}
}
diff --git a/starmath/source/smmod.cxx b/starmath/source/smmod.cxx
index 7179c257e853..cec24592c43e 100644
--- a/starmath/source/smmod.cxx
+++ b/starmath/source/smmod.cxx
@@ -221,7 +221,7 @@ std::unique_ptr<SfxItemSet> SmModule::CreateItemSet( sal_uInt16 nId )
SID_NO_RIGHT_SPACES, SID_SAVE_ONLY_USED_SYMBOLS,
SID_AUTO_CLOSE_BRACKETS, SID_AUTO_CLOSE_BRACKETS>{});
- GetConfig()->ConfigToItemSet(*pRet);
+ GetConfig()->ConfigToItemSet(*pRet);
}
return pRet;
}
diff --git a/starmath/source/symbol.cxx b/starmath/source/symbol.cxx
index e2b2bf3abc49..e37c69c6726b 100644
--- a/starmath/source/symbol.cxx
+++ b/starmath/source/symbol.cxx
@@ -157,7 +157,7 @@ bool SmSymbolManager::AddOrReplaceSymbol( const SmSym &rSymbol, bool bForceChang
// global symbol manager somewhat to chance.
}
- OSL_ENSURE( bAdded, "failed to add symbol" );
+ OSL_ENSURE( bAdded, "failed to add symbol" );
if (bAdded)
m_bModified = true;
OSL_ENSURE( bAdded || (pFound && !bSymbolConflict), "AddOrReplaceSymbol: unresolved symbol conflict" );
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index f87ff05fb696..a3ae716c8e4d 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -875,7 +875,7 @@ void SmModel::_getPropertyValues( const PropertyMapEntry **ppEntries, Any *pValu
// #i33095# Security Options
case HANDLE_LOAD_READONLY :
{
- *pValue <<= pDocSh->IsLoadReadonly();
+ *pValue <<= pDocSh->IsLoadReadonly();
break;
}
// #i972#
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 4c47d9203678..f8c7b2f276d6 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -700,11 +700,11 @@ SmViewShell * SmCmdBoxWindow::GetView()
void SmCmdBoxWindow::Resize()
{
- tools::Rectangle aRect(Point(0, 0), GetOutputSizePixel());
- aRect.AdjustLeft(CMD_BOX_PADDING );
- aRect.AdjustTop(CMD_BOX_PADDING_TOP );
- aRect.AdjustRight( -(CMD_BOX_PADDING) );
- aRect.AdjustBottom( -(CMD_BOX_PADDING) );
+ tools::Rectangle aRect(Point(0, 0), GetOutputSizePixel());
+ aRect.AdjustLeft(CMD_BOX_PADDING );
+ aRect.AdjustTop(CMD_BOX_PADDING_TOP );
+ aRect.AdjustRight( -(CMD_BOX_PADDING) );
+ aRect.AdjustBottom( -(CMD_BOX_PADDING) );
DecorationView aView(this);
aRect = aView.DrawFrame(aRect, DrawFrameStyle::In, DrawFrameFlags::NoDraw);