summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-12-19 13:33:15 +0100
committerLuboš Luňák <l.lunak@suse.cz>2012-12-19 13:37:14 +0100
commit89baaae1d301b1eb8777177f359a6915862fa6f9 (patch)
tree9053320fdfc429e130510951fdb6bca9c116bedd /vcl/unx
parent2b62ccb304e2a1d46796ca34aa5c5739e543d982 (diff)
fix KDE file dialog setting checkboxes to true
No idea how long this has been broken, or if it ever worked, but inserting a picture sets the 'link' and 'preview' checkboxes to true for the next time (as getValue() returns void*, which gets silently converted to bool *sigh*). Change-Id: I6af0e09ac5e475fc9ff04cd7f937af0bc7aeea77
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/kde4/KDE4FilePicker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/kde4/KDE4FilePicker.cxx b/vcl/unx/kde4/KDE4FilePicker.cxx
index 95f9de355f17..57594147a36e 100644
--- a/vcl/unx/kde4/KDE4FilePicker.cxx
+++ b/vcl/unx/kde4/KDE4FilePicker.cxx
@@ -362,7 +362,7 @@ void SAL_CALL KDE4FilePicker::setValue( sal_Int16 controlId, sal_Int16, const un
case ExtendedFilePickerElementIds::CHECKBOX_SELECTION:
{
QCheckBox* cb = dynamic_cast<QCheckBox*>(widget);
- cb->setChecked(value.getValue());
+ cb->setChecked(value.get<bool>());
break;
}
case ExtendedFilePickerElementIds::PUSHBUTTON_PLAY: