From 3fa8ff7734541c8cb12a5e80b6770cbc7a9347f1 Mon Sep 17 00:00:00 2001 From: Jan-Marek Glogowski Date: Sat, 9 Sep 2017 00:26:21 +0200 Subject: tdf#112289 OSX fpicker: don't default to true When LO requests a value for the currently unimplemented GPG encryption checkbox, the Aqua file picker defaults to a "uno::Any <<= true", which triggers the GPG key dialog. This simply returns an empty uno::Any for values of unknown controls, which is handled fine. If something else relies on the current default value, it must to be properly implemented. Change-Id: I3637ca833d59e19416e25f3096bc90a756aa8840 --- fpicker/source/aqua/ControlHelper.mm | 1 - 1 file changed, 1 deletion(-) (limited to 'fpicker/source/aqua') diff --git a/fpicker/source/aqua/ControlHelper.mm b/fpicker/source/aqua/ControlHelper.mm index f645d2a4aecd..d0568b9a5ea1 100644 --- a/fpicker/source/aqua/ControlHelper.mm +++ b/fpicker/source/aqua/ControlHelper.mm @@ -348,7 +348,6 @@ uno::Any ControlHelper::getValue( sal_Int16 nControlId, sal_Int16 nControlAction if( pControl == nil ) { SAL_INFO("fpicker.aqua","get value for unknown control " << nControlId); - aRetval <<= true; } else { if( [pControl class] == [NSPopUpButton class] ) { aRetval = HandleGetListValue(pControl, nControlAction); -- cgit