Resolve svace issue (non-return API) 00/272600/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Mon, 21 Mar 2022 09:10:47 +0000 (18:10 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Mon, 21 Mar 2022 09:10:47 +0000 (18:10 +0900)
Change-Id: I6ebb501d0896380bc0ee58727d0fc3ce8798ed59
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/system/ubuntu-x11/widget-controller-x.cpp
dali/internal/system/windows/widget-controller-win.cpp

index b0f9a50..2596642 100644 (file)
@@ -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
index bb70910..5c8022e 100644 (file)
@@ -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