From f4801b0e8f7f97d5a565a2533c7780409889873c Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Mon, 21 Mar 2022 18:10:47 +0900 Subject: [PATCH 1/1] Resolve svace issue (non-return API) Change-Id: I6ebb501d0896380bc0ee58727d0fc3ce8798ed59 Signed-off-by: Eunki, Hong --- dali/internal/system/ubuntu-x11/widget-controller-x.cpp | 7 ++++--- dali/internal/system/windows/widget-controller-win.cpp | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/dali/internal/system/ubuntu-x11/widget-controller-x.cpp b/dali/internal/system/ubuntu-x11/widget-controller-x.cpp index b0f9a50..2596642 100644 --- a/dali/internal/system/ubuntu-x11/widget-controller-x.cpp +++ b/dali/internal/system/ubuntu-x11/widget-controller-x.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,6 +38,7 @@ void WidgetImplUbuntu::SetContentInfo(const std::string& contentInfo) bool WidgetImplUbuntu::IsKeyEventUsing() const { + return false; } void WidgetImplUbuntu::SetUsingKeyEvent(bool flag) @@ -50,12 +51,12 @@ void WidgetImplUbuntu::SetInformation(Dali::Window window, const std::string& wi Dali::Window WidgetImplUbuntu::GetWindow() const { - return Dali::Window(); + return Dali::Window(); } std::string WidgetImplUbuntu::GetWidgetId() const { - return std::string(); + return std::string(); } } // namespace Adaptor diff --git a/dali/internal/system/windows/widget-controller-win.cpp b/dali/internal/system/windows/widget-controller-win.cpp index bb70910..5c8022e 100644 --- a/dali/internal/system/windows/widget-controller-win.cpp +++ b/dali/internal/system/windows/widget-controller-win.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,6 +38,7 @@ void WidgetImplWin::SetContentInfo(const std::string& contentInfo) bool WidgetImplWin::IsKeyEventUsing() const { + return false; } void WidgetImplWin::SetUsingKeyEvent(bool flag) @@ -50,12 +51,12 @@ void WidgetImplWin::SetInformation(Dali::Window window, const std::string& widge Dali::Window WidgetImplWin::GetWindow() const { - return Dali::Window(); + return Dali::Window(); } std::string WidgetImplWin::GetWidgetId() const { - return std::string(); + return std::string(); } } // namespace Adaptor -- 2.7.4