toLocal8Bit->local8bit
This commit is contained in:
parent
e9aad2d453
commit
765b6cdd81
@ -816,7 +816,7 @@ void RclMain::saveDocToFile(int docnum)
|
|||||||
"", this,
|
"", this,
|
||||||
tr("Save file dialog"),
|
tr("Save file dialog"),
|
||||||
tr("Choose a file name to save under"));
|
tr("Choose a file name to save under"));
|
||||||
string tofile((const char *)s.toLocal8Bit());
|
string tofile((const char *)s.local8Bit());
|
||||||
TempFile temp; // not used
|
TempFile temp; // not used
|
||||||
if (!FileInterner::idocToFile(temp, tofile, rclconfig, fn,
|
if (!FileInterner::idocToFile(temp, tofile, rclconfig, fn,
|
||||||
doc.ipath, doc.mimetype)) {
|
doc.ipath, doc.mimetype)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user