From 285ef50fbb1ed4219609761b8e4bd9e1dfbc20a3 Mon Sep 17 00:00:00 2001 From: Carlos Zamora Date: Tue, 16 Nov 2021 14:25:10 -0800 Subject: [PATCH] fake uia data --- src/types/UiaTextRangeBase.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/types/UiaTextRangeBase.cpp b/src/types/UiaTextRangeBase.cpp index 2bc7411d9..439e91211 100644 --- a/src/types/UiaTextRangeBase.cpp +++ b/src/types/UiaTextRangeBase.cpp @@ -958,7 +958,8 @@ try const auto maxLengthOpt = (maxLength == -1) ? std::nullopt : std::optional{ maxLength }; - const auto text = _getTextValue(maxLengthOpt); + //const auto text = _getTextValue(maxLengthOpt); + const std::wstring text = L"Fake Data from UIA"; Unlock.reset(); *pRetVal = SysAllocString(text.c_str());