mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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:
parent
9f7498dbdf
commit
33f6d5a1cf
@ -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
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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();
|
||||
|
@ -178,7 +178,7 @@ public:
|
||||
///
|
||||
bool ShowInsetDialog(BufferView *) const;
|
||||
///
|
||||
vector<string> const getLabelList() const;
|
||||
std::vector<string> const getLabelList() const;
|
||||
///
|
||||
LyXParagraph * par;
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user