summaryrefslogtreecommitdiffstats
path: root/fpicker
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2017-09-09 00:26:21 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2017-09-09 00:40:13 +0200
commit3fa8ff7734541c8cb12a5e80b6770cbc7a9347f1 (patch)
treeb7bad67534bb393597437f4984b7c90470fe5c93 /fpicker
parenttdf#108722 vcl: fix bugs in TextEngine with TEXTATTR_PROTECTED (diff)
downloadcore-3fa8ff7734541c8cb12a5e80b6770cbc7a9347f1.tar.gz
core-3fa8ff7734541c8cb12a5e80b6770cbc7a9347f1.zip
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
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/aqua/ControlHelper.mm1
1 files changed, 0 insertions, 1 deletions
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);