summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2020-02-27 17:24:10 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2020-03-02 01:26:44 +0100
commit1cb82997d30144f38b435b9355d9c83c27e916f1 (patch)
tree5bbdfea8c3cbf87487c9933c7713852d9476ac76 /desktop
parenttdf#130989 we want to fill the menu when the menubutton is toggled on (diff)
downloadcore-1cb82997d30144f38b435b9355d9c83c27e916f1.tar.gz
core-1cb82997d30144f38b435b9355d9c83c27e916f1.zip
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 (cherry picked from commit 53a8e2f75da778c953b509efadca890ff0936c2f) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89666 Reviewed-by: Xisco FaulĂ­ <xiscofauli@libreoffice.org> (cherry picked from commit 28f0ceb77e7c78debfc1372005ac2e2ecacc543b) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89667 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/dispatchwatcher.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx
index 37fe079d18dc..c0e67ce06922 100644
--- a/desktop/source/app/dispatchwatcher.cxx
+++ b/desktop/source/app/dispatchwatcher.cxx
@@ -259,7 +259,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();