[Libreoffice-commits] core.git: cui/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Mar 16 23:36:41 UTC 2019
cui/source/inc/cuitabarea.hxx | 2 --
cui/source/tabpages/tparea.cxx | 3 +--
2 files changed, 1 insertion(+), 4 deletions(-)
New commits:
commit 95ff0bd5ca03a279be73651d5edcb32d95e580c5
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Mar 16 20:50:44 2019 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Mar 17 00:36:19 2019 +0100
don't need m_aColorSize
Change-Id: I27740ae0bff0d1676799ddfba76eab5e7a299f66
Reviewed-on: https://gerrit.libreoffice.org/69354
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx
index b166e37d1c87..ad241f4ed136 100644
--- a/cui/source/inc/cuitabarea.hxx
+++ b/cui/source/inc/cuitabarea.hxx
@@ -239,8 +239,6 @@ private:
SfxItemSet& m_rXFSet;
protected:
- Size m_aColorSize;
-
std::unique_ptr<weld::Container> m_xFillTab;
std::unique_ptr<weld::ToggleButton> m_xBtnNone;
std::unique_ptr<weld::ToggleButton> m_xBtnColor;
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index b5b535e4e43a..4705f95cf44e 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -130,8 +130,7 @@ void SvxAreaTabPage::SetOptimalSize(weld::DialogController* pController)
// Calculate optimal size of all pages..
m_pFillTabPage.disposeAndReset(SvxColorTabPage::Create(aFillTab, &m_rXFSet));
- m_aColorSize = m_xFillTab->get_preferred_size();
- Size aSize(m_aColorSize);
+ Size aSize(m_xFillTab->get_preferred_size());
if (m_xBtnGradient->get_visible())
{
More information about the Libreoffice-commits
mailing list