summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/edit/texteng.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx
index 5c6926d09129..41885eecc4d5 100644
--- a/vcl/source/edit/texteng.cxx
+++ b/vcl/source/edit/texteng.cxx
@@ -1879,7 +1879,7 @@ void TextEngine::ImpPaint( OutputDevice* pOutDev, const Point& rStartPos, tools:
if ( !IsFormatted() )
FormatDoc();
- vcl::Window* const pOutWin = pOutDev ? pOutDev->GetOwnerWindow() : nullptr;
+ vcl::Window* const pOutWin = pOutDev->GetOwnerWindow();
const bool bTransparent = (pOutWin && pOutWin->IsPaintTransparent());
tools::Long nY = rStartPos.Y();