diff options
author | Tor Lillqvist <tml@collabora.com> | 2020-11-16 00:43:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-11-24 10:02:29 +0100 |
commit | 6b55436aa93be01086c93a66b20aa73ab455aa71 (patch) | |
tree | 63b980ad49d90c837012365bb115d01db76276bc | |
parent | There is no QuickTime framework (diff) | |
download | core-6b55436aa93be01086c93a66b20aa73ab455aa71.tar.gz core-6b55436aa93be01086c93a66b20aa73ab455aa71.zip |
Avoid unused parameter 'pImpl'
Change-Id: I8dd30ed3ffffa0e5340b32ce4399dd05cc57e2b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105962
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106258
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106457
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 09c6f8cbb6ed..57a85ffe16a8 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -3620,10 +3620,12 @@ OUString GetLogicBase(std::unique_ptr<SfxMedium_Impl> 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) { |