[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - dbaccess/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Feb 26 10:06:18 UTC 2020


 dbaccess/source/ui/dlg/dlgsize.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b767f6d92e8c055d0313a31bce1caec3ccaddeb0
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Feb 25 12:30:38 2020 +0000
Commit:     Xisco Faulí <xiscofauli at libreoffice.org>
CommitDate: Wed Feb 26 11:05:46 2020 +0100

    Resolves: tdf130874 reversed logic
    
    Change-Id: I2ccac01f271ec803547ab36359f2273312df87e8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89436
    Tested-by: Jenkins
    Reviewed-by: Xisco Faulí <xiscofauli at libreoffice.org>

diff --git a/dbaccess/source/ui/dlg/dlgsize.cxx b/dbaccess/source/ui/dlg/dlgsize.cxx
index 2c10d235cdcc..45c624518f1a 100644
--- a/dbaccess/source/ui/dlg/dlgsize.cxx
+++ b/dbaccess/source/ui/dlg/dlgsize.cxx
@@ -66,8 +66,8 @@ sal_Int32 DlgSize::GetValue() const
 
 IMPL_LINK_NOARG(DlgSize, CbClickHdl, weld::ToggleButton&, void)
 {
-    m_xMF_VALUE->set_sensitive(m_xCB_STANDARD->get_active());
-    if (!m_xCB_STANDARD->get_active())
+    m_xMF_VALUE->set_sensitive(!m_xCB_STANDARD->get_active());
+    if (m_xCB_STANDARD->get_active())
     {
         // don't use getValue as this will use m_xCB_STANDARD->to determine if we're standard
         m_nPrevValue = static_cast<sal_Int32>(m_xMF_VALUE->get_value(FieldUnit::CM));


More information about the Libreoffice-commits mailing list