From 91345e7dde6100496a7c9e815b72b2821ae82bc2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 24 May 2020 19:14:53 +0200 Subject: 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 --- framework/source/accelerators/presethandler.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'framework/source') 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? -- cgit