-// Copyright (C) 2006-2015 CEA/DEN, EDF R&D
+// Copyright (C) 2006-2019 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
width = QString(_format.c_str()).arg(lw, 0, 'g', 3);
DEBTRACE(agnameof(aNode) << " (" << nh << "," << nw << ") = (" << height.toStdString() << " ; " << width.toStdString() <<")");
- agset(aNode, const_cast<char*>("height"), height.toAscii().data());
- agset(aNode, const_cast<char*>("width"), width.toAscii().data());
+ agset(aNode, const_cast<char*>("height"), height.toLatin1().data());
+ agset(aNode, const_cast<char*>("width"), width.toLatin1().data());
agset(aNode, const_cast<char*>("shape"), const_cast<char*>("box") );
agset(aNode, const_cast<char*>("fixedsize"), const_cast<char*>("true") );
}