sw/source/ui/misc/glosbib.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6b2018fe67bafa7e84239eac83d48da4dcbaaa7a Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Nov 28 10:45:37 2022 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Nov 28 12:57:37 2022 +0100 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 <caol...@redhat.com> 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;