summaryrefslogtreecommitdiff
path: root/vcl/qt5/Qt5Graphics_Text.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/qt5/Qt5Graphics_Text.cxx')
-rw-r--r--vcl/qt5/Qt5Graphics_Text.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5Graphics_Text.cxx b/vcl/qt5/Qt5Graphics_Text.cxx
index cfd148e8415e..b42948515ac9 100644
--- a/vcl/qt5/Qt5Graphics_Text.cxx
+++ b/vcl/qt5/Qt5Graphics_Text.cxx
@@ -328,7 +328,7 @@ void Qt5Graphics::DrawTextLayout(const GenericSalLayout& rLayout)
aGlyphRun.setGlyphIndexes(glyphIndexes);
aGlyphRun.setRawFont(aRawFont);
- Qt5Painter aPainter(*this);
+ Qt5Painter aPainter(*m_pBackend);
QColor aColor = toQColor(m_aTextColor);
aPainter.setPen(aColor);