mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 09:15:50 +00:00
parent
13a993fda8
commit
17fa787ba2
@ -173,7 +173,7 @@ QString getBlock(char_type c)
|
||||
|
||||
// guessing was wrong so far. do a real search.
|
||||
int i = 0;
|
||||
while (c > unicode_blocks[i].end && i < no_blocks)
|
||||
while (i < no_blocks && c > unicode_blocks[i].end)
|
||||
++i;
|
||||
if (i == no_blocks)
|
||||
return QString();
|
||||
@ -219,8 +219,6 @@ public:
|
||||
static QString const strCharacter = qt_("Character: ");
|
||||
static QString const strCodePoint = qt_("Code Point: ");
|
||||
|
||||
static char codeName[10];
|
||||
|
||||
char_type c = symbols_.at(index.row());
|
||||
|
||||
switch (role) {
|
||||
|
Loading…
Reference in New Issue
Block a user