add some std::

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1898 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2001-04-05 08:03:26 +00:00
parent 9f7498dbdf
commit 33f6d5a1cf
5 changed files with 10 additions and 6 deletions

View File

@ -1,5 +1,9 @@
2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
* insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
* insettext.[Ch] (getLabelList): add std:: on vector<string>
* insetcollapsable.[Ch] (getLabelList): implement
* insettext.[Ch] (getLabelList): implement

View File

@ -468,7 +468,7 @@ void InsetCollapsable::resizeLyXText(BufferView * bv) const
}
vector<string> const InsetCollapsable::getLabelList() const
std::vector<string> const InsetCollapsable::getLabelList() const
{
return inset.getLabelList();
}

View File

@ -130,7 +130,7 @@ public:
///
void resizeLyXText(BufferView *) const;
///
vector<string> const getLabelList() const;
std::vector<string> const getLabelList() const;
protected:
///
int ascent_collapsed(Painter &, LyXFont const &) const;

View File

@ -1447,16 +1447,16 @@ bool InsetText::ShowInsetDialog(BufferView * bv) const
}
vector<string> const InsetText::getLabelList() const
std::vector<string> const InsetText::getLabelList() const
{
vector<string> label_list;
std::vector<string> label_list;
LyXParagraph * tpar = par;
while (tpar) {
LyXParagraph::inset_iterator beg = tpar->inset_iterator_begin();
LyXParagraph::inset_iterator end = tpar->inset_iterator_end();
for (; beg != end; ++beg) {
vector<string> const l = (*beg)->getLabelList();
std::vector<string> const l = (*beg)->getLabelList();
label_list.insert(label_list.end(), l.begin(), l.end());
}
tpar = tpar->next();

View File

@ -178,7 +178,7 @@ public:
///
bool ShowInsetDialog(BufferView *) const;
///
vector<string> const getLabelList() const;
std::vector<string> const getLabelList() const;
///
LyXParagraph * par;
///