git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24609 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-05-05 06:56:43 +00:00
parent 98b51ebfbc
commit 592d53e065

View File

@ -910,7 +910,8 @@ void InsetGraphics::addToToc(ParConstIterator const & cpit) const
{
TocBackend & backend = buffer().tocBackend();
docstring const str = params_.filename.displayName();
//FIXME UNICODE
docstring const str = from_utf8(params_.filename.onlyFileName());
backend.toc("graphics").push_back(TocItem(cpit, 0, str));
}