summaryrefslogtreecommitdiff
path: root/sw/source/ui/docvw/edtwin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/docvw/edtwin.cxx')
-rw-r--r--sw/source/ui/docvw/edtwin.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index d83f6932e753..426315048f3a 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -5703,8 +5703,6 @@ SwHeaderFooterControl::SwHeaderFooterControl( Window* pParent, const rtl::OUStri
GetTextBoundRect( aTextRect, String( sLabel ) );
Rectangle aTextPxRect = LogicToPixel( aTextRect );
- Size aParentSize = pParent->GetSizePixel();
-
Size aBoxSize ( aTextPxRect.GetWidth() + TEXT_PADDING * 2,
aTextPxRect.GetHeight() + TEXT_PADDING * 2 );