diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2025-05-08 23:28:12 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2025-05-12 11:41:50 +0200 |
commit | c0bdc3daf157ce7929facc95aa1d71967909bde4 (patch) | |
tree | 20994183db773eb8a8d2d24eba6642a60c96e7db /shell/source/backends/kf5be/kfbackend.cxx | |
parent | 0ff4c6619031582b6c520db90a17ed285973e1be (diff) |
shell: Drop "EnableATToolSupport" backend setting
The "EnableATToolSupport" setting/property that
can be queried from desktop backend implementations
doesn't seem to be used anywhere, so drop it.
There is still MiscSettings::GetEnableATToolSupport,
but that doesn't make use of the above.
Change-Id: I1ce64101d9795356e87e29c598dde25579a73111
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185071
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'shell/source/backends/kf5be/kfbackend.cxx')
-rw-r--r-- | shell/source/backends/kf5be/kfbackend.cxx | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/shell/source/backends/kf5be/kfbackend.cxx b/shell/source/backends/kf5be/kfbackend.cxx index 836b3505b94c..0c3c77df119b 100644 --- a/shell/source/backends/kf5be/kfbackend.cxx +++ b/shell/source/backends/kf5be/kfbackend.cxx @@ -137,10 +137,10 @@ OString getExecutable() void readKDESettings(std::map<OUString, css::beans::Optional<css::uno::Any>>& rSettings) { const std::vector<OUString> aKeys - = { u"EnableATToolSupport"_ustr, u"ExternalMailer"_ustr, u"SourceViewFontHeight"_ustr, - u"SourceViewFontName"_ustr, u"WorkPathVariable"_ustr, u"ooInetHTTPProxyName"_ustr, - u"ooInetHTTPProxyPort"_ustr, u"ooInetHTTPSProxyName"_ustr, u"ooInetHTTPSProxyPort"_ustr, - u"ooInetNoProxy"_ustr, u"ooInetProxyType"_ustr }; + = { u"ExternalMailer"_ustr, u"SourceViewFontHeight"_ustr, u"SourceViewFontName"_ustr, + u"WorkPathVariable"_ustr, u"ooInetHTTPProxyName"_ustr, u"ooInetHTTPProxyPort"_ustr, + u"ooInetHTTPSProxyName"_ustr, u"ooInetHTTPSProxyPort"_ustr, u"ooInetNoProxy"_ustr, + u"ooInetProxyType"_ustr }; for (const OUString& aKey : aKeys) { @@ -218,12 +218,11 @@ void Service::setPropertyValue(OUString const&, css::uno::Any const&) css::uno::Any Service::getPropertyValue(OUString const& PropertyName) { - if (PropertyName == "EnableATToolSupport" || PropertyName == "ExternalMailer" - || PropertyName == "SourceViewFontHeight" || PropertyName == "SourceViewFontName" - || PropertyName == "WorkPathVariable" || PropertyName == "ooInetHTTPProxyName" - || PropertyName == "ooInetHTTPProxyPort" || PropertyName == "ooInetHTTPSProxyName" - || PropertyName == "ooInetHTTPSProxyPort" || PropertyName == "ooInetNoProxy" - || PropertyName == "ooInetProxyType") + if (PropertyName == "ExternalMailer" || PropertyName == "SourceViewFontHeight" + || PropertyName == "SourceViewFontName" || PropertyName == "WorkPathVariable" + || PropertyName == "ooInetHTTPProxyName" || PropertyName == "ooInetHTTPProxyPort" + || PropertyName == "ooInetHTTPSProxyName" || PropertyName == "ooInetHTTPSProxyPort" + || PropertyName == "ooInetNoProxy" || PropertyName == "ooInetProxyType") { std::map<OUString, css::beans::Optional<css::uno::Any>>::iterator it = m_KDESettings.find(PropertyName); |