summaryrefslogtreecommitdiff
path: root/cui/inc/strings.hrc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-08-27 08:50:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-08-27 12:39:04 +0200
commitb742b4d7f1f3bb6e1fce45ccf5d885e587e01801 (patch)
tree48124cf33e1a7178521b56055d451041fef8f9a8 /cui/inc/strings.hrc
parent09be7ac7dce1e8141f25bc84273968ea273a018c (diff)
Use osl::FileBase::getSystemPathFromFileURL
...instead of INetURLObject FSysStyle::Detect guesswork (with the hope of eventually phasing out use of the latter). (In each of the three places where a filesystem pathname would need to be converted back to a URL with osl::FileBase::getFileURLFromSystemPath, failure is rather harmless, so they don't check error returns and are marked as "best effort".) Change-Id: Ia312b49b20543cdd83aff5609bb054e0fc1dc194 Reviewed-on: https://gerrit.libreoffice.org/78165 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cui/inc/strings.hrc')
-rw-r--r--cui/inc/strings.hrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/inc/strings.hrc b/cui/inc/strings.hrc
index 9b70cbf55301..1ade0c0d6b38 100644
--- a/cui/inc/strings.hrc
+++ b/cui/inc/strings.hrc
@@ -379,6 +379,8 @@
#define RID_SVXSTR_REGISTERED_DATABASES NC_("RID_SVXSTR_REGISTERED_DATABASES", "Registered Databases")
+#define RID_SVXSTR_CANNOTCONVERTURL_ERR NC_("RID_SVXSTR_CANNOTCONVERTURL_ERR", "The URL <%1> cannot be converted to a filesystem path.")
+
#define RID_SVXSTR_ABOUT_VERSION NC_("aboutdialog|textbuffer1", "Version: %ABOUTBOXPRODUCTVERSION%ABOUTBOXPRODUCTVERSIONSUFFIX")
#define RID_SVXSTR_ABOUT_COPYRIGHT NC_("aboutdialog|copyright", "Copyright © 2000–2019 LibreOffice contributors.")
#define RID_SVXSTR_ABOUT_CREDITS_URL NC_("aboutdialog|link", "https://www.libreoffice.org/about-us/credits/")