From fa4ac236fe2e4a6e66ef0f44508fd3d34d59ef82 Mon Sep 17 00:00:00 2001 From: "EverLEEst(SangHyeon Lee)" Date: Tue, 10 May 2022 14:35:09 +0900 Subject: [PATCH] Revert "[Tizen] Check window validity" This reverts commit 2b83301416b347b3a239c43826e344dd9904414c. --- dali-toolkit/internal/text/text-controller-impl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dali-toolkit/internal/text/text-controller-impl.cpp b/dali-toolkit/internal/text/text-controller-impl.cpp index 47877c4..46d83dd 100644 --- a/dali-toolkit/internal/text/text-controller-impl.cpp +++ b/dali-toolkit/internal/text/text-controller-impl.cpp @@ -540,8 +540,7 @@ Dali::LayoutDirection::Type Controller::Impl::GetLayoutDirection(Dali::Actor& ac if(mModel->mMatchLayoutDirection == DevelText::MatchLayoutDirection::LOCALE || (mModel->mMatchLayoutDirection == DevelText::MatchLayoutDirection::INHERIT && !mIsLayoutDirectionChanged)) { - Window window = DevelWindow::Get(actor); - return static_cast(window ? window.GetRootLayer().GetProperty(Dali::Actor::Property::LAYOUT_DIRECTION).Get() : LayoutDirection::LEFT_TO_RIGHT); + return static_cast(DevelWindow::Get(actor).GetRootLayer().GetProperty(Dali::Actor::Property::LAYOUT_DIRECTION).Get()); } else { -- 2.7.4