mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
squash gcc warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22887 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5b2625fdfe
commit
8711df9282
@ -61,7 +61,7 @@ inline QString const toqstr(docstring const & ucs4)
|
||||
{
|
||||
// If possible we let qt do the work, since this version does not
|
||||
// need to be superfast.
|
||||
return QString::fromUcs4(reinterpret_cast<uint const *>(ucs4.data()), ucs4.length());
|
||||
return QString::fromUcs4((uint const *)ucs4.data(), ucs4.length());
|
||||
}
|
||||
|
||||
/**
|
||||
@ -72,7 +72,7 @@ inline QString const toqstr(docstring const & ucs4)
|
||||
*/
|
||||
inline QString const toqstr(char_type ucs4)
|
||||
{
|
||||
return QString::fromUcs4(reinterpret_cast<uint const *>(&ucs4), 1);
|
||||
return QString::fromUcs4((uint const *)&ucs4, 1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user