[Libreoffice-commits] core.git: vcl/unx

Stephan Bergmann sbergman at redhat.com
Tue Feb 28 16:27:46 UTC 2017


 vcl/unx/kde4/KDE4FilePicker.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2c5db7360d03cb28d232f06212065d3a1d9d4589
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Feb 28 17:26:41 2017 +0100

    loplugin:unoany
    
    Change-Id: Id0823ce54c7adb03c824e4095c835356846c69ca

diff --git a/vcl/unx/kde4/KDE4FilePicker.cxx b/vcl/unx/kde4/KDE4FilePicker.cxx
index d20c716..af57bb2 100644
--- a/vcl/unx/kde4/KDE4FilePicker.cxx
+++ b/vcl/unx/kde4/KDE4FilePicker.cxx
@@ -454,7 +454,7 @@ uno::Any SAL_CALL KDE4FilePicker::getValue( sal_Int16 controlId, sal_Int16 nCont
     if (_customWidgets.contains( controlId )) {
         QCheckBox* cb = dynamic_cast<QCheckBox*>( _customWidgets.value( controlId ));
         if (cb)
-            res = uno::Any(cb->isChecked());
+            res <<= cb->isChecked();
     }
     else
         SAL_WARN( "vcl", "get value on unknown control " << controlId );


More information about the Libreoffice-commits mailing list