LCOV - code coverage report
Current view: top level - solver/unxlngi6.pro/inc/offapi/com/sun/star/chart2 - Symbol.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 9 9 100.0 %
Date: 2012-08-25 Functions: 3 3 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 2 2 100.0 %

           Branch data     Line data    Source code
       1                 :            : #ifndef INCLUDED_COM_SUN_STAR_CHART2_SYMBOL_HPP
       2                 :            : #define INCLUDED_COM_SUN_STAR_CHART2_SYMBOL_HPP
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "com/sun/star/chart2/Symbol.hdl"
       7                 :            : 
       8                 :            : #include "com/sun/star/awt/Size.hpp"
       9                 :            : #include "com/sun/star/chart2/SymbolStyle.hpp"
      10                 :            : #include "com/sun/star/drawing/PolyPolygonBezierCoords.hpp"
      11                 :            : #include "com/sun/star/graphic/XGraphic.hpp"
      12                 :            : #include "com/sun/star/uno/Reference.hxx"
      13                 :            : #include "com/sun/star/uno/Type.hxx"
      14                 :            : #include "cppu/unotype.hxx"
      15                 :            : #include "sal/types.h"
      16                 :            : #include "typelib/typeclass.h"
      17                 :            : #include "typelib/typedescription.h"
      18                 :            : 
      19                 :            : namespace com { namespace sun { namespace star { namespace chart2 {
      20                 :            : 
      21                 :       1418 : inline Symbol::Symbol() SAL_THROW(())
      22                 :            :     : Style(::com::sun::star::chart2::SymbolStyle_NONE)
      23                 :            :     , PolygonCoords()
      24                 :            :     , StandardSymbol(0)
      25                 :            :     , Graphic()
      26                 :            :     , Size()
      27                 :            :     , BorderColor(0)
      28                 :       1418 :     , FillColor(0)
      29                 :            : {
      30                 :       1418 : }
      31                 :            : 
      32                 :            : inline Symbol::Symbol(const ::com::sun::star::chart2::SymbolStyle& Style_, const ::com::sun::star::drawing::PolyPolygonBezierCoords& PolygonCoords_, const ::sal_Int32& StandardSymbol_, const ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic >& Graphic_, const ::com::sun::star::awt::Size& Size_, const ::sal_Int32& BorderColor_, const ::sal_Int32& FillColor_) SAL_THROW(())
      33                 :            :     : Style(Style_)
      34                 :            :     , PolygonCoords(PolygonCoords_)
      35                 :            :     , StandardSymbol(StandardSymbol_)
      36                 :            :     , Graphic(Graphic_)
      37                 :            :     , Size(Size_)
      38                 :            :     , BorderColor(BorderColor_)
      39                 :            :     , FillColor(FillColor_)
      40                 :            : {
      41                 :            : }
      42                 :            : 
      43                 :            : } } } }
      44                 :            : 
      45                 :            : namespace com { namespace sun { namespace star { namespace chart2 {
      46                 :            : 
      47                 :       1886 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::chart2::Symbol const *) {
      48                 :            :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      49                 :            :     static ::typelib_TypeDescriptionReference * the_type = 0;
      50         [ +  + ]:       1886 :     if (the_type == 0) {
      51                 :         24 :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.chart2.Symbol");
      52                 :            :     }
      53                 :       1886 :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      54                 :            : }
      55                 :            : 
      56                 :            : } } } }
      57                 :            : 
      58                 :         16 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::chart2::Symbol const *) SAL_THROW(()) {
      59                 :         16 :     return ::cppu::UnoType< ::com::sun::star::chart2::Symbol >::get();
      60                 :            : }
      61                 :            : 
      62                 :            : #endif // INCLUDED_COM_SUN_STAR_CHART2_SYMBOL_HPP

Generated by: LCOV version 1.10