toLocal8Bit->local8bit

This commit is contained in:
dockes 2009-01-23 09:41:07 +00:00
parent e9aad2d453
commit 765b6cdd81

View File

@ -816,7 +816,7 @@ void RclMain::saveDocToFile(int docnum)
"", this,
tr("Save file dialog"),
tr("Choose a file name to save under"));
string tofile((const char *)s.toLocal8Bit());
string tofile((const char *)s.local8Bit());
TempFile temp; // not used
if (!FileInterner::idocToFile(temp, tofile, rclconfig, fn,
doc.ipath, doc.mimetype)) {