From 6c524e68e24dfe419a7f652295948f8d0da29978 Mon Sep 17 00:00:00 2001 From: Matt Cooley Date: Fri, 10 Jan 2020 15:46:55 -0800 Subject: [PATCH] Remove LimitedAccessFeatures check for old package name (#921) --- src/Calculator/Controls/MathRichEditBox.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Calculator/Controls/MathRichEditBox.cpp b/src/Calculator/Controls/MathRichEditBox.cpp index 15ef5d6..8b72417 100644 --- a/src/Calculator/Controls/MathRichEditBox.cpp +++ b/src/Calculator/Controls/MathRichEditBox.cpp @@ -58,15 +58,6 @@ MathRichEditBox::MathRichEditBox() ->Status; } - else if (packageName == L"Microsoft.WindowsCalculator.Graphing") - { - m_lafResultStatus = LimitedAccessFeatures::TryUnlockFeature( - "com.microsoft.windows.richeditmath", - "H6wflFFz3gkOsAHtG/D9Tg==", // Microsoft.WindowsCalculator.Graphing - "8wekyb3d8bbwe has registered their use of com.microsoft.windows.richeditmath with Microsoft and agrees to the terms of use.") - ->Status; - } - // TODO when Windows 10 version 2004 SDK is adopted, replace with: // TextDocument->SetMathMode(Windows::UI::Text::RichEditMathMode::MathOnly); Microsoft::WRL::ComPtr textDocument4;