diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-02-06 11:36:35 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-02-06 20:42:57 +0100 |
commit | 42c58f1c0ca4d310834f561f9145df340a893af1 (patch) | |
tree | 2ee93d3ed7920da9bc77bb6e797d3da4a9ba0b1d /framework/source/classes | |
parent | 105edb6adad2ef84ec11528168ecf4e2481f8302 (diff) |
tdf#115218 framework: decouple HiddenForConversion from Hidden
Commit 4a0f506f0d8c2a017f0cf880481d3c0c32a48909 (framework: disable
layout manager in hidden frames, 2018-01-17) added support for bypassing
the framework layout manager for doc conversion purposes, but the Hidden
flag has the meaning that the doc is only initially hidden, it may be
visible later, so reusing Hidden broke mail merge.
Introduce a dedicated HiddenForConversion flag, clients interested in
improved performance can opt in for that, and this way behavior for
Hidden is not changing.
Change-Id: If7537197900f8819f714b164c9e056b4ae69286d
Reviewed-on: https://gerrit.libreoffice.org/49302
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'framework/source/classes')
-rw-r--r-- | framework/source/classes/taskcreator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/classes/taskcreator.cxx b/framework/source/classes/taskcreator.cxx index 0bf720b510ac..f9b6cac2842f 100644 --- a/framework/source/classes/taskcreator.cxx +++ b/framework/source/classes/taskcreator.cxx @@ -110,8 +110,8 @@ css::uno::Reference< css::frame::XFrame > TaskCreator::createTask( const OUStrin lArgs[4] <<= aArg; bool bHidden - = rDescriptor.getUnpackedValueOrDefault(utl::MediaDescriptor::PROP_HIDDEN(), false); - aArg.Name = "Hidden"; + = rDescriptor.getUnpackedValueOrDefault("HiddenForConversion", false); + aArg.Name = "HiddenForConversion"; aArg.Value <<= bHidden; lArgs[5] <<= aArg; |