LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/offapi/com/sun/star/geometry - RealBezierSegment2D.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 7 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_GEOMETRY_REALBEZIERSEGMENT2D_HPP
       2             : #define INCLUDED_COM_SUN_STAR_GEOMETRY_REALBEZIERSEGMENT2D_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/geometry/RealBezierSegment2D.hdl"
       7             : 
       8             : #include "com/sun/star/uno/Type.hxx"
       9             : #include "cppu/unotype.hxx"
      10             : #include "sal/types.h"
      11             : #include "typelib/typeclass.h"
      12             : #include "typelib/typedescription.h"
      13             : 
      14             : namespace com { namespace sun { namespace star { namespace geometry {
      15             : 
      16             : inline RealBezierSegment2D::RealBezierSegment2D() SAL_THROW(())
      17             :     : Px(0)
      18             :     , Py(0)
      19             :     , C1x(0)
      20             :     , C1y(0)
      21             :     , C2x(0)
      22             :     , C2y(0)
      23             : {
      24             : }
      25             : 
      26           0 : inline RealBezierSegment2D::RealBezierSegment2D(const double& Px_, const double& Py_, const double& C1x_, const double& C1y_, const double& C2x_, const double& C2y_) SAL_THROW(())
      27             :     : Px(Px_)
      28             :     , Py(Py_)
      29             :     , C1x(C1x_)
      30             :     , C1y(C1y_)
      31             :     , C2x(C2x_)
      32           0 :     , C2y(C2y_)
      33             : {
      34           0 : }
      35             : 
      36             : } } } }
      37             : 
      38             : namespace com { namespace sun { namespace star { namespace geometry {
      39             : 
      40           0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::geometry::RealBezierSegment2D const *) {
      41             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      42             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      43           0 :     if (the_type == 0) {
      44           0 :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.geometry.RealBezierSegment2D");
      45             :     }
      46           0 :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      47             : }
      48             : 
      49             : } } } }
      50             : 
      51             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::geometry::RealBezierSegment2D const *) SAL_THROW(()) {
      52             :     return ::cppu::UnoType< css::geometry::RealBezierSegment2D >::get();
      53             : }
      54             : 
      55             : #endif // INCLUDED_COM_SUN_STAR_GEOMETRY_REALBEZIERSEGMENT2D_HPP

Generated by: LCOV version 1.10