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(
|
void String::enumerateLines(
|
||||||
GeometryDescriptor geometry,
|
GeometryDescriptor geometry,
|
||||||
Callback &&callback) const {
|
Callback &&callback) const {
|
||||||
|
if (isEmpty()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
auto qindex = 0;
|
auto qindex = 0;
|
||||||
auto quote = (QuoteDetails*)nullptr;
|
auto quote = (QuoteDetails*)nullptr;
|
||||||
auto qpadding = QMargins();
|
auto qpadding = QMargins();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue