mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-13 20:09:59 +00:00
whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9324 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
84ff0a283c
commit
e171a6a69f
@ -56,7 +56,7 @@ void GErrorList::doBuild()
|
||||
|
||||
void GErrorList::update()
|
||||
{
|
||||
setTitle(controller().name());
|
||||
setTitle(controller().name());
|
||||
updateContents();
|
||||
}
|
||||
|
||||
|
@ -102,10 +102,10 @@ void GMathsMatrix::updateHorzAlignEntry()
|
||||
if (ignoreHorzAlign_) return;
|
||||
|
||||
Glib::ustring orig = horzalignentry_->get_text();
|
||||
Glib::ustring stripped;
|
||||
Glib::ustring stripped;
|
||||
|
||||
Glib::ustring::iterator cur;
|
||||
for (cur = orig.begin(); cur != orig.end(); ++cur) {
|
||||
Glib::ustring::iterator cur;
|
||||
for (cur = orig.begin(); cur != orig.end(); ++cur) {
|
||||
if (*cur == 'c' || *cur == 'l' ||
|
||||
*cur == 'r' || *cur == '|')
|
||||
stripped += *cur;
|
||||
@ -125,7 +125,7 @@ void GMathsMatrix::updateHorzAlignEntry()
|
||||
barcount = countbars(stripped);
|
||||
}
|
||||
|
||||
if (orig.compare(stripped) != 0) {
|
||||
if (orig.compare(stripped) != 0) {
|
||||
ignoreHorzAlign_ = true;
|
||||
horzalignentry_->set_text(stripped);
|
||||
ignoreHorzAlign_ = false;
|
||||
@ -135,8 +135,8 @@ void GMathsMatrix::updateHorzAlignEntry()
|
||||
int GMathsMatrix::countbars(Glib::ustring str)
|
||||
{
|
||||
int barcount = 0;
|
||||
Glib::ustring::iterator cur = str.begin();
|
||||
Glib::ustring::iterator end = str.end();
|
||||
Glib::ustring::iterator cur = str.begin();
|
||||
Glib::ustring::iterator end = str.end();
|
||||
for (; cur != end; ++cur) {
|
||||
if (*cur == '|')
|
||||
++barcount;
|
||||
|
Loading…
x
Reference in New Issue
Block a user