LCOV - code coverage report
Current view: top level - libreoffice/workdir/unxlngi6.pro/CustomTarget/writerfilter/source - OOXMLFactory_dml-shape3DScene.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 19 37 51.4 %
Date: 2012-12-17 Functions: 8 13 61.5 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : 
       2             : #include "doctok/sprmids.hxx"
       3             : #include "doctok/resourceids.hxx"
       4             : #include "ooxml/resourceids.hxx"
       5             : #include "OOXMLFactory_values.hxx"
       6             : #include "OOXMLFactory_dml-shape3DScene.hxx"
       7             : #include "ooxml/OOXMLFastHelper.hxx"
       8             :     
       9             : #ifdef _MSC_VER
      10             : #pragma warning(disable:4065) // switch statement contains 'default' but no 'case' labels
      11             : #endif
      12             : 
      13             : namespace writerfilter {
      14             : namespace ooxml {
      15             : 
      16             : /// @cond GENERATED
      17             :     
      18             : typedef rtl::Static < osl::Mutex, OOXMLFactory_dml_shape3DScene > OOXMLFactory_dml_shape3DScene_Mutex;
      19             : 
      20           4 : OOXMLFactory_dml_shape3DScene::OOXMLFactory_dml_shape3DScene()
      21             : {
      22             :     // multi-thread-safe mutex for all platforms
      23             :     
      24           4 :     osl::MutexGuard aGuard(OOXMLFactory_dml_shape3DScene_Mutex::get());
      25           4 : }
      26             : 
      27           8 : OOXMLFactory_dml_shape3DScene::~OOXMLFactory_dml_shape3DScene()
      28             : {
      29           8 : }
      30             : 
      31          10 : OOXMLFactory_ns::Pointer_t OOXMLFactory_dml_shape3DScene::m_pInstance;
      32             :     
      33         854 : OOXMLFactory_ns::Pointer_t OOXMLFactory_dml_shape3DScene::getInstance()
      34             : {
      35         854 :     if (m_pInstance.get() == NULL)
      36           4 :         m_pInstance.reset(new OOXMLFactory_dml_shape3DScene());
      37             :     
      38         854 :     return m_pInstance;
      39             : }
      40             : 
      41           0 : AttributeToResourceMapPointer OOXMLFactory_dml_shape3DScene::createAttributeToResourceMap(Id nId)
      42             : {
      43           0 :     AttributeToResourceMapPointer pMap(new AttributeToResourceMap());
      44             :     
      45             :     switch (nId)
      46             :     {
      47             :     default:
      48           0 :         break;
      49             :     }
      50             :     
      51           0 :     return pMap;
      52             : }
      53             : 
      54           0 : ListValueMapPointer OOXMLFactory_dml_shape3DScene::createListValueMap(Id nId)
      55             : {
      56           0 :     ListValueMapPointer pMap(new ListValueMap());
      57             :     
      58             :     switch (nId)
      59             :     {
      60             :     default:
      61           0 :         break;
      62             :     }
      63             :     
      64           0 :     return pMap;
      65             : }
      66          12 : CreateElementMapPointer OOXMLFactory_dml_shape3DScene::createCreateElementMap(Id nId)
      67             : {
      68          12 :     CreateElementMapPointer pMap(new CreateElementMap());
      69             :     
      70             :     switch (nId)
      71             :     {
      72             :     default:
      73          12 :         break;
      74             :     }
      75             :     
      76          12 :     return pMap;
      77             : }
      78             : 
      79           0 : void OOXMLFactory_dml_shape3DScene::charactersAction(OOXMLFastContextHandler*, const OUString &)
      80             : {
      81           0 : }
      82             : 
      83           0 : string OOXMLFactory_dml_shape3DScene::getDefineName(Id nId) const
      84             : {
      85           0 :     static IdToStringMapPointer pMap;
      86             :     
      87           0 :     if (pMap.get() == NULL)
      88             :     {
      89           0 :         pMap = IdToStringMapPointer(new IdToStringMap());
      90             :         
      91             : 
      92           0 :         (*pMap)[NN_dml_shape3DScene|DEFINE_CT_Scene3D] = "CT_Scene3D";
      93             :     }
      94             :     
      95           0 :     return (*pMap)[nId];
      96             : }
      97             :     
      98             : 
      99          12 : TokenToIdMapPointer OOXMLFactory_dml_shape3DScene::createTokenToIdMap(Id nId)
     100             : {
     101          12 :     TokenToIdMapPointer pMap(new TokenToIdMap());
     102             :     
     103             :     switch (nId)
     104             :     {
     105             :     default:
     106          12 :         break;
     107             :     }
     108             :     
     109          12 :     return pMap;
     110             : }
     111             : 
     112           0 : void OOXMLFactory_dml_shape3DScene::attributeAction(OOXMLFastContextHandler *, Token_t, OOXMLValue::Pointer_t)
     113             : {
     114           0 : }
     115             : 
     116             : #ifdef DEBUG_FACTORY
     117             : string OOXMLFactory_dml_shape3DScene::getName() const
     118             : {
     119             :     return "dml-shape3DScene";
     120             : }
     121             : #endif
     122             : 
     123             : /// @endcond
     124          30 : }}

Generated by: LCOV version 1.10