[Libreoffice-commits] core.git: cui/source

Julien Nabet serval2412 at yahoo.fr
Sun Aug 14 05:39:16 UTC 2016


 cui/source/tabpages/tphatch.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 8180a8c33ad271d915e05320d051177e0254179a
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Aug 13 21:40:43 2016 +0200

    cppcheck: redundant assignment tphatch.cxx
    
    Change-Id: Idf9ebf5df0d95e045a5766c740e22b80e57f7848
    Reviewed-on: https://gerrit.libreoffice.org/28109
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
    Tested-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx
index ba7749b..f46eaad 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");


More information about the Libreoffice-commits mailing list