[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - vcl/unx

Takeshi Abe tabe at fixedpoint.jp
Mon Jul 18 14:37:43 UTC 2016


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

New commits:
commit fbb6ec09e9e9c6afcce24a5fae1996d14d5866bf
Author: Takeshi Abe <tabe at 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 <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    (cherry picked from commit 0789b66353f75f4791754727629f553aa717be67)

diff --git a/vcl/unx/gtk/gtksalframe.cxx b/vcl/unx/gtk/gtksalframe.cxx
index 0d8e153..eb6ded5 100644
--- a/vcl/unx/gtk/gtksalframe.cxx
+++ b/vcl/unx/gtk/gtksalframe.cxx
@@ -3811,7 +3811,7 @@ uno::Reference<accessibility::XAccessibleEditableText>
     FindFocus(const 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 2b7ade6..78c9a71 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -3972,7 +3972,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())


More information about the Libreoffice-commits mailing list