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

Stephan Bergmann sbergman at redhat.com
Tue Jul 7 04:05:31 PDT 2015


 cui/source/options/optaboutconfig.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a82633760496aba3dbc8fb20ff02684109c9c1a3
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jul 7 13:04:41 2015 +0200

    loplugin:implicitboolconversion
    
    Change-Id: I68ab7d2a4841d34455e1b886f9ec83a19eccaeb6

diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx
index 54cf5e5..38941bb 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -920,7 +920,7 @@ IMPL_LINK_NOARG( CuiAboutConfigTabPage, ExpandingHdl_Impl )
         }
     }
 
-    return true;
+    return 1;
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit a7ac7067fc0ac3e660943033e60e382be45d0879
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jul 7 13:03:15 2015 +0200

    loplugin:staticcall
    
    Change-Id: I4ad6b51c42e23ac5027f4f7b53b086c77b784129

diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx
index 9ed75c2..54cf5e5 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -872,7 +872,7 @@ void CuiAboutConfigTabPage::InsertEntry( SvTreeListEntry *pEntry)
         OUString sParentName = sPath.copy(prevIndex+1, index - prevIndex - 1);
 
         bool hasEntry = false;
-        for(pParentEntry = m_pPrefBox->FirstChild(pGrandParentEntry); pParentEntry != nullptr; pParentEntry = m_pPrefBox->NextSibling(pParentEntry))
+        for(pParentEntry = m_pPrefBox->FirstChild(pGrandParentEntry); pParentEntry != nullptr; pParentEntry = SvTreeListBox::NextSibling(pParentEntry))
             if(static_cast< SvLBoxString& >(pParentEntry->GetItem(1)).GetText() == sParentName)
             {
                 hasEntry = true;


More information about the Libreoffice-commits mailing list