Hello Jim, All,

On Thu, Aug 26, 2021 at 06:08:48PM +0200, Arrigo Marchiori wrote:

> Hello All,
> 
> On Thu, Aug 26, 2021 at 04:34:02PM +0200, Matthias Seidel wrote:
> 
> > Hi Jim,
> > 
> > Arrigo wrote that "it still does not work, unfortunately"
> 
> Yes! Did I miss anything?

I did miss it! I merged AOO41X into catalina and it works!! Well done,
Jim!

I must have done some mistakes when merging your changes during your
development. But AOO41X seems to be good after your commits.

> > Did you build Dev3 with a newer clang?
> > 
> > @Yuri: Can you try to build for OS/2 with the latest AOO41X?
> 
> +1

I am eager to hear if OS/2 is also working now!

Best regards.

> > Am 26.08.21 um 16:27 schrieb Jim Jagielski:
> > > I believe the fix, which is universal, is already folded into the repos
> > >
> > >> On Aug 25, 2021, at 5:43 PM, Matthias Seidel 
> > >> <matthias.sei...@hamburg.de> wrote:
> > >>
> > >> Hi all,
> > >>
> > >> Am 06.08.21 um 12:26 schrieb Arrigo Marchiori:
> > >>> Hello Jim, All,
> > >>>
> > >>>
> > >>> On Thu, Aug 05, 2021 at 01:41:23PM -0400, Jim Jagielski wrote:
> > >>>
> > >>>> Never mind that one: This one is the one: THX!
> > >>> it still does not work, unfortunately. Quoting the rest for
> > >>> completeness.
> > >> Any ideas?
> > >>
> > >> A fix would be great for OS/2.
> > >>
> > >> Regards,
> > >>
> > >>    Matthias
> > >>
> > >>>> diff --git a/main/comphelper/inc/comphelper/extract.hxx 
> > >>>> b/main/comphelper/inc/comphelper/extract.hxx
> > >>>> index dc67c5dc58..fc75fa9cb9 100644
> > >>>> --- a/main/comphelper/inc/comphelper/extract.hxx
> > >>>> +++ b/main/comphelper/inc/comphelper/extract.hxx
> > >>>> @@ -131,9 +131,10 @@ inline sal_Bool SAL_CALL extractInterface(
> > >>>> inline sal_Bool SAL_CALL any2bool( const ::com::sun::star::uno::Any & 
> > >>>> rAny )
> > >>>>        throw( ::com::sun::star::lang::IllegalArgumentException )
> > >>>> {
> > >>>> -      if (rAny.getValueTypeClass() == 
> > >>>> ::com::sun::star::uno::TypeClass_BOOLEAN)
> > >>>> +      sal_Bool sValue;
> > >>>> +      if ( rAny >>= sValue)
> > >>>>        {
> > >>>> -              return *(sal_Bool *)rAny.getValue();
> > >>>> +              return sValue;
> > >>>>        }
> > >>>>        else
> > >>>>        {
> > >>>> diff --git a/main/cppu/inc/com/sun/star/uno/Any.hxx 
> > >>>> b/main/cppu/inc/com/sun/star/uno/Any.hxx
> > >>>> index e1d125be82..2a38598efa 100644
> > >>>> --- a/main/cppu/inc/com/sun/star/uno/Any.hxx
> > >>>> +++ b/main/cppu/inc/com/sun/star/uno/Any.hxx
> > >>>> @@ -251,9 +251,9 @@ inline sal_Bool SAL_CALL operator >>= ( Any const 
> > >>>> & rAny, bool & value )
> > >>>>        {
> > >>>>                value = *reinterpret_cast< sal_Bool const * >(
> > >>>>             &rAny.pReserved ) != sal_False;
> > >>>> -              return true;
> > >>>> +              return sal_True;
> > >>>>        }
> > >>>> -      return false;
> > >>>> +      return sal_False;
> > >>>> }
> > >>>>
> > >>>> //______________________________________________________________________________
> > >>>> diff --git a/main/starmath/source/mathmlexport.cxx 
> > >>>> b/main/starmath/source/mathmlexport.cxx
> > >>>> index 3f36ff152d..00b301d0eb 100644
> > >>>> --- a/main/starmath/source/mathmlexport.cxx
> > >>>> +++ b/main/starmath/source/mathmlexport.cxx
> > >>>> @@ -169,9 +169,7 @@ sal_Bool SmXMLExportWrapper::Export(SfxMedium 
> > >>>> &rMedium)
> > >>>>     SvtSaveOptions aSaveOpt;
> > >>>>     OUString 
> > >>>> sUsePrettyPrinting(RTL_CONSTASCII_USTRINGPARAM("UsePrettyPrinting"));
> > >>>>     sal_Bool bUsePrettyPrinting( bFlat || aSaveOpt.IsPrettyPrinting() 
> > >>>> );
> > >>>> -    Any aAny;
> > >>>> -    aAny.setValue( &bUsePrettyPrinting, ::getBooleanCppuType() );
> > >>>> -    xInfoSet->setPropertyValue( sUsePrettyPrinting, aAny );
> > >>>> +    xInfoSet->setPropertyValue( sUsePrettyPrinting, 
> > >>>> uno::makeAny(bUsePrettyPrinting));
> > >>>>
> > >>>>     // Set base URI
> > >>>>     OUString sPropName( RTL_CONSTASCII_USTRINGPARAM("BaseURI") );
> > >>>> diff --git a/main/sw/source/filter/xml/wrtxml.cxx 
> > >>>> b/main/sw/source/filter/xml/wrtxml.cxx
> > >>>> index e288bfc006..7677f86ff1 100644
> > >>>> --- a/main/sw/source/filter/xml/wrtxml.cxx
> > >>>> +++ b/main/sw/source/filter/xml/wrtxml.cxx
> > >>>> @@ -207,8 +207,7 @@ pGraphicHelper = SvXMLGraphicHelper::Create( xStg,
> > >>>>        SvtSaveOptions aSaveOpt;
> > >>>>        OUString 
> > >>>> sUsePrettyPrinting(RTL_CONSTASCII_USTRINGPARAM("UsePrettyPrinting"));
> > >>>>        sal_Bool bUsePrettyPrinting( aSaveOpt.IsPrettyPrinting() );
> > >>>> -      aAny.setValue( &bUsePrettyPrinting, ::getBooleanCppuType() );
> > >>>> -      xInfoSet->setPropertyValue( sUsePrettyPrinting, aAny );
> > >>>> +      xInfoSet->setPropertyValue( sUsePrettyPrinting, 
> > >>>> uno::makeAny(bUsePrettyPrinting));
> > >>>>
> > >>>>     // save show redline mode ...
> > >>>>        OUString 
> > >>>> sShowChanges(RTL_CONSTASCII_USTRINGPARAM("ShowChanges"));
> > >>> Best regards,
> 
> -- 
> Arrigo
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
> 

-- 
Arrigo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to