[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - desktop/source

Michael Stahl (via logerrit) logerrit at kemper.freedesktop.org
Thu Feb 27 18:49:55 UTC 2020


 desktop/source/app/dispatchwatcher.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 28f0ceb77e7c78debfc1372005ac2e2ecacc543b
Author:     Michael Stahl <Michael.Stahl at cib.de>
AuthorDate: Thu Feb 27 17:24:10 2020 +0100
Commit:     Xisco Faulí <xiscofauli at libreoffice.org>
CommitDate: Thu Feb 27 19:49:26 2020 +0100

    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 at cib.de>
    Tested-by: Jenkins
    (cherry picked from commit 53a8e2f75da778c953b509efadca890ff0936c2f)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89666
    Reviewed-by: Xisco Faulí <xiscofauli at libreoffice.org>

diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx
index f3857d8cff57..04140173c6d1 100644
--- a/desktop/source/app/dispatchwatcher.cxx
+++ b/desktop/source/app/dispatchwatcher.cxx
@@ -260,7 +260,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();
 


More information about the Libreoffice-commits mailing list