mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-20 14:40:25 +00:00
FindAdv: Casting to satisfy Windows compiler
Thanks to Jean-Marc Lasgouttes
This commit is contained in:
parent
9a15d35443
commit
13b3808aa0
@ -1347,7 +1347,7 @@ void Intervall::removeAccents()
|
|||||||
string key = sub.str(1);
|
string key = sub.str(1);
|
||||||
if (accents.find(key) != accents.end()) {
|
if (accents.find(key) != accents.end()) {
|
||||||
string val = accents[key];
|
string val = accents[key];
|
||||||
size_t pos = sub.position(0);
|
size_t pos = sub.position(size_t(0));
|
||||||
for (size_t i = 0; i < val.size(); i++) {
|
for (size_t i = 0; i < val.size(); i++) {
|
||||||
par[pos+i] = val[i];
|
par[pos+i] = val[i];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user