diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-11-28 10:45:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-11-28 12:57:37 +0100 |
commit | 6b2018fe67bafa7e84239eac83d48da4dcbaaa7a (patch) | |
tree | 0c55eed4b3c1de7b1f578d8f1bcb6c8d945c49d1 | |
parent | 254acd7c1d8fef437985c9b428a0edddede9d5a9 (diff) |
fix can't add a new category to autotext
since:
commit 4b95451f859bac8e05956ce12df17f1ee410032d
Date: Wed Sep 21 20:54:00 2022 +0200
split utl::TempFile into fast and named variants
Change-Id: I78002ac0309c6e74d5169aeecdc9c660d0aa9279
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143378
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sw/source/ui/misc/glosbib.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/misc/glosbib.cxx b/sw/source/ui/misc/glosbib.cxx index d33cd1ef3816..a7dc7b267c7c 100644 --- a/sw/source/ui/misc/glosbib.cxx +++ b/sw/source/ui/misc/glosbib.cxx @@ -76,7 +76,7 @@ SwGlossaryGroupDlg::SwGlossaryGroupDlg(weld::Window * pParent, INetURLObject aTempURL(rPathArr[i]); const OUString sPath = aTempURL.GetMainURL(INetURLObject::DecodeMechanism::WithCharset ); sal_uInt32 nCaseReadonly = 0; - utl::TempFileNamed aTempFile(sPath); + utl::TempFileNamed aTempFile(&sPath); aTempFile.EnableKillingFile(); if(!aTempFile.IsValid()) nCaseReadonly |= PATH_READONLY; |