summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-08 08:16:13 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-08 09:30:49 +0200
commit872487777f901540dffa3a85d48b803bf7dbfd03 (patch)
tree718dd4b27e899e3b9ebdef7dc189539b046f530e /framework/source
parent52e574ffd2450956645939abc50c83637c89df01 (diff)
Fix typo
"an usable" Change-Id: Ida4e945022bba17ce4ef17c4db627539ec9d86a1 Reviewed-on: https://gerrit.libreoffice.org/77137 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/services/substitutepathvars.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index 1836fa00e554..97c91ea9f9d3 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -248,7 +248,7 @@ OUString SubstitutePathVariables::GetWorkPath() const
OUString aWorkPath;
css::uno::Reference< css::container::XHierarchicalNameAccess > xPaths(officecfg::Office::Paths::Paths::get(m_xContext), css::uno::UNO_QUERY_THROW);
if (!(xPaths->getByHierarchicalName("['Work']/WritePath") >>= aWorkPath))
- // fallback in case config layer does not return an usable work dir value.
+ // fallback in case config layer does not return a usable work dir value.
aWorkPath = GetWorkVariableValue();
return aWorkPath;
@@ -261,7 +261,7 @@ OUString SubstitutePathVariables::GetWorkVariableValue() const
if (!x)
{
// fallback to $HOME in case platform dependent config layer does not return
- // an usable work dir value.
+ // a usable work dir value.
osl::Security aSecurity;
aSecurity.getHomeDir( aWorkPath );
}