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

Stephan Bergmann sbergman at redhat.com
Tue Oct 13 05:18:30 PDT 2015


 extensions/source/propctrlr/browserlistbox.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ec66ad595393312525937b628297cb3494776e1f
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Oct 13 14:17:49 2015 +0200

    error C2666: 'operator ==' : 2 overloads have similar conversions
    
    Change-Id: I7460e993851335db108a02afe2c147ee57736b0a

diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx
index 98b4a43..2253b94 100644
--- a/extensions/source/propctrlr/browserlistbox.cxx
+++ b/extensions/source/propctrlr/browserlistbox.cxx
@@ -189,7 +189,7 @@ namespace pcr
 
         /** checks whether the instance is already disposed
         */
-        bool impl_isDisposed_nothrow() const { return m_pContext == NULL; }
+        bool impl_isDisposed_nothrow() const { return m_pContext.get() == nullptr; }
 
         /** notifies the given event originating from the given control
         @throws DisposedException


More information about the Libreoffice-commits mailing list