diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-09-09 00:26:21 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-09-09 00:40:13 +0200 |
commit | 3fa8ff7734541c8cb12a5e80b6770cbc7a9347f1 (patch) | |
tree | b7bad67534bb393597437f4984b7c90470fe5c93 /fpicker/source/aqua | |
parent | d918a8086af56d1869e465baae64d960e56066d1 (diff) |
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/source/aqua')
-rw-r--r-- | fpicker/source/aqua/ControlHelper.mm | 1 |
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); |