1 --- a/scribus/plugins/import/pdf/slaoutput.cpp
2 +++ b/scribus/plugins/import/pdf/slaoutput.cpp
3 @@ -3741,9 +3741,16 @@ void SlaOutputDev::getPenState(GfxState *state)
6 double lw = state->getLineWidth();
9 +#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(22, 9, 0)
10 + const double *dashPattern;
11 + const std::vector<double> &dash = state->getLineDash(&DashOffset);
12 + dashPattern = dash.data();
13 + dashLength = dash.size();
15 + double *dashPattern;
16 state->getLineDash(&dashPattern, &dashLength, &DashOffset);
18 QVector<double> pattern(dashLength);
19 for (int i = 0; i < dashLength; ++i)