summaryrefslogtreecommitdiff
path: root/xmloff/source/core
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2013-08-09 20:04:34 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-08-10 14:55:06 +0000
commit4f360266cd1335861c182493bde6ade0e67b753b (patch)
tree94fbebf42ab561d68b659fa0c0f80ab85abef2d8 /xmloff/source/core
parent9c8831244062202e9066b97be7082e72e1194866 (diff)
fdo#62475 removed pointless comments
Change-Id: I176886fbc9f3d9e2b8ad2308ac2b127d9c68d9a6 Reviewed-on: https://gerrit.libreoffice.org/5331 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'xmloff/source/core')
-rw-r--r--xmloff/source/core/DocumentSettingsContext.cxx27
-rw-r--r--xmloff/source/core/ProgressBarHelper.cxx6
-rw-r--r--xmloff/source/core/PropertySetMerger.cxx3
-rw-r--r--xmloff/source/core/RDFaExportHelper.cxx7
-rw-r--r--xmloff/source/core/RDFaImportHelper.cxx9
-rw-r--r--xmloff/source/core/XMLBase64ImportContext.cxx7
-rw-r--r--xmloff/source/core/XMLBasicExportFilter.cxx23
-rw-r--r--xmloff/source/core/XMLEmbeddedObjectImportContext.cxx4
-rw-r--r--xmloff/source/core/unoatrcn.cxx4
-rw-r--r--xmloff/source/core/xmlexp.cxx23
-rw-r--r--xmloff/source/core/xmlimp.cxx13
-rw-r--r--xmloff/source/core/xmlmultiimagehelper.cxx6
-rw-r--r--xmloff/source/core/xmltkmap.cxx4
13 files changed, 0 insertions, 136 deletions
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx
index b741d51e796d..72b7bef32d14 100644
--- a/xmloff/source/core/DocumentSettingsContext.cxx
+++ b/xmloff/source/core/DocumentSettingsContext.cxx
@@ -119,8 +119,6 @@ uno::Reference<container::XIndexContainer> XMLMyList::GetIndexContainer()
return xIndexContainer;
}
-//=============================================================================
-
class XMLConfigBaseContext : public SvXMLImportContext
{
protected:
@@ -137,8 +135,6 @@ public:
void AddPropertyValue() { maProps.push_back(maProp); }
};
-//=============================================================================
-
class XMLConfigItemContext : public SvXMLImportContext
{
OUString msType;
@@ -168,8 +164,6 @@ public:
virtual void ManipulateConfigItem();
};
-//=============================================================================
-
class XMLConfigItemSetContext : public XMLConfigBaseContext
{
public:
@@ -188,8 +182,6 @@ public:
virtual void EndElement();
};
-//=============================================================================
-
class XMLConfigItemMapNamedContext : public XMLConfigBaseContext
{
public:
@@ -208,8 +200,6 @@ public:
virtual void EndElement();
};
-//=============================================================================
-
class XMLConfigItemMapIndexedContext : public XMLConfigBaseContext
{
private:
@@ -233,8 +223,6 @@ public:
virtual void EndElement();
};
-//=============================================================================
-
SvXMLImportContext *CreateSettingsContext(SvXMLImport& rImport, sal_uInt16 p_nPrefix,
const OUString& rLocalName,
const uno::Reference<xml::sax::XAttributeList>& xAttrList,
@@ -278,7 +266,6 @@ SvXMLImportContext *CreateSettingsContext(SvXMLImport& rImport, sal_uInt16 p_nPr
return pContext;
}
-//=============================================================================
namespace
{
struct SettingsGroup
@@ -307,8 +294,6 @@ struct XMLDocumentSettingsContext_Data
::std::list< SettingsGroup > aDocSpecificSettings;
};
-//=============================================================================
-
XMLDocumentSettingsContext::XMLDocumentSettingsContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const uno::Reference<xml::sax::XAttributeList>& )
: SvXMLImportContext( rImport, nPrfx, rLName )
@@ -455,8 +440,6 @@ void XMLDocumentSettingsContext::EndElement()
}
}
-//=============================================================================
-
XMLConfigBaseContext::XMLConfigBaseContext(SvXMLImport& rImport, sal_uInt16 nPrfx,
const OUString& rLName, com::sun::star::uno::Any& rTempAny,
XMLConfigBaseContext* pTempBaseContext)
@@ -472,8 +455,6 @@ XMLConfigBaseContext::~XMLConfigBaseContext()
{
}
-//=============================================================================
-
XMLConfigItemSetContext::XMLConfigItemSetContext(SvXMLImport& rImport, sal_uInt16 nPrfx,
const OUString& rLName,
const ::com::sun::star::uno::Reference<
@@ -504,8 +485,6 @@ void XMLConfigItemSetContext::EndElement()
mpBaseContext->AddPropertyValue();
}
-//=============================================================================
-
XMLConfigItemContext::XMLConfigItemContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList>& xAttrList,
@@ -583,7 +562,6 @@ void XMLConfigItemContext::Characters( const OUString& rChars )
msValue += rChars;
}
-
void XMLConfigItemContext::EndElement()
{
if (mpBaseContext)
@@ -694,9 +672,6 @@ void XMLConfigItemContext::ManipulateConfigItem()
}
}
-
-//=============================================================================
-
XMLConfigItemMapNamedContext::XMLConfigItemMapNamedContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList>&,
@@ -730,8 +705,6 @@ void XMLConfigItemMapNamedContext::EndElement()
}
}
-//=============================================================================
-
XMLConfigItemMapIndexedContext::XMLConfigItemMapIndexedContext(SvXMLImport& rImport, sal_uInt16 nPrfx,
const OUString& rLName,
const ::com::sun::star::uno::Reference<
diff --git a/xmloff/source/core/ProgressBarHelper.cxx b/xmloff/source/core/ProgressBarHelper.cxx
index 18a24c799cef..4c7b8fd9084c 100644
--- a/xmloff/source/core/ProgressBarHelper.cxx
+++ b/xmloff/source/core/ProgressBarHelper.cxx
@@ -17,12 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
-
-
-
-
-//___________________________________________________________________
#include <xmloff/ProgressBarHelper.hxx>
#include <tools/debug.hxx>
#include <xmloff/xmltoken.hxx>
diff --git a/xmloff/source/core/PropertySetMerger.cxx b/xmloff/source/core/PropertySetMerger.cxx
index 43355a5925b4..0369e32e860b 100644
--- a/xmloff/source/core/PropertySetMerger.cxx
+++ b/xmloff/source/core/PropertySetMerger.cxx
@@ -20,7 +20,6 @@
#include <com/sun/star/beans/XPropertyState.hpp>
#include "PropertySetMerger.hxx"
-
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
@@ -64,9 +63,7 @@ public:
virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) throw(RuntimeException);
};
-// --------------------------------------------------------------------
// Interface implementation
-// --------------------------------------------------------------------
PropertySetMergerImpl::PropertySetMergerImpl( Reference< XPropertySet > rPropSet1, Reference< XPropertySet > rPropSet2 )
: mxPropSet1( rPropSet1 )
diff --git a/xmloff/source/core/RDFaExportHelper.cxx b/xmloff/source/core/RDFaExportHelper.cxx
index eb7936047b09..d2b830fead3f 100644
--- a/xmloff/source/core/RDFaExportHelper.cxx
+++ b/xmloff/source/core/RDFaExportHelper.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "RDFaExportHelper.hxx"
#include "xmloff/xmlnmspe.hxx"
@@ -52,7 +51,6 @@
#include <functional>
#include <algorithm>
-
using namespace ::com::sun::star;
namespace xmloff {
@@ -103,9 +101,6 @@ getRelativeReference(SvXMLExport const& rExport, OUString const& rURI)
return relativeURI;
}
-
-////////////////////////////////////////////////////////////////////////////
-
RDFaExportHelper::RDFaExportHelper(SvXMLExport & i_rExport)
: m_rExport(i_rExport), m_xRepository(0), m_Counter(0)
{
@@ -131,8 +126,6 @@ RDFaExportHelper::LookupBlankNode(
return rEntry;
}
-////////////////////////////////////////////////////////////////////////////
-
void
RDFaExportHelper::AddRDFa(
uno::Reference<rdf::XMetadatable> const & i_xMetadatable)
diff --git a/xmloff/source/core/RDFaImportHelper.cxx b/xmloff/source/core/RDFaImportHelper.cxx
index 3ff61d1b9055..1e8aea45f7f5 100644
--- a/xmloff/source/core/RDFaImportHelper.cxx
+++ b/xmloff/source/core/RDFaImportHelper.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "RDFaImportHelper.hxx"
#include <xmloff/xmlimp.hxx>
@@ -45,7 +44,6 @@
#include <functional>
#include <algorithm>
-
using namespace ::com::sun::star;
namespace xmloff {
@@ -148,9 +146,6 @@ struct SAL_DLLPRIVATE RDFaEntry
{ }
};
-////////////////////////////////////////////////////////////////////////////
-
-
static inline bool isWS(const sal_Unicode i_Char)
{
return ('\t' == i_Char) || ('\n' == i_Char) || ('\r' == i_Char)
@@ -264,8 +259,6 @@ RDFaReader::ReadURIOrSafeCURIE(OUString const & i_rURIOrSafeCURIE) const
}
}
-////////////////////////////////////////////////////////////////////////////
-
uno::Reference< rdf::XBlankNode >
RDFaInserter::LookupBlankNode(OUString const & i_rNodeId )
{
@@ -391,8 +384,6 @@ void RDFaInserter::InsertRDFaEntry(
}
}
-////////////////////////////////////////////////////////////////////////////
-
RDFaImportHelper::RDFaImportHelper(const SvXMLImport & i_rImport)
: m_rImport(i_rImport)
{
diff --git a/xmloff/source/core/XMLBase64ImportContext.cxx b/xmloff/source/core/XMLBase64ImportContext.cxx
index 22a6f464b6b9..72b9893288e0 100644
--- a/xmloff/source/core/XMLBase64ImportContext.cxx
+++ b/xmloff/source/core/XMLBase64ImportContext.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <com/sun/star/io/XOutputStream.hpp>
#include <sax/tools/converter.hxx>
@@ -25,16 +24,12 @@
#include <xmloff/xmlimp.hxx>
#include <xmloff/XMLBase64ImportContext.hxx>
-
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
using namespace ::com::sun::star::io;
-//-----------------------------------------------------------------------------
-
TYPEINIT1( XMLBase64ImportContext, SvXMLImportContext );
-
XMLBase64ImportContext::XMLBase64ImportContext(
SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const Reference< XAttributeList >&,
@@ -48,7 +43,6 @@ XMLBase64ImportContext::~XMLBase64ImportContext()
{
}
-
void XMLBase64ImportContext::EndElement()
{
xOut->closeOutput();
@@ -79,5 +73,4 @@ void XMLBase64ImportContext::Characters( const OUString& rChars )
}
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/core/XMLBasicExportFilter.cxx b/xmloff/source/core/XMLBasicExportFilter.cxx
index abc408cc4e55..eb3f0eceb38a 100644
--- a/xmloff/source/core/XMLBasicExportFilter.cxx
+++ b/xmloff/source/core/XMLBasicExportFilter.cxx
@@ -22,25 +22,18 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-
-// =============================================================================
// XMLBasicExportFilter
-// =============================================================================
XMLBasicExportFilter::XMLBasicExportFilter( const Reference< xml::sax::XDocumentHandler >& rxHandler )
:m_xHandler( rxHandler )
{
}
-// -----------------------------------------------------------------------------
-
XMLBasicExportFilter::~XMLBasicExportFilter()
{
}
-// -----------------------------------------------------------------------------
// XDocumentHandler
-// -----------------------------------------------------------------------------
void XMLBasicExportFilter::startDocument()
throw (xml::sax::SAXException, RuntimeException)
@@ -48,16 +41,12 @@ void XMLBasicExportFilter::startDocument()
// do nothing, filter this
}
-// -----------------------------------------------------------------------------
-
void XMLBasicExportFilter::endDocument()
throw (xml::sax::SAXException, RuntimeException)
{
// do nothing, filter this
}
-// -----------------------------------------------------------------------------
-
void XMLBasicExportFilter::startElement( const OUString& aName,
const Reference< xml::sax::XAttributeList >& xAttribs )
throw (xml::sax::SAXException, RuntimeException)
@@ -66,8 +55,6 @@ void XMLBasicExportFilter::startElement( const OUString& aName,
m_xHandler->startElement( aName, xAttribs );
}
-// -----------------------------------------------------------------------------
-
void XMLBasicExportFilter::endElement( const OUString& aName )
throw (xml::sax::SAXException, RuntimeException)
{
@@ -75,8 +62,6 @@ void XMLBasicExportFilter::endElement( const OUString& aName )
m_xHandler->endElement( aName );
}
-// -----------------------------------------------------------------------------
-
void XMLBasicExportFilter::characters( const OUString& aChars )
throw (xml::sax::SAXException, RuntimeException)
{
@@ -84,8 +69,6 @@ void XMLBasicExportFilter::characters( const OUString& aChars )
m_xHandler->characters( aChars );
}
-// -----------------------------------------------------------------------------
-
void XMLBasicExportFilter::ignorableWhitespace( const OUString& aWhitespaces )
throw (xml::sax::SAXException, RuntimeException)
{
@@ -93,8 +76,6 @@ void XMLBasicExportFilter::ignorableWhitespace( const OUString& aWhitespaces )
m_xHandler->ignorableWhitespace( aWhitespaces );
}
-// -----------------------------------------------------------------------------
-
void XMLBasicExportFilter::processingInstruction( const OUString& aTarget,
const OUString& aData )
throw (xml::sax::SAXException, RuntimeException)
@@ -103,8 +84,6 @@ void XMLBasicExportFilter::processingInstruction( const OUString& aTarget,
m_xHandler->processingInstruction( aTarget, aData );
}
-// -----------------------------------------------------------------------------
-
void XMLBasicExportFilter::setDocumentLocator( const Reference< xml::sax::XLocator >& xLocator )
throw (xml::sax::SAXException, RuntimeException)
{
@@ -112,6 +91,4 @@ void XMLBasicExportFilter::setDocumentLocator( const Reference< xml::sax::XLocat
m_xHandler->setDocumentLocator( xLocator );
}
-// -----------------------------------------------------------------------------
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
index a3b000443dcf..562ddee37f7b 100644
--- a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
+++ b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
@@ -32,7 +32,6 @@
#include "xmloff/XMLFilterServiceNames.h"
#include "XMLEmbeddedObjectImportContext.hxx"
-
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::beans;
@@ -135,8 +134,6 @@ void XMLEmbeddedObjectImportContext_Impl::Characters( const OUString& rChars )
xHandler->characters( rChars );
}
-//-----------------------------------------------------------------------------
-
TYPEINIT1( XMLEmbeddedObjectImportContext, SvXMLImportContext );
sal_Bool XMLEmbeddedObjectImportContext::SetComponent(
@@ -145,7 +142,6 @@ sal_Bool XMLEmbeddedObjectImportContext::SetComponent(
if( !rComp.is() || sFilterService.isEmpty() )
return sal_False;
-
Sequence<Any> aArgs( 0 );
Reference< XComponentContext > xContext( GetImport().GetComponentContext() );
diff --git a/xmloff/source/core/unoatrcn.cxx b/xmloff/source/core/unoatrcn.cxx
index f479ba51e9ab..d5a3f34b129a 100644
--- a/xmloff/source/core/unoatrcn.cxx
+++ b/xmloff/source/core/unoatrcn.cxx
@@ -27,12 +27,9 @@
#include "xmloff/unoatrcn.hxx"
-
using namespace ::com::sun::star;
-// --------------------------------------------------------------------
// Interface implementation
-// --------------------------------------------------------------------
uno::Reference< uno::XInterface > SvUnoAttributeContainer_CreateInstance()
{
@@ -278,5 +275,4 @@ sal_Bool SvUnoAttributeContainer::supportsService(const OUString& ServiceName)
return sal_False;
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 1dfb82ee5716..a8955ca52df8 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -88,7 +88,6 @@
#include <comphelper/xmltools.hxx>
-
using namespace ::osl;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -139,8 +138,6 @@ const XMLServiceMapEntry_Impl aServiceMap[] =
{ 0, 0, 0, 0 }
};
-//==============================================================================
-
class SAL_DLLPRIVATE SettingsExportFacade : public ::xmloff::XMLSettingsExportContext
{
public:
@@ -205,8 +202,6 @@ Reference< XComponentContext > SettingsExportFacade::GetComponentContext() const
return m_rExport.getComponentContext();
}
-//==============================================================================
-
class SvXMLExportEventListener : public cppu::WeakImplHelper1<
com::sun::star::lang::XEventListener >
{
@@ -241,8 +236,6 @@ void SAL_CALL SvXMLExportEventListener::disposing( const lang::EventObject& )
}
}
-//==============================================================================
-
class SAL_DLLPRIVATE SvXMLExport_Impl
{
public:
@@ -299,8 +292,6 @@ SvXMLExport_Impl::SvXMLExport_Impl()
mxUriReferenceFactory = uri::UriReferenceFactory::create( comphelper::getProcessComponentContext() );
}
-//==============================================================================
-
void SvXMLExport::SetDocHandler( const uno::Reference< xml::sax::XDocumentHandler > &rHandler )
{
mxHandler = rHandler;
@@ -594,8 +585,6 @@ SvXMLExport::~SvXMLExport()
delete mpImpl;
}
-///////////////////////////////////////////////////////////////////////
-
// XExporter
void SAL_CALL SvXMLExport::setSourceDocument( const uno::Reference< lang::XComponent >& xDoc )
throw(lang::IllegalArgumentException, uno::RuntimeException)
@@ -881,7 +870,6 @@ void SAL_CALL SvXMLExport::setName( const OUString& )
// do nothing, because it is not possible to set the FilterName
}
-
// XServiceInfo
OUString SAL_CALL SvXMLExport::getImplementationName( ) throw(uno::RuntimeException)
{
@@ -905,8 +893,6 @@ uno::Sequence< OUString > SAL_CALL SvXMLExport::getSupportedServiceNames( )
return aSeq;
}
-///////////////////////////////////////////////////////////////////////
-
OUString
SvXMLExport::EnsureNamespace(OUString const & i_rNamespace,
OUString const & i_rPreferredPrefix)
@@ -953,8 +939,6 @@ SvXMLExport::EnsureNamespace(OUString const & i_rNamespace,
return sPrefix;
}
-///////////////////////////////////////////////////////////////////////
-
void SvXMLExport::AddAttributeASCII( sal_uInt16 nPrefixKey,
const sal_Char *pName,
const sal_Char *pValue )
@@ -1422,8 +1406,6 @@ sal_uInt32 SvXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum eClass )
nPos = mpNamespaceMap->GetNextKey( nPos );
}
-
-
// office:version = ...
if( !mbExtended )
{
@@ -1519,7 +1501,6 @@ sal_uInt32 SvXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum eClass )
ImplExportContent();
}
-
mxHandler->endDocument();
if( bOwnGraphicResolver )
@@ -1944,7 +1925,6 @@ sal_Int32 SvXMLExport::dataStyleForceSystemLanguage(sal_Int32 nFormat) const
? mpNumExport->ForceSystemLanguage( nFormat ) : nFormat;
}
-
OUString SvXMLExport::AddEmbeddedGraphicObject( const OUString& rGraphicObjectURL )
{
OUString sRet( rGraphicObjectURL );
@@ -2381,7 +2361,6 @@ void SvXMLExport::IgnorableWhitespace()
}
}
-
void SvXMLExport::SetError(
sal_Int32 nId,
const Sequence<OUString>& rMsgParams,
@@ -2565,8 +2544,6 @@ sal_Bool SvXMLExport::SetNullDateOnUnitConverter()
return mpImpl->mbNullDateInitialized;
}
-//=============================================================================
-
void SvXMLElementExport::StartElement( SvXMLExport& rExp,
sal_uInt16 nPrefixKey,
const OUString& rLName,
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index d7f43baed9e1..d59d8b868e91 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -62,7 +62,6 @@
using ::com::sun::star::beans::XPropertySetInfo;
-
using namespace ::osl;
using namespace ::com::sun::star;
using namespace ::com::sun::star::frame;
@@ -115,8 +114,6 @@ sal_Char const sXML_np__text_old[] = "__text";
sal_Char const sXML_np__table_old[] = "__table";
sal_Char const sXML_np__meta_old[] = "__meta";
-
-
class SvXMLImportEventListener : public cppu::WeakImplHelper1<
com::sun::star::lang::XEventListener >
{
@@ -823,8 +820,6 @@ void SvXMLImport::SetStatistics(const uno::Sequence< beans::NamedValue> &)
GetProgressBarHelper()->SetReference(0);
}
-///////////////////////////////////////////////////////////////////////
-
// XImporter
void SAL_CALL SvXMLImport::setTargetDocument( const uno::Reference< lang::XComponent >& xDoc )
throw(lang::IllegalArgumentException, uno::RuntimeException)
@@ -1009,8 +1004,6 @@ uno::Sequence< OUString > SAL_CALL SvXMLImport::getSupportedServiceNames( )
return aSeq;
}
-///////////////////////////////////////////////////////////////////////
-
XMLTextImportHelper* SvXMLImport::CreateTextImport()
{
return new XMLTextImportHelper( mxModel, *this );
@@ -1031,8 +1024,6 @@ SchXMLImportHelper* SvXMLImport::CreateChartImport()
return new ::xmloff::OFormLayerXMLImport(*this);
}
-
-///////////////////////////////////////////////////////////////////////////////
//
// Get or create fill/line/lineend-style-helper
//
@@ -1649,7 +1640,6 @@ void SvXMLImport::_CreateNumberFormatsSupplier()
uno::Reference< util::XNumberFormatsSupplier> (mxModel, uno::UNO_QUERY);
}
-
void SvXMLImport::_CreateDataStylesImport()
{
SAL_WARN_IF( mpNumImport != NULL, "xmloff.core", "data styles import already exists!" );
@@ -1659,7 +1649,6 @@ void SvXMLImport::_CreateDataStylesImport()
mpNumImport = new SvXMLNumFmtHelper(xNum, GetComponentContext() );
}
-
sal_Unicode SvXMLImport::ConvStarBatsCharToStarSymbol( sal_Unicode c )
{
sal_Unicode cNew = c;
@@ -1696,8 +1685,6 @@ sal_Unicode SvXMLImport::ConvStarMathCharToStarSymbol( sal_Unicode c )
return cNew;
}
-
-
void SvXMLImport::SetError(
sal_Int32 nId,
const Sequence<OUString>& rMsgParams,
diff --git a/xmloff/source/core/xmlmultiimagehelper.cxx b/xmloff/source/core/xmlmultiimagehelper.cxx
index 51597208992f..998b773e5d4d 100644
--- a/xmloff/source/core/xmlmultiimagehelper.cxx
+++ b/xmloff/source/core/xmlmultiimagehelper.cxx
@@ -20,12 +20,8 @@
#include <xmloff/xmlmultiimagehelper.hxx>
#include <rtl/ustring.hxx>
-//////////////////////////////////////////////////////////////////////////////
-
using namespace ::com::sun::star;
-//////////////////////////////////////////////////////////////////////////////
-
namespace
{
sal_uInt32 getQualityIndex(const OUString& rString)
@@ -72,8 +68,6 @@ namespace
}
}
-//////////////////////////////////////////////////////////////////////////////
-
MultiImageImportHelper::MultiImageImportHelper()
: maImplContextVector(),
mbSupportsMultipleContents(false)
diff --git a/xmloff/source/core/xmltkmap.cxx b/xmloff/source/core/xmltkmap.cxx
index 1087017ca1ae..dd6ce09d445d 100644
--- a/xmloff/source/core/xmltkmap.cxx
+++ b/xmloff/source/core/xmltkmap.cxx
@@ -24,7 +24,6 @@
using namespace ::xmloff::token;
-
class SvXMLTokenMapEntry_Impl
{
sal_uInt16 nPrefixKey;
@@ -64,8 +63,6 @@ public:
class SvXMLTokenMap_Impl : public boost::ptr_set<SvXMLTokenMapEntry_Impl> {};
-// ---------------------------------------------------------------------
-
SvXMLTokenMapEntry_Impl *SvXMLTokenMap::_Find( sal_uInt16 nKeyPrefix,
const OUString& rLName ) const
{
@@ -106,5 +103,4 @@ sal_uInt16 SvXMLTokenMap::Get( sal_uInt16 nKeyPrefix,
return XML_TOK_UNKNOWN;
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */