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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Jan 4 08:46:03 UTC 2019


 unotools/source/config/eventcfg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b29f6e605210477ab9e13f0dad76d83023b360f2
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jan 3 16:44:53 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Jan 4 09:45:39 2019 +0100

    Add apparently missing ! to GlobalEventConfig_Impl::hasElements
    
    ...which had been like that ever since the code's introduction in
    026f5ef5eee4bc75dafbdc00216808daf5acce7e "INTEGRATION: CWS docking1"
    
    Change-Id: I2d5ae3a03aaf75a0f8df40c641f7233c6b19630e
    Reviewed-on: https://gerrit.libreoffice.org/65848
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/unotools/source/config/eventcfg.cxx b/unotools/source/config/eventcfg.cxx
index ca2e1dac0082..8c0b62781b6f 100644
--- a/unotools/source/config/eventcfg.cxx
+++ b/unotools/source/config/eventcfg.cxx
@@ -293,7 +293,7 @@ Type const & GlobalEventConfig_Impl::getElementType(  )
 
 bool GlobalEventConfig_Impl::hasElements() const
 {
-    return m_eventBindingHash.empty();
+    return !m_eventBindingHash.empty();
 }
 
 // and now the wrapper


More information about the Libreoffice-commits mailing list