diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-02-27 17:24:10 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-02-27 18:41:05 +0100 |
commit | 53a8e2f75da778c953b509efadca890ff0936c2f (patch) | |
tree | e6809e50260560a8f3e24befa4b1bae2f3de2783 /desktop | |
parent | f2db813374b8d65e1edec1387fa0c534b40885e1 (diff) |
desktop: soffice --print-to-file generates PDF but names it ".ps"
Both on Linux and Windows a PDF is generated.
Change-Id: I076b57c34a87c17d34eb34f2ea87c6fd5fe590f3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89645
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Tested-by: Jenkins
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/dispatchwatcher.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx index 07e28d69d04b..5bf047d591cf 100644 --- a/desktop/source/app/dispatchwatcher.cxx +++ b/desktop/source/app/dispatchwatcher.cxx @@ -254,7 +254,7 @@ void batchPrint( const OUString &rPrinterName, const Reference< XPrintable > &xD aPrinterName=rPrinterName.copy( 0, nPathIndex ); INetURLObject aOutFilename( aObj ); - aOutFilename.SetExtension( "ps" ); + aOutFilename.SetExtension( "pdf" ); FileBase::getFileURLFromSystemPath( aFilterOut, aFilterOut ); OUString aOutFile = aFilterOut + "/" + aOutFilename.getName(); |