whitespace to sync my tree

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6449 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-03-11 16:38:37 +00:00
parent ce3b1fa997
commit 31e8978f2b
2 changed files with 4 additions and 8 deletions

View File

@ -726,10 +726,8 @@ void Paragraph::makeSameLayout(Paragraph const * par)
int Paragraph::stripLeadingSpaces()
{
if (layout()->free_spacing ||
isFreeSpacing()) {
if (layout()->free_spacing || isFreeSpacing())
return 0;
}
int i = 0;
while (!empty() && (isNewline(0) || isLineSeparator(0))) {
@ -786,15 +784,13 @@ Paragraph::depth_type Paragraph::getDepth() const
Paragraph::depth_type Paragraph::getMaxDepthAfter() const
{
bool const isenv = layout()->isEnvironment();
if (isenv)
if (layout()->isEnvironment())
return params().depth() + 1;
else
return params().depth();
}
char Paragraph::getAlign() const
{
return params().align();

View File

@ -515,7 +515,7 @@ void LyXText::setLayout(BufferView * bview, string const & layout)
// increment depth over selection and
// make a total rebreak of those paragraphs
void LyXText::incDepth(BufferView * bview)
void LyXText::incDepth(BufferView * bview)
{
// If there is no selection, just use the current paragraph
if (!selection.set()) {