[Libreoffice-commits] core.git: Branch 'aoo/trunk' - cui/source

Pavel Janík paveljanik at apache.org
Wed Jul 10 15:08:47 PDT 2013


 cui/source/dialogs/cuifmsearch.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 7986627ca418ec7c6fcaaa91367eda7f4b9aadaf
Author: Pavel Janík <paveljanik at apache.org>
Date:   Wed Jul 10 21:14:12 2013 +0000

    Return zero value from non-void function to prevent compiler warnings.

diff --git a/cui/source/dialogs/cuifmsearch.cxx b/cui/source/dialogs/cuifmsearch.cxx
index 9ed5619..6f8ffcb 100644
--- a/cui/source/dialogs/cuifmsearch.cxx
+++ b/cui/source/dialogs/cuifmsearch.cxx
@@ -447,6 +447,7 @@ IMPL_LINK(FmSearchDialog, OnSearchTextModified, ComboBox*, EMPTYARG)
 IMPL_LINK(FmSearchDialog, OnFocusGrabbed, ComboBox*, EMPTYARG)
 {
     m_cmbSearchText.SetSelection( Selection( SELECTION_MIN, SELECTION_MAX ) );
+    return 0;
 }
 
 //------------------------------------------------------------------------


More information about the Libreoffice-commits mailing list