View | Details | Raw Unified | Return to issue 80264
Collapse All | Expand All

(-)source/filter/eppt/epptso.cxx (-2 / +8 lines)
Lines 2560-2567 Link Here
2560
                            aGraphicURL = ( *(::rtl::OUString*)pValue );
2560
                            aGraphicURL = ( *(::rtl::OUString*)pValue );
2561
                        else if ( aPropName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "GraphicSize" ) ) )
2561
                        else if ( aPropName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "GraphicSize" ) ) )
2562
                        {
2562
                        {
2563
                            if ( pPropValue[ i ].Value.getValueType() == ::getCppuType( (::com::sun::star::awt::Size*)0) )
2563
                            if ( pPropValue[ i ].Value.getValueType() == ::getCppuType( (::com::sun::star::awt::Size*)0) ) 
2564
                                aBuGraSize =  *(Size*)pValue;
2564
														{
2565
															// don't cast awt::Size to Size as on 64-bits they are not the same.
2566
															::com::sun::star::awt::Size aSize;
2567
															pPropValue[ i ].Value >>= aSize;
2568
															aBuGraSize.nA = aSize.Width;
2569
															aBuGraSize.nB = aSize.Height;
2570
														}
2565
                        }
2571
                        }
2566
                        else if ( aPropName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "StartWith" ) ) )
2572
                        else if ( aPropName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "StartWith" ) ) )
2567
                            nStartWith = *( (sal_Int16*)pValue );
2573
                            nStartWith = *( (sal_Int16*)pValue );

Return to issue 80264