Fix call to deleted Any constructor

A recent commit 6e70103d deleted some Any constructors and methods, and
updated all the places where these had been called - except it looks
like one call was missed, active only when building against Python 2.

Adjust this call following what was done for the Python 3 case.

Change-Id: I0f92b7476b617d9fdf0e5f698e363360497d115e
Reviewed-on: https://gerrit.libreoffice.org/24759
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Luke Deller
2016-05-08 20:58:33 +10:00
committed by Stephan Bergmann
parent a7b4a0a9f3
commit f4604e43a6

View File

@@ -658,13 +658,11 @@ Any Runtime::pyObject2Any ( const PyRef & source, enum ConversionMode mode ) con
{
if( o == Py_True )
{
sal_Bool b = sal_True;
a = Any( &b, cppu::UnoType<bool>::get() );
a <<= true;
}
else if ( o == Py_False )
{
sal_Bool b = sal_False;
a = Any( &b, cppu::UnoType<bool>::get() );
a <<= false;
}
else
{