diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-06-05 08:56:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-06-05 12:54:20 +0200 |
commit | cf234676134ff225ea60d708d215a418975e67b7 (patch) | |
tree | ed921d182c013af0f355218c55edc48d2825e7aa /svtools/source/control/inettbc.cxx | |
parent | 2a3c206dfbba4677842b59d1ec22fd1ec957969a (diff) |
Upcoming loplugin:elidestringvar: svtools
Change-Id: I950ae6fd44cc346af8be6669c8c5432fc0aa9ceb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95571
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svtools/source/control/inettbc.cxx')
-rw-r--r-- | svtools/source/control/inettbc.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index 9fcb473cc81f..7192bd6271c0 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -1066,11 +1066,9 @@ OUString SvtURLBox::GetURL() bool bSlash = aObj.hasFinalSlash(); { - const OUString aPropName("CasePreservingURL"); - OUString aFileURL; - Any aAny = UCBContentHelper::GetProperty(aURL, aPropName); + Any aAny = UCBContentHelper::GetProperty(aURL, "CasePreservingURL"); bool success = (aAny >>= aFileURL); OUString aTitle; if(success) |