[Libreoffice-commits] core.git: framework/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Mon May 25 06:57:26 UTC 2020
framework/source/accelerators/presethandler.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 91345e7dde6100496a7c9e815b72b2821ae82bc2
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Sun May 24 19:14:53 2020 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon May 25 08:56:46 2020 +0200
Clean up dead code
...after d55fb1552f6ecd5c2f9e817d2b820e1a66410840 "loplugin:unusedfields in
framework" had removed the sole consume of sRelPathNoLang.
Change-Id: I7fb6aae42e4ea0b4fdebc993498e43066ea0c8fb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94763
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/framework/source/accelerators/presethandler.cxx b/framework/source/accelerators/presethandler.cxx
index 28f880d06560..9e95c5545960 100644
--- a/framework/source/accelerators/presethandler.cxx
+++ b/framework/source/accelerators/presethandler.cxx
@@ -350,7 +350,6 @@ void PresetHandler::connectToResource( PresetHandler::EConfigType
OUStringBuffer sRelPathBuf(1024);
OUString sRelPathShare;
- OUString sRelPathNoLang;
OUString sRelPathUser;
switch(eConfigType)
{
@@ -407,7 +406,6 @@ void PresetHandler::connectToResource( PresetHandler::EConfigType
// Non-localized global share
xNoLang = xShare;
- sRelPathNoLang = sRelPathShare;
if (
(rLanguageTag != LanguageTag(LANGUAGE_USER_PRIV_NOTRANSLATE)) && // localized level?
More information about the Libreoffice-commits
mailing list