Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 25139 → Rev 25140

/trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
3628,7 → 3628,14
m_lineJoin = Qt::BevelJoin;
break;
}
double *dashPattern;
#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(22, 9, 0)
const auto& dashPattern = state->getLineDash(&m_dashOffset);
QVector<double> pattern(dashPattern.size());
for (size_t i = 0; i < dashPattern.size(); ++i)
pattern[i] = dashPattern[i];
m_dashValues = pattern;
#else
double* dashPattern;
int dashLength;
state->getLineDash(&dashPattern, &dashLength, &m_dashOffset);
QVector<double> pattern(dashLength);
3635,6 → 3642,7
for (int i = 0; i < dashLength; ++i)
pattern[i] = dashPattern[i];
m_dashValues = pattern;
#endif
}
 
int SlaOutputDev::getBlendMode(GfxState *state)