summaryrefslogtreecommitdiff
path: root/chart2/source/model/filter/XMLFilter.cxx
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2013-07-28 14:55:43 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-07-29 11:34:33 +0000
commitdd9c97d587d2a295d44e8685d253d30542a2c85a (patch)
tree8736a3552ac8c56fc9102a6518072c68295c4a25 /chart2/source/model/filter/XMLFilter.cxx
parent05bd5b46ea659df95fb6f0c895c090629b541e0f (diff)
fdo#62475 removed pointless comments
Change-Id: I3f5e86dba2df950aeb12c895f52d99274c0959aa Reviewed-on: https://gerrit.libreoffice.org/5148 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'chart2/source/model/filter/XMLFilter.cxx')
-rw-r--r--chart2/source/model/filter/XMLFilter.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/chart2/source/model/filter/XMLFilter.cxx b/chart2/source/model/filter/XMLFilter.cxx
index 7ba2ca95da54..6dc08718f0ea 100644
--- a/chart2/source/model/filter/XMLFilter.cxx
+++ b/chart2/source/model/filter/XMLFilter.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "XMLFilter.hxx"
#include "macros.hxx"
#include "MediaDescriptorHelper.hxx"
@@ -59,7 +58,6 @@ using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Sequence;
using ::osl::MutexGuard;
-// ----------------------------------------
namespace
{
#define LOCAL_CONST_STR(i, x) sal_Char const i[sizeof(x)] = x
@@ -204,11 +202,8 @@ uno::Reference< embed::XStorage > lcl_getReadStorage(
return xStorage;
}
-
} // anonymous namespace
-// ----------------------------------------
-
namespace chart
{
@@ -284,7 +279,6 @@ void SAL_CALL XMLFilter::setTargetDocument(
m_xTargetDoc = Document;
}
-
// ____ XExporter ____
void SAL_CALL XMLFilter::setSourceDocument(
const Reference< lang::XComponent >& Document )
@@ -297,7 +291,6 @@ void SAL_CALL XMLFilter::setSourceDocument(
m_xSourceDoc = Document;
}
-
sal_Int32 XMLFilter::impl_Import(
const Reference< lang::XComponent > & xDocumentComp,
const Sequence< beans::PropertyValue > & rMediaDescriptor )
@@ -497,7 +490,6 @@ sal_Int32 XMLFilter::impl_ImportStream(
xFactory->createInstanceWithArgumentsAndContext( rServiceName, aFilterCompArgs, m_xContext ),
uno::UNO_QUERY_THROW );
-
Reference< document::XImporter > xImporter( xDocHandler, uno::UNO_QUERY_THROW );
xImporter->setTargetDocument( Reference< lang::XComponent >( m_xTargetDoc, uno::UNO_QUERY_THROW ));
@@ -771,8 +763,6 @@ sal_Int32 XMLFilter::impl_ExportStream(
return nWarning;
}
-// --------------------------------------------------------------------------------
-
Sequence< OUString > XMLFilter::getSupportedServiceNames_Static()
{
Sequence< OUString > aServices( 2 );
@@ -783,7 +773,6 @@ Sequence< OUString > XMLFilter::getSupportedServiceNames_Static()
// XInitialization, XNamed
return aServices;
}
-// -----------------------------------------------------------------------------
void XMLFilter::isOasisFormat(const Sequence< beans::PropertyValue >& _rMediaDescriptor, bool & rOutOASIS )
{
@@ -791,15 +780,12 @@ void XMLFilter::isOasisFormat(const Sequence< beans::PropertyValue >& _rMediaDes
if( aMDHelper.ISSET_FilterName )
rOutOASIS = aMDHelper.FilterName == "chart8";
}
-// -----------------------------------------------------------------------------
OUString XMLFilter::getMediaType(bool _bOasis)
{
return _bOasis ? MIMETYPE_OASIS_OPENDOCUMENT_CHART : MIMETYPE_VND_SUN_XML_CHART;
}
-// -----------------------------------------------------------------------------
APPHELPER_XSERVICEINFO_IMPL( XMLFilter, OUString("com.sun.star.comp.chart2.XMLFilter") );
-// -----------------------------------------------------------------------------
void XMLReportFilterHelper::isOasisFormat(const Sequence< beans::PropertyValue >& _rMediaDescriptor, bool & rOutOASIS )
{
@@ -807,7 +793,6 @@ void XMLReportFilterHelper::isOasisFormat(const Sequence< beans::PropertyValue >
if( aMDHelper.ISSET_FilterName )
rOutOASIS = aMDHelper.FilterName == "StarOffice XML (Base) Report Chart";
}
-// -----------------------------------------------------------------------------
OUString XMLReportFilterHelper::getMediaType(bool )
{
return MIMETYPE_OASIS_OPENDOCUMENT_REPORT_CHART;