[Libreoffice-commits] core.git: desktop/source

Stephan Bergmann sbergman at redhat.com
Fri Jul 15 16:16:13 UTC 2016


 desktop/source/app/officeipcthread.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 08960441558743f222280637985690bb8b41b861
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jul 15 18:11:18 2016 +0200

    Related tdf#37531: Handle conversion args sent over pipe
    
    However:
    * "soffice --convert-to pdf foo.odt" creates foo.pdf in the called soffice's
      CWD, not the caller's.
    * "soffice --cat foo.odt" prints to the called soffice's stdout, not the
      caller's (though this will unlikely ever be fixed), and then also terminates
      the called soffice.
    
    Change-Id: I2f4420881b2bee00b0476c76f739966c13101be4

diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx
index 99d4994..5da1584 100644
--- a/desktop/source/app/officeipcthread.cxx
+++ b/desktop/source/app/officeipcthread.cxx
@@ -1048,6 +1048,12 @@ bool IpcThread::process(OString const & arguments, bool * waitProcessed) {
         pRequest->aPrintToList = aCmdLineArgs->GetPrintToList();
         pRequest->aPrinterName = aCmdLineArgs->GetPrinterName();
         bDocRequestSent |= !( pRequest->aPrintToList.empty() || pRequest->aPrinterName.isEmpty() );
+        pRequest->aConversionList = aCmdLineArgs->GetConversionList();
+        pRequest->aConversionParams = aCmdLineArgs->GetConversionParams();
+        pRequest->aConversionOut = aCmdLineArgs->GetConversionOut();
+        pRequest->aInFilter = aCmdLineArgs->GetInFilter();
+        pRequest->bTextCat = aCmdLineArgs->IsTextCat();
+        bDocRequestSent |= !pRequest->aConversionList.empty();
 
         if ( !rCurrentCmdLineArgs.IsInvisible() )
         {


More information about the Libreoffice-commits mailing list