summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLImport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/chart/SchXMLImport.cxx')
-rw-r--r--xmloff/source/chart/SchXMLImport.cxx45
1 files changed, 3 insertions, 42 deletions
diff --git a/xmloff/source/chart/SchXMLImport.cxx b/xmloff/source/chart/SchXMLImport.cxx
index 3c43f5feaa79..749ff732faff 100644
--- a/xmloff/source/chart/SchXMLImport.cxx
+++ b/xmloff/source/chart/SchXMLImport.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "SchXMLImport.hxx"
#include "SchXMLChartContext.hxx"
#include "contexts.hxx"
@@ -76,34 +75,12 @@ private:
};
} // anonymous namespace
-/* ----------------------------------------
- TokenMaps for distinguishing different
- tokens in different contexts
- ----------------------------------------*/
+ // TokenMaps for distinguishing different
+ // tokens in different contexts
-// ----------------------------------------
// element maps
-// ----------------------------------------
-
-
-
-
-
-
-// ----------------------------------------
// attribute maps
-// ----------------------------------------
-
-
-
-
-
-
-
-
-
-// ========================================
SchXMLImportHelper::SchXMLImportHelper() :
mpAutoStyles( 0 ),
@@ -172,9 +149,7 @@ SvXMLImportContext* SchXMLImportHelper::CreateChartContext(
return pContext;
}
-/* ----------------------------------------
- get various token maps
- ----------------------------------------*/
+// get various token maps
const SvXMLTokenMap& SchXMLImportHelper::GetDocElemTokenMap()
{
@@ -281,8 +256,6 @@ const SvXMLTokenMap& SchXMLImportHelper::GetSeriesElemTokenMap()
return *mpSeriesElemTokenMap;
}
-// ----------------------------------------
-
const SvXMLTokenMap& SchXMLImportHelper::GetChartAttrTokenMap()
{
if( ! mpChartAttrTokenMap )
@@ -395,8 +368,6 @@ const SvXMLTokenMap& SchXMLImportHelper::GetRegEquationAttrTokenMap()
return *mpRegEquationAttrTokenMap;
}
-// ----------------------------------------
-
//static
void SchXMLImportHelper::DeleteDataSeries(
const Reference< chart2::XDataSeries > & xSeries,
@@ -520,8 +491,6 @@ Reference< chart2::XDataSeries > SchXMLImportHelper::GetNewDataSeries(
return xResult;
}
-// ========================================
-
// #110680#
SchXMLImport::SchXMLImport(
const Reference< uno::XComponentContext >& xContext,
@@ -673,8 +642,6 @@ void SAL_CALL SchXMLImport::setTargetDocument( const uno::Reference< lang::XComp
}
}
-// export components ========================================
-
// first version: everything comes from one storage
Sequence< OUString > SAL_CALL SchXMLImport_getSupportedServiceNames() throw()
@@ -695,8 +662,6 @@ Reference< uno::XInterface > SAL_CALL SchXMLImport_createInstance(const Referenc
return (cppu::OWeakObject*)new SchXMLImport( comphelper::getComponentContext(rSMgr));
}
-// ============================================================
-
// multiple storage version: one for content / styles / meta
Sequence< OUString > SAL_CALL SchXMLImport_Styles_getSupportedServiceNames() throw()
@@ -717,8 +682,6 @@ Reference< uno::XInterface > SAL_CALL SchXMLImport_Styles_createInstance(const R
return (cppu::OWeakObject*)new SchXMLImport( comphelper::getComponentContext(rSMgr), IMPORT_STYLES );
}
-// ------------------------------------------------------------
-
Sequence< OUString > SAL_CALL SchXMLImport_Content_getSupportedServiceNames() throw()
{
const OUString aServiceName( "com.sun.star.comp.Chart.XMLOasisContentImporter" );
@@ -737,8 +700,6 @@ Reference< uno::XInterface > SAL_CALL SchXMLImport_Content_createInstance(const
return (cppu::OWeakObject*)new SchXMLImport( comphelper::getComponentContext(rSMgr), IMPORT_CONTENT | IMPORT_AUTOSTYLES | IMPORT_FONTDECLS );
}
-// ------------------------------------------------------------
-
Sequence< OUString > SAL_CALL SchXMLImport_Meta_getSupportedServiceNames() throw()
{
const OUString aServiceName( "com.sun.star.comp.Chart.XMLOasisMetaImporter" );