From f40016cd86a3af93d83e3baf0473fa010492f721 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 16 Nov 2020 00:43:37 +0000 Subject: Avoid unused parameter 'pImpl' Change-Id: I8dd30ed3ffffa0e5340b32ce4399dd05cc57e2b6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105962 Tested-by: Jenkins CollaboraOffice Reviewed-by: Tor Lillqvist --- sfx2/source/doc/docfile.cxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 81005e08790f..ae24bf153ea2 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -3639,10 +3639,12 @@ OUString GetLogicBase(std::unique_ptr const & pImpl) { OUString aLogicBase; -// In a sandboxed environment we don't want to attempt to create temporary files in the same -// directory where the user has selected an output file to be stored. The sandboxed process has -// permission only to create the specifically named output file in that directory. -#if !HAVE_FEATURE_MACOSX_SANDBOX +#if HAVE_FEATURE_MACOSX_SANDBOX + // In a sandboxed environment we don't want to attempt to create temporary files in the same + // directory where the user has selected an output file to be stored. The sandboxed process has + // permission only to create the specifically named output file in that directory. + (void) pImpl; +#else if (comphelper::isFileUrl(pImpl->m_aLogicName) && !pImpl->m_pInStream) { -- cgit v1.2.3