LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/offapi/com/sun/star/rendering - StrokeAttributes.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 6 0.0 %
Date: 2012-12-27 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_RENDERING_STROKEATTRIBUTES_HPP
       2             : #define INCLUDED_COM_SUN_STAR_RENDERING_STROKEATTRIBUTES_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/rendering/StrokeAttributes.hdl"
       7             : 
       8             : #include "com/sun/star/uno/Sequence.hxx"
       9             : #include "com/sun/star/uno/Type.hxx"
      10             : #include "cppu/unotype.hxx"
      11             : #include "sal/types.h"
      12             : #include "typelib/typeclass.h"
      13             : #include "typelib/typedescription.h"
      14             : 
      15             : namespace com { namespace sun { namespace star { namespace rendering {
      16             : 
      17           0 : inline StrokeAttributes::StrokeAttributes() SAL_THROW(())
      18             :     : StrokeWidth(0)
      19             :     , MiterLimit(0)
      20             :     , DashArray()
      21             :     , LineArray()
      22             :     , StartCapType(0)
      23             :     , EndCapType(0)
      24           0 :     , JoinType(0)
      25             : {
      26           0 : }
      27             : 
      28           0 : inline StrokeAttributes::StrokeAttributes(const double& StrokeWidth_, const double& MiterLimit_, const ::com::sun::star::uno::Sequence< double >& DashArray_, const ::com::sun::star::uno::Sequence< double >& LineArray_, const ::sal_Int8& StartCapType_, const ::sal_Int8& EndCapType_, const ::sal_Int8& JoinType_) SAL_THROW(())
      29             :     : StrokeWidth(StrokeWidth_)
      30             :     , MiterLimit(MiterLimit_)
      31             :     , DashArray(DashArray_)
      32             :     , LineArray(LineArray_)
      33             :     , StartCapType(StartCapType_)
      34             :     , EndCapType(EndCapType_)
      35           0 :     , JoinType(JoinType_)
      36             : {
      37           0 : }
      38             : 
      39             : } } } }
      40             : 
      41             : namespace com { namespace sun { namespace star { namespace rendering {
      42             : 
      43             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::rendering::StrokeAttributes const *) {
      44             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      45             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      46             :     if (the_type == 0) {
      47             :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.rendering.StrokeAttributes");
      48             :     }
      49             :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      50             : }
      51             : 
      52             : } } } }
      53             : 
      54             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::rendering::StrokeAttributes const *) SAL_THROW(()) {
      55             :     return ::cppu::UnoType< css::rendering::StrokeAttributes >::get();
      56             : }
      57             : 
      58             : #endif // INCLUDED_COM_SUN_STAR_RENDERING_STROKEATTRIBUTES_HPP

Generated by: LCOV version 1.10