svtools/source/misc/acceleratorexecute.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 6720a608a7cc8fb11ae1f0c0bc9210bbf80134f4
Author:     Patrick Luby <[email protected]>
AuthorDate: Wed Feb 22 16:22:00 2023 -0500
Commit:     Aron Budea <[email protected]>
CommitDate: Wed Mar 15 19:38:40 2023 +0000

    Fix build error when compiling on iOS or macOS with Xcode 14.2
    
    Commit 67fcd647341118747a4e7cd404d907d29613778c was missing a return value
    
    Signed-off-by: Patrick Luby <[email protected]>
    Change-Id: I1e6a0bf2ec65d3bb03eced6518611a7567a34a6b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147492
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Patrick Luby <[email protected]>
    (cherry picked from commit 99e6cbab7bb5954f0ee5792d07e1ba543260f434)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148870
    Tested-by: Aron Budea <[email protected]>
    Reviewed-by: Aron Budea <[email protected]>

diff --git a/svtools/source/misc/acceleratorexecute.cxx 
b/svtools/source/misc/acceleratorexecute.cxx
index 099616fe07e2..ebe93bf7daa4 100644
--- a/svtools/source/misc/acceleratorexecute.cxx
+++ b/svtools/source/misc/acceleratorexecute.cxx
@@ -421,6 +421,8 @@ css::uno::Reference<css::ui::XAcceleratorConfiguration> 
AcceleratorExecute::lok_
     }
     catch(const css::container::NoSuchElementException&)
     {}
+
+    return css::uno::Reference<css::ui::XAcceleratorConfiguration>();
 }
 
 void 
AcceleratorExecute::lok_setModuleConfig(css::uno::Reference<css::ui::XAcceleratorConfiguration>
 acceleratorConfig)

Reply via email to