summaryrefslogtreecommitdiff
path: root/sw/source/ui/frmdlg/frmpage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/frmdlg/frmpage.cxx')
-rw-r--r--sw/source/ui/frmdlg/frmpage.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx
index df4760deb996..7f90f17dec1a 100644
--- a/sw/source/ui/frmdlg/frmpage.cxx
+++ b/sw/source/ui/frmdlg/frmpage.cxx
@@ -2627,7 +2627,6 @@ BmpWindow::BmpWindow(vcl::Window* pPar, WinBits nStyle)
, bHorz(false)
, bVert(false)
, bGraphic(false)
- , bLeftAlign(false)
{
}
@@ -2675,8 +2674,7 @@ void BmpWindow::Paint(vcl::RenderContext& rRenderContext, const Rectangle&)
else
aPntSz.Width() = aPntSz.Height() * nRelGrf /100;
- if (!bLeftAlign)
- aPntPos.X() += nWidth - aPntSz.Width() ;
+ aPntPos.X() += nWidth - aPntSz.Width() ;
}
// #i119307# clear window background, the graphic might have transparency