summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-04-02 23:00:47 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-04-02 23:01:14 +0200
commitef53a3a12e4f4aaf8ae33985bd22e89b08b8c03b (patch)
tree92977f2df016ab6c21b06f8ecbf721c5911a01f3 /vcl/source
parent7dac241ca0dd0e8c53c246d8490e954d5b594862 (diff)
Some cppcheck cleaning
Change-Id: I993bd95b31f1090c747f01a899650e8873dcaada
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/edit/texteng.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx
index 2372768f8e60..261144a48d5d 100644
--- a/vcl/source/edit/texteng.cxx
+++ b/vcl/source/edit/texteng.cxx
@@ -1969,9 +1969,8 @@ void TextEngine::ImpPaint( OutputDevice* pOutDev, const Point& rStartPos, Rectan
if ( !IsFormatted() )
FormatDoc();
- bool bTransparent = false;
Window* pOutWin = dynamic_cast<Window*>(pOutDev);
- bTransparent = (pOutWin && pOutWin->IsPaintTransparent());
+ bool bTransparent = (pOutWin && pOutWin->IsPaintTransparent());
long nY = rStartPos.Y();