[PATCH] fix indentation
Philipp Riemer (via Code Review)
gerrit at gerrit.libreoffice.org
Sun Apr 7 12:37:45 PDT 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/3265
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/65/3265/1
fix indentation
Change-Id: I6102b08a03349c4bdc6316f578dc2c90a4569716
---
M sw/source/core/doc/doclay.cxx
M sw/source/core/doc/visiturl.cxx
2 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx
index cc24619..b3920de 100644
--- a/sw/source/core/doc/doclay.cxx
+++ b/sw/source/core/doc/doclay.cxx
@@ -808,12 +808,11 @@
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 094883b..74e5716 100644
--- a/sw/source/core/doc/visiturl.cxx
+++ b/sw/source/core/doc/visiturl.cxx
@@ -85,8 +85,8 @@
if( bAction )
pESh->EndAllAction();
- if( bUnLockView )
- pESh->LockView( sal_False );
+ if( bUnLockView )
+ pESh->LockView( sal_False );
}
}
--
To view, visit https://gerrit.libreoffice.org/3265
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6102b08a03349c4bdc6316f578dc2c90a4569716
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Philipp Riemer <ruderphilipp at gmail.com>
More information about the LibreOffice
mailing list