summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2019-01-21 20:18:19 +0900
committerMichael Stahl <Michael.Stahl@cib.de>2019-02-19 17:50:02 +0100
commit3a6d425818b7e3e449a8e27c28cfb565dc6f21a6 (patch)
tree3d9e7e324ae3cbde706ad749735bec04ef3fcc67 /wizards
parent4b4d7014b571d8f4bff431de3a9050b2d48db2a6 (diff)
tdf#120361 Store Berend_Ilko_Tom_Stella_Volker.stc as temporary
... at invoking uno:ChooseDesign, instead of saving it into user's working directory. Change-Id: I899b259faca7fbc6ba2f5cc4ac8638f34e5febc6 Reviewed-on: https://gerrit.libreoffice.org/66672 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'wizards')
-rw-r--r--wizards/source/template/Samples.xba4
1 files changed, 2 insertions, 2 deletions
diff --git a/wizards/source/template/Samples.xba b/wizards/source/template/Samples.xba
index ac3431a2023b..3009f4cba705 100644
--- a/wizards/source/template/Samples.xba
+++ b/wizards/source/template/Samples.xba
@@ -109,9 +109,9 @@ End Sub
Sub SaveCurrentStyles(oDocument as Object)
-&apos;This sub stores the current document in the user work directory
+&apos;This sub stores the current document in the directory to hold temporary files.
On Error Goto ErrorOcurred
- aTempURL = GetPathSettings(&quot;Work&quot;, False)
+ aTempURL = GetPathSettings(&quot;Temp&quot;, False)
Dim aRightMost as String
aRightMost = Right(aTempURL, 1)
if aRightMost = &quot;/&quot; Then