vcl/unx/gtk/gtksalframe.cxx   |    2 +-
 vcl/unx/gtk3/gtk3gtkframe.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4fe7a96d25791d40a3a56c836ba03931e30131e4
Author: Takeshi Abe <t...@fixedpoint.jp>
Date:   Mon Jul 18 19:08:46 2016 +0900

    vcl: This seems a missing return
    
    Change-Id: I99c3be904e9ee2ad8f76d09d1d8998a6898fb81e
    Reviewed-on: https://gerrit.libreoffice.org/27283
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>
    (cherry picked from commit 0789b66353f75f4791754727629f553aa717be67)
    (cherry picked from commit fbb6ec09e9e9c6afcce24a5fae1996d14d5866bf)

diff --git a/vcl/unx/gtk/gtksalframe.cxx b/vcl/unx/gtk/gtksalframe.cxx
index 84615c8..9e14746 100644
--- a/vcl/unx/gtk/gtksalframe.cxx
+++ b/vcl/unx/gtk/gtksalframe.cxx
@@ -3825,7 +3825,7 @@ uno::Reference<accessibility::XAccessibleEditableText>
     FindFocus(uno::Reference< accessibility::XAccessibleContext > xContext)
 {
     if (!xContext.is())
-        uno::Reference< accessibility::XAccessibleEditableText >();
+        return uno::Reference< accessibility::XAccessibleEditableText >();
 
     uno::Reference<accessibility::XAccessibleStateSet> xState = 
xContext->getAccessibleStateSet();
     if (xState.is())
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index 1c57991..4afba7e 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -3886,7 +3886,7 @@ uno::Reference<accessibility::XAccessibleEditableText>
     FindFocus(uno::Reference< accessibility::XAccessibleContext > xContext)
 {
     if (!xContext.is())
-        uno::Reference< accessibility::XAccessibleEditableText >();
+        return uno::Reference< accessibility::XAccessibleEditableText >();
 
     uno::Reference<accessibility::XAccessibleStateSet> xState = 
xContext->getAccessibleStateSet();
     if (xState.is())
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to