summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/backupfilehelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/misc/backupfilehelper.cxx')
-rw-r--r--comphelper/source/misc/backupfilehelper.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx
index 4476e7f17717..6e21a27611c0 100644
--- a/comphelper/source/misc/backupfilehelper.cxx
+++ b/comphelper/source/misc/backupfilehelper.cxx
@@ -666,11 +666,10 @@ namespace
// first appearance to check
{
const OUString aUnoPackagReg(rUserConfigWorkURL + aRegPathFront + "bundle" + aRegPathBack);
- const OUString aTagToSearch("extension");
visitNodesXMLChangeOneCase(
aUnoPackagReg,
- aTagToSearch,
+ "extension",
rToBeEnabled,
rToBeDisabled);
}
@@ -678,11 +677,10 @@ namespace
// second appearance to check
{
const OUString aUnoPackagReg(rUserConfigWorkURL + aRegPathFront + "configuration" + aRegPathBack);
- const OUString aTagToSearch("configuration");
visitNodesXMLChangeOneCase(
aUnoPackagReg,
- aTagToSearch,
+ "configuration",
rToBeEnabled,
rToBeDisabled);
}
@@ -690,11 +688,10 @@ namespace
// third appearance to check
{
const OUString aUnoPackagReg(rUserConfigWorkURL + aRegPathFront + "script" + aRegPathBack);
- const OUString aTagToSearch("script");
visitNodesXMLChangeOneCase(
aUnoPackagReg,
- aTagToSearch,
+ "script",
rToBeEnabled,
rToBeDisabled);
}