summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Riemer <ruderphilipp@gmail.com>2013-04-07 21:35:43 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2013-04-08 08:25:29 +0000
commit88156809f742d95a6a59b94a657567653ea96ca8 (patch)
tree65900b3790e1c885c7967d9b168477fd010e50bb
parentfix fdo#60534 : use DefaultCharMapper::mapChar() to map RTL string unicodes. (diff)
downloadcore-88156809f742d95a6a59b94a657567653ea96ca8.tar.gz
core-88156809f742d95a6a59b94a657567653ea96ca8.zip
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>
-rw-r--r--sw/source/core/doc/doclay.cxx11
-rw-r--r--sw/source/core/doc/visiturl.cxx4
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 );
}
}