diff options
author | Philipp Riemer <ruderphilipp@gmail.com> | 2013-04-07 21:35:43 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2013-04-08 08:25:29 +0000 |
commit | 88156809f742d95a6a59b94a657567653ea96ca8 (patch) | |
tree | 65900b3790e1c885c7967d9b168477fd010e50bb /sw | |
parent | 83d9c5562c27b5f766157eba70bebd320463a0af (diff) |
fix indentation
Change-Id: I6102b08a03349c4bdc6316f578dc2c90a4569716
Reviewed-on: https://gerrit.libreoffice.org/3265
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/doclay.cxx | 11 | ||||
-rw-r--r-- | sw/source/core/doc/visiturl.cxx | 4 |
2 files changed, 7 insertions, 8 deletions
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx index d14e1991a3ec..6a5de2b48f2b 100644 --- a/sw/source/core/doc/doclay.cxx +++ b/sw/source/core/doc/doclay.cxx @@ -824,12 +824,11 @@ SwFlyFrmFmt* SwDoc::MakeFlyAndMove( const SwPaM& rPam, const SfxItemSet& rSet, aPos.nContent.Assign( 0, 0 ); // Deregister index! GetNodes().Delete( aIndex, 1 ); -// This is a hack: whilst FlyFrames/Headers/Footers are not undoable we delete all Undo objects -if( GetIDocumentUndoRedo().DoesUndo() ) -{ - GetIDocumentUndoRedo().DelAllUndoObj(); -} - + // This is a hack: whilst FlyFrames/Headers/Footers are not undoable we delete all Undo objects + if( GetIDocumentUndoRedo().DoesUndo() ) + { + GetIDocumentUndoRedo().DelAllUndoObj(); + } } else { diff --git a/sw/source/core/doc/visiturl.cxx b/sw/source/core/doc/visiturl.cxx index 094883b62b0b..74e571690b86 100644 --- a/sw/source/core/doc/visiturl.cxx +++ b/sw/source/core/doc/visiturl.cxx @@ -85,8 +85,8 @@ void SwURLStateChanged::Notify( SfxBroadcaster& , const SfxHint& rHint ) if( bAction ) pESh->EndAllAction(); - if( bUnLockView ) - pESh->LockView( sal_False ); + if( bUnLockView ) + pESh->LockView( sal_False ); } } |