summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-08-27 10:30:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-08-27 15:07:48 +0200
commit3bed509302127f0bb82898b2637c4372aee796ef (patch)
treec3ab632082d2970a7df177a4ad9906eb2c117f3b /include
parentfae4eb717427f542305d2978f5fa78cbf27eaafa (diff)
Use a direct way to get at the temp dir
...in code originally added with 2b2f1352c72280dd25ed3bef090a3c708ee4b964 "tdf#86087 Save relative links in DOCX", by introducing utl::TempFile::GetTempNameBaseDirectory Change-Id: Ic0e8b54896a3829c081255404ef92b96f1724a2a Reviewed-on: https://gerrit.libreoffice.org/78174 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/unotools/tempfile.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/unotools/tempfile.hxx b/include/unotools/tempfile.hxx
index 57f0fef8a940..b77d6e3a798f 100644
--- a/include/unotools/tempfile.hxx
+++ b/include/unotools/tempfile.hxx
@@ -132,6 +132,10 @@ public:
It is not a URL because all URLs must be "UCB compatible", so there may be no suitable URL at all.
*/
static OUString SetTempNameBaseDirectory( const OUString &rBaseName );
+
+ // Return the URL of the temp directory (the one set with SetTempNameBaseDirectory or the
+ // default tempfile folder):
+ static OUString GetTempNameBaseDirectory();
};
}