mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 05:12:40 +00:00
Small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30542 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6ee13aa2ac
commit
58182c5860
@ -191,7 +191,7 @@ void InsetGraphics::doDispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
InsetGraphicsParams p = params();
|
InsetGraphicsParams p = params();
|
||||||
if (!cmd.argument().empty())
|
if (!cmd.argument().empty())
|
||||||
string2params(to_utf8(cmd.argument()), buffer(), p);
|
string2params(to_utf8(cmd.argument()), buffer(), p);
|
||||||
editGraphics(p, buffer());
|
editGraphics(p);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -895,10 +895,9 @@ InsetGraphicsParams const & InsetGraphics::params() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void InsetGraphics::editGraphics(InsetGraphicsParams const & p,
|
void InsetGraphics::editGraphics(InsetGraphicsParams const & p) const
|
||||||
Buffer const & buffer) const
|
|
||||||
{
|
{
|
||||||
formats.edit(buffer, p.filename,
|
formats.edit(buffer(), p.filename,
|
||||||
formats.getFormatFromFile(p.filename));
|
formats.getFormatFromFile(p.filename));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ private:
|
|||||||
///
|
///
|
||||||
bool showInsetDialog(BufferView * bv) const;
|
bool showInsetDialog(BufferView * bv) const;
|
||||||
///
|
///
|
||||||
void editGraphics(InsetGraphicsParams const &, Buffer const &) const;
|
void editGraphics(InsetGraphicsParams const &) const;
|
||||||
///
|
///
|
||||||
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
|
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
|
||||||
///
|
///
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
|
|
||||||
namespace lyx {
|
namespace lyx {
|
||||||
|
|
||||||
class Buffer;
|
|
||||||
class BufferView;
|
|
||||||
class CompletionList;
|
class CompletionList;
|
||||||
class CursorSlice;
|
class CursorSlice;
|
||||||
class Dimension;
|
class Dimension;
|
||||||
|
Loading…
Reference in New Issue
Block a user