diff --git a/filter/source/svg/svgdialog.hxx b/filter/source/svg/svgdialog.hxx index b91ac44e3fab..e0eff6494fb7 100644 --- a/filter/source/svg/svgdialog.hxx +++ b/filter/source/svg/svgdialog.hxx @@ -82,7 +82,9 @@ protected: virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const; // XPropertyAccess + using cppu::OPropertySetHelper::getPropertyValues; virtual com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getPropertyValues( ) throw (com::sun::star::uno::RuntimeException); + using cppu::OPropertySetHelper::setPropertyValues; virtual void SAL_CALL setPropertyValues( const com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aProps ) throw (com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException, com::sun::star::uno::RuntimeException); // XExporter diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index 0350e87bd8fa..307896a859e5 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -129,7 +129,7 @@ SVGAttributeWriter::~SVGAttributeWriter() double SVGAttributeWriter::ImplRound( double fValue, sal_Int32 nDecs ) { - return( floor( fValue * pow( 10.0, nDecs ) + 0.5 ) / pow( 10.0, nDecs ) ); + return( floor( fValue * pow( 10.0, (int)nDecs ) + 0.5 ) / pow( 10.0, (int)nDecs ) ); } // ----------------------------------------------------------------------------- @@ -870,7 +870,7 @@ void SVGActionWriter::ImplWriteText( const Point& rPos, const String& rText, if( !mrExport.IsUseNativeTextDecoration() ) { - if( rFont.GetStrikeout() || rFont.GetUnderline() ) + if( rFont.GetStrikeout() != STRIKEOUT_NONE || rFont.GetUnderline() != UNDERLINE_NONE ) { Polygon aPoly( 4 ); const long nLineHeight = Max( (long) FRound( aMetric.GetLineHeight() * 0.05 ), (long) 1 );