From 91e50210ebd19e9cfc5f0314e9ab231ee9f2a5a8 Mon Sep 17 00:00:00 2001 From: Michael Schmitt Date: Sat, 21 Oct 2006 08:18:29 +0000 Subject: [PATCH] * paragraph.h: * paragraph.C: code reformatting only git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15429 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/paragraph.C | 11 ++++++----- src/paragraph.h | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/paragraph.C b/src/paragraph.C index f655993f8a..41a5be149e 100644 --- a/src/paragraph.C +++ b/src/paragraph.C @@ -249,7 +249,7 @@ int Paragraph::erase(pos_type start, pos_type end, bool trackChanges) void Paragraph::insert(pos_type start, string const & str, - LyXFont const & font, Change const & change) + LyXFont const & font, Change const & change) { for (size_t i = 0, n = str.size(); i != n ; ++i) insertChar(start + i, str[i], font, change); @@ -257,7 +257,7 @@ void Paragraph::insert(pos_type start, string const & str, void Paragraph::insertChar(pos_type pos, Paragraph::value_type c, - bool trackChanges) + bool trackChanges) { pimpl_->insertChar(pos, c, Change(trackChanges ? Change::INSERTED : Change::UNCHANGED)); @@ -265,7 +265,7 @@ void Paragraph::insertChar(pos_type pos, Paragraph::value_type c, void Paragraph::insertChar(pos_type pos, Paragraph::value_type c, - LyXFont const & font, bool trackChanges) + LyXFont const & font, bool trackChanges) { pimpl_->insertChar(pos, c, Change(trackChanges ? Change::INSERTED : Change::UNCHANGED)); @@ -281,14 +281,15 @@ void Paragraph::insertChar(pos_type pos, Paragraph::value_type c, } -void Paragraph::insertInset(pos_type pos, InsetBase * inset, Change const & change) +void Paragraph::insertInset(pos_type pos, InsetBase * inset, + Change const & change) { pimpl_->insertInset(pos, inset, change); } void Paragraph::insertInset(pos_type pos, InsetBase * inset, - LyXFont const & font, Change const & change) + LyXFont const & font, Change const & change) { pimpl_->insertInset(pos, inset, change); setFont(pos, font); diff --git a/src/paragraph.h b/src/paragraph.h index 887898abc5..14974f5695 100644 --- a/src/paragraph.h +++ b/src/paragraph.h @@ -300,10 +300,10 @@ public: LyXFont const &, Change const & change); /// void insertInset(pos_type pos, InsetBase * inset, - Change const & change); + Change const & change); /// void insertInset(pos_type pos, InsetBase * inset, - LyXFont const &, Change const & change); + LyXFont const &, Change const & change); /// bool insetAllowed(InsetBase_code code); ///