Fix crash in empty text geometry requests.
This commit is contained in:
parent
24390ae853
commit
fa787b6b0d
1 changed files with 3 additions and 0 deletions
|
|
@ -922,6 +922,9 @@ template <typename Callback>
|
|||
void String::enumerateLines(
|
||||
GeometryDescriptor geometry,
|
||||
Callback &&callback) const {
|
||||
if (isEmpty()) {
|
||||
return;
|
||||
}
|
||||
auto qindex = 0;
|
||||
auto quote = (QuoteDetails*)nullptr;
|
||||
auto qpadding = QMargins();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue