gcc compilation and warning fixes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30952 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2009-08-09 17:00:26 +00:00
parent f35561d055
commit 9e6c9ecbe4
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ public:
bool isTextAt(string const & str, pos_type pos) const;
InsetCode Private::ownerCode() const
InsetCode ownerCode() const
{
return inset_owner_ ? inset_owner_->lyxCode() : NO_CODE;
}

View File

@ -40,7 +40,7 @@ class Text {
public:
/// constructor
explicit Text(InsetText * owner)
: autoBreakRows_(false), owner_(owner)
: owner_(owner), autoBreakRows_(false)
{}
/// \return true if there's no content at all.