https://bugs.documentfoundation.org/show_bug.cgi?id=107029

--- Comment #2 from Miklos Vajna <vmik...@collabora.co.uk> ---
This fixes the problem for me:

diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
index 32edd32..f5606ff 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
@@ -1092,7 +1092,7 @@ bool ImportContext::importButtonTypeProperty(
             throw xml::sax::SAXException( "invalid button-type value!",
Reference< XInterface >(), Any() );
         }

-        _xControlModel->setPropertyValue( rPropName, makeAny( nButtonType ) );
+        _xControlModel->setPropertyValue( rPropName, makeAny(
(sal_Int16)nButtonType ) );
         return true;
     }
     return false;

Noel, does this look correct to you? If so, I'll push a proper patch to gerrit
when I get to the machine where I have my keys. :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to