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@gmail.com>
Context
- [PATCH] fix indentation · Philipp Riemer (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.