summaryrefslogtreecommitdiff
path: root/desktop/source/lib
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2022-10-27 18:11:08 -0400
committerGökay ŞATIR <gokaysatir@collabora.com>2022-10-31 13:29:39 +0100
commitf43a5ec28d36422c105da3d640bf94ad9c8a2ba6 (patch)
treec0d86e75d583d93cbeab8dd21885050c608c15f1 /desktop/source/lib
parent291783343073bb726ea0292ee6f0fa0cc09abc5b (diff)
lok: fix convert-to batch mode, quiet interaction
If it is a batch mode to convert *.csv to *.ods, use the quiet interaction to avoid unwanted filter dialogs. Signed-off-by: Henry Castro <hcastro@collabora.com> Change-Id: I4ef82c1079888ae099084072c146b5db4cc0f2a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141950 Tested-by: Jenkins Reviewed-by: Ashod Nakashian <ash@collabora.com>
Diffstat (limited to 'desktop/source/lib')
-rw-r--r--desktop/source/lib/init.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index b0ebc21138eb..46dbe3e5d9c6 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2596,7 +2596,8 @@ static LibreOfficeKitDocument* lo_documentLoadWithOptions(LibreOfficeKit* pThis,
comphelper::makePropertyValue("FilterOptions", sFilterOptions),
comphelper::makePropertyValue("InteractionHandler", xInteraction),
comphelper::makePropertyValue("MacroExecutionMode", nMacroExecMode),
- comphelper::makePropertyValue("AsTemplate", false)
+ comphelper::makePropertyValue("AsTemplate", false),
+ comphelper::makePropertyValue("Silent", !aBatch.isEmpty())
};
/* TODO