summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2016-08-13 21:40:43 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-14 05:38:56 +0000
commit8180a8c33ad271d915e05320d051177e0254179a (patch)
tree995efc1d82cb73eecbeaa08e3c33ad714b9f686f /cui
parent7ac849da78cdeb46bbd1a3c572574cf7dfbfccad (diff)
cppcheck: redundant assignment tphatch.cxx
Change-Id: Idf9ebf5df0d95e045a5766c740e22b80e57f7848 Reviewed-on: https://gerrit.libreoffice.org/28109 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/tphatch.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx
index ba7749bd3208..f46eaad5aacb 100644
--- a/cui/source/tabpages/tphatch.cxx
+++ b/cui/source/tabpages/tphatch.cxx
@@ -76,9 +76,8 @@ SvxHatchTabPage::SvxHatchTabPage
get(m_pCbBackgroundColor, "backgroundcolor");
get(m_pLbBackgroundColor, "backgroundcolorlb");
get(m_pHatchLB , "hatchpresetlist");
- Size aSize = getDrawListBoxOptimalSize(this);
get(m_pCtlPreview, "previewctl");
- aSize = getDrawPreviewOptimalSize(this);
+ Size aSize = getDrawPreviewOptimalSize(this);
m_pCtlPreview->set_width_request(aSize.Width());
m_pCtlPreview->set_height_request(aSize.Height());
get(m_pBtnAdd, "add");