Makes the LTR/RTL alignment of text follow the system language by default.
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / text-abstraction / bidirectional-support.cpp
index f7e3e2f..4d7279c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2021 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.
@@ -45,12 +45,12 @@ BidirectionalSupport BidirectionalSupport::Get()
 
 BidiInfoIndex BidirectionalSupport::CreateInfo(const Character* const paragraph,
                                                Length                 numberOfCharacters,
-                                               bool                   matchSystemLanguageDirection,
+                                               bool                   matchLayoutDirection,
                                                LayoutDirection::Type  layoutDirection)
 {
   return GetImplementation(*this).CreateInfo(paragraph,
                                              numberOfCharacters,
-                                             matchSystemLanguageDirection,
+                                             matchLayoutDirection,
                                              layoutDirection);
 }