cui/source/options/optaboutconfig.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit a82633760496aba3dbc8fb20ff02684109c9c1a3 Author: Stephan Bergmann <sberg...@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 <sberg...@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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits