New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Thu Feb 12 00:53:28 PST 2015


Hi,

Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.

28 new defect(s) introduced to LibreOffice found with Coverity Scan.
24 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 20 of 28 defect(s)


** CID 1269592:    (UNCAUGHT_EXCEPT)
/include/canvas/base/graphicdevicebase.hxx: 297 in canvas::GraphicDeviceBase<canvas::DisambiguationHelper<cppu::WeakComponentImplHelper9<com::sun::star::rendering::XSpriteCanvas, com::sun::star::rendering::XIntegerBitmap, com::sun::star::rendering::XGraphicDevice, com::sun::star::lang::XMultiServiceFactory, com::sun::star::rendering::XBufferController, com::sun::star::awt::XWindowListener, com::sun::star::util::XUpdatable, com::sun::star::beans::XPropertySet, com::sun::star::lang::XServiceName>>, vclcanvas::SpriteDeviceHelper, vclcanvas::tools::LocalGuard, cppu::OWeakObject>::setPropertyValue(const rtl::OUString &, const com::sun::star::uno::Any &)()
/include/canvas/base/graphicdevicebase.hxx: 297 in canvas::GraphicDeviceBase<canvas::BaseMutexHelper<cppu::WeakComponentImplHelper7<com::sun::star::rendering::XBitmapCanvas, com::sun::star::rendering::XIntegerBitmap, com::sun::star::rendering::XGraphicDevice, com::sun::star::lang::XMultiServiceFactory, com::sun::star::util::XUpdatable, com::sun::star::beans::XPropertySet, com::sun::star::lang::XServiceName>>, vclcanvas::DeviceHelper, vclcanvas::tools::LocalGuard, cppu::OWeakObject>::setPropertyValue(const rtl::OUString &, const com::sun::star::uno::Any &)()
/include/canvas/base/graphicdevicebase.hxx: 297 in canvas::GraphicDeviceBase<canvas::DisambiguationHelper<cppu::WeakComponentImplHelper8<com::sun::star::rendering::XSpriteCanvas, com::sun::star::rendering::XGraphicDevice, com::sun::star::lang::XMultiServiceFactory, com::sun::star::rendering::XBufferController, com::sun::star::awt::XWindowListener, com::sun::star::util::XUpdatable, com::sun::star::beans::XPropertySet, com::sun::star::lang::XServiceName>>, oglcanvas::SpriteDeviceHelper, osl::Guard<osl::Mutex>, cppu::OWeakObject>::setPropertyValue(const rtl::OUString &, const com::sun::star::uno::Any &)()
/include/canvas/base/graphicdevicebase.hxx: 297 in canvas::GraphicDeviceBase<canvas::DisambiguationHelper<cppu::WeakComponentImplHelper9<com::sun::star::rendering::XSpriteCanvas, com::sun::star::rendering::XIntegerBitmap, com::sun::star::rendering::XGraphicDevice, com::sun::star::lang::XMultiServiceFactory, com::sun::star::rendering::XBufferController, com::sun::star::awt::XWindowListener, com::sun::star::util::XUpdatable, com::sun::star::beans::XPropertySet, com::sun::star::lang::XServiceName>>, cairocanvas::SpriteDeviceHelper, osl::Guard<osl::Mutex>, cppu::OWeakObject>::setPropertyValue(const rtl::OUString &, const com::sun::star::uno::Any &)()
/include/canvas/base/graphicdevicebase.hxx: 297 in canvas::GraphicDeviceBase<canvas::BaseMutexHelper<cppu::WeakComponentImplHelper7<com::sun::star::rendering::XBitmapCanvas, com::sun::star::rendering::XIntegerBitmap, com::sun::star::rendering::XGraphicDevice, com::sun::star::lang::XMultiServiceFactory, com::sun::star::util::XUpdatable, com::sun::star::beans::XPropertySet, com::sun::star::lang::XServiceName>>, cairocanvas::DeviceHelper, osl::Guard<osl::Mutex>, cppu::OWeakObject>::setPropertyValue(const rtl::OUString &, const com::sun::star::uno::Any &)()


________________________________________________________________________________________________________
*** CID 1269592:    (UNCAUGHT_EXCEPT)
/include/canvas/base/graphicdevicebase.hxx: 297 in canvas::GraphicDeviceBase<canvas::DisambiguationHelper<cppu::WeakComponentImplHelper9<com::sun::star::rendering::XSpriteCanvas, com::sun::star::rendering::XIntegerBitmap, com::sun::star::rendering::XGraphicDevice, com::sun::star::lang::XMultiServiceFactory, com::sun::star::rendering::XBufferController, com::sun::star::awt::XWindowListener, com::sun::star::util::XUpdatable, com::sun::star::beans::XPropertySet, com::sun::star::lang::XServiceName>>, vclcanvas::SpriteDeviceHelper, vclcanvas::tools::LocalGuard, cppu::OWeakObject>::setPropertyValue(const rtl::OUString &, const com::sun::star::uno::Any &)()
291             virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() throw (css::uno::RuntimeException) SAL_OVERRIDE
292             {
293                 MutexType aGuard( BaseType::m_aMutex );
294                 return maPropHelper.getPropertySetInfo();
295             }
296     
>>>     CID 1269592:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_function_call> >" is thrown but the throw list "throw(com::sun::star::uno::RuntimeException, com::sun::star::lang::WrappedTargetException, com::sun::star::lang::IllegalArgumentException, com::sun::star::beans::PropertyVetoException, com::sun::star::beans::UnknownPropertyException)" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
297             virtual void SAL_CALL setPropertyValue( const OUString&                   aPropertyName,
298                                                     const css::uno::Any& aValue ) throw (css::beans::UnknownPropertyException,
299                                                                                                       css::beans::PropertyVetoException,
300                                                                                                       css::lang::IllegalArgumentException,
301                                                                                                       css::lang::WrappedTargetException,
302                                                                                                       css::uno::RuntimeException) SAL_OVERRIDE
/include/canvas/base/graphicdevicebase.hxx: 297 in canvas::GraphicDeviceBase<canvas::BaseMutexHelper<cppu::WeakComponentImplHelper7<com::sun::star::rendering::XBitmapCanvas, com::sun::star::rendering::XIntegerBitmap, com::sun::star::rendering::XGraphicDevice, com::sun::star::lang::XMultiServiceFactory, com::sun::star::util::XUpdatable, com::sun::star::beans::XPropertySet, com::sun::star::lang::XServiceName>>, vclcanvas::DeviceHelper, vclcanvas::tools::LocalGuard, cppu::OWeakObject>::setPropertyValue(const rtl::OUString &, const com::sun::star::uno::Any &)()
291             virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() throw (css::uno::RuntimeException) SAL_OVERRIDE
292             {
293                 MutexType aGuard( BaseType::m_aMutex );
294                 return maPropHelper.getPropertySetInfo();
295             }
296     
>>>     CID 1269592:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_function_call> >" is thrown but the throw list "throw(com::sun::star::uno::RuntimeException, com::sun::star::lang::WrappedTargetException, com::sun::star::lang::IllegalArgumentException, com::sun::star::beans::PropertyVetoException, com::sun::star::beans::UnknownPropertyException)" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
297             virtual void SAL_CALL setPropertyValue( const OUString&                   aPropertyName,
298                                                     const css::uno::Any& aValue ) throw (css::beans::UnknownPropertyException,
299                                                                                                       css::beans::PropertyVetoException,
300                                                                                                       css::lang::IllegalArgumentException,
301                                                                                                       css::lang::WrappedTargetException,
302                                                                                                       css::uno::RuntimeException) SAL_OVERRIDE
/include/canvas/base/graphicdevicebase.hxx: 297 in canvas::GraphicDeviceBase<canvas::DisambiguationHelper<cppu::WeakComponentImplHelper8<com::sun::star::rendering::XSpriteCanvas, com::sun::star::rendering::XGraphicDevice, com::sun::star::lang::XMultiServiceFactory, com::sun::star::rendering::XBufferController, com::sun::star::awt::XWindowListener, com::sun::star::util::XUpdatable, com::sun::star::beans::XPropertySet, com::sun::star::lang::XServiceName>>, oglcanvas::SpriteDeviceHelper, osl::Guard<osl::Mutex>, cppu::OWeakObject>::setPropertyValue(const rtl::OUString &, const com::sun::star::uno::Any &)()
291             virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() throw (css::uno::RuntimeException) SAL_OVERRIDE
292             {
293                 MutexType aGuard( BaseType::m_aMutex );
294                 return maPropHelper.getPropertySetInfo();
295             }
296     
>>>     CID 1269592:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_function_call> >" is thrown but the throw list "throw(com::sun::star::uno::RuntimeException, com::sun::star::lang::WrappedTargetException, com::sun::star::lang::IllegalArgumentException, com::sun::star::beans::PropertyVetoException, com::sun::star::beans::UnknownPropertyException)" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
297             virtual void SAL_CALL setPropertyValue( const OUString&                   aPropertyName,
298                                                     const css::uno::Any& aValue ) throw (css::beans::UnknownPropertyException,
299                                                                                                       css::beans::PropertyVetoException,
300                                                                                                       css::lang::IllegalArgumentException,
301                                                                                                       css::lang::WrappedTargetException,
302                                                                                                       css::uno::RuntimeException) SAL_OVERRIDE
/include/canvas/base/graphicdevicebase.hxx: 297 in canvas::GraphicDeviceBase<canvas::DisambiguationHelper<cppu::WeakComponentImplHelper9<com::sun::star::rendering::XSpriteCanvas, com::sun::star::rendering::XIntegerBitmap, com::sun::star::rendering::XGraphicDevice, com::sun::star::lang::XMultiServiceFactory, com::sun::star::rendering::XBufferController, com::sun::star::awt::XWindowListener, com::sun::star::util::XUpdatable, com::sun::star::beans::XPropertySet, com::sun::star::lang::XServiceName>>, cairocanvas::SpriteDeviceHelper, osl::Guard<osl::Mutex>, cppu::OWeakObject>::setPropertyValue(const rtl::OUString &, const com::sun::star::uno::Any &)()
291             virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() throw (css::uno::RuntimeException) SAL_OVERRIDE
292             {
293                 MutexType aGuard( BaseType::m_aMutex );
294                 return maPropHelper.getPropertySetInfo();
295             }
296     
>>>     CID 1269592:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_function_call> >" is thrown but the throw list "throw(com::sun::star::uno::RuntimeException, com::sun::star::lang::WrappedTargetException, com::sun::star::lang::IllegalArgumentException, com::sun::star::beans::PropertyVetoException, com::sun::star::beans::UnknownPropertyException)" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
297             virtual void SAL_CALL setPropertyValue( const OUString&                   aPropertyName,
298                                                     const css::uno::Any& aValue ) throw (css::beans::UnknownPropertyException,
299                                                                                                       css::beans::PropertyVetoException,
300                                                                                                       css::lang::IllegalArgumentException,
301                                                                                                       css::lang::WrappedTargetException,
302                                                                                                       css::uno::RuntimeException) SAL_OVERRIDE
/include/canvas/base/graphicdevicebase.hxx: 297 in canvas::GraphicDeviceBase<canvas::BaseMutexHelper<cppu::WeakComponentImplHelper7<com::sun::star::rendering::XBitmapCanvas, com::sun::star::rendering::XIntegerBitmap, com::sun::star::rendering::XGraphicDevice, com::sun::star::lang::XMultiServiceFactory, com::sun::star::util::XUpdatable, com::sun::star::beans::XPropertySet, com::sun::star::lang::XServiceName>>, cairocanvas::DeviceHelper, osl::Guard<osl::Mutex>, cppu::OWeakObject>::setPropertyValue(const rtl::OUString &, const com::sun::star::uno::Any &)()
291             virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() throw (css::uno::RuntimeException) SAL_OVERRIDE
292             {
293                 MutexType aGuard( BaseType::m_aMutex );
294                 return maPropHelper.getPropertySetInfo();
295             }
296     
>>>     CID 1269592:    (UNCAUGHT_EXCEPT)
>>>     An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_function_call> >" is thrown but the throw list "throw(com::sun::star::uno::RuntimeException, com::sun::star::lang::WrappedTargetException, com::sun::star::lang::IllegalArgumentException, com::sun::star::beans::PropertyVetoException, com::sun::star::beans::UnknownPropertyException)" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate().
297             virtual void SAL_CALL setPropertyValue( const OUString&                   aPropertyName,
298                                                     const css::uno::Any& aValue ) throw (css::beans::UnknownPropertyException,
299                                                                                                       css::beans::PropertyVetoException,
300                                                                                                       css::lang::IllegalArgumentException,
301                                                                                                       css::lang::WrappedTargetException,
302                                                                                                       css::uno::RuntimeException) SAL_OVERRIDE


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/211?tab=overview

To manage Coverity Scan email notifications for "libreoffice at lists.freedesktop.org", click https://scan.coverity.com/subscriptions/edit?email=libreoffice%40lists.freedesktop.org&token=d6481d718a775246b2340f282ebe5939 .



More information about the LibreOffice mailing list