Remove unused namespaces from xmloff

Change-Id: Id46c9512b8024c9dc50edfb200599b1901fbf3c1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164940
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
This commit is contained in:
Gabor Kelemen
2024-03-14 23:14:31 +01:00
parent 0c9f650136
commit 4496544f5d
40 changed files with 0 additions and 57 deletions

View File

@@ -26,7 +26,6 @@
#include <xmloff/XMLBase64ImportContext.hxx>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
using namespace ::com::sun::star::io;

View File

@@ -37,7 +37,6 @@
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::document;
using namespace ::com::sun::star::xml::sax;

View File

@@ -54,7 +54,6 @@
using namespace com::sun::star;
using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
using namespace com::sun::star::text;
using namespace com::sun::star::style;
using namespace ::com::sun::star::i18n;

View File

@@ -25,7 +25,6 @@ using namespace css;
using namespace css::xml::sax;
using namespace css::uno;
using namespace css::drawing;
using namespace css::graphic;
using namespace xmloff::token;
QRCodeContext::QRCodeContext(SvXMLImport& rImport, sal_Int32 /*nElement*/,

View File

@@ -37,7 +37,6 @@
#include <anim.hxx>
#include <animimp.hxx>
using namespace ::cppu;
using namespace ::com::sun::star;
using namespace ::com::sun::star::xml;
using namespace ::com::sun::star::xml::sax;

View File

@@ -24,10 +24,7 @@
#include "descriptionimp.hxx"
using namespace ::cppu;
using namespace ::com::sun::star;
using namespace ::com::sun::star::xml;
using namespace ::com::sun::star::xml::sax;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::beans;

View File

@@ -33,14 +33,12 @@
#include <xmloff/namespacemap.hxx>
#include "eventimp.hxx"
using namespace ::cppu;
using namespace ::com::sun::star;
using namespace ::com::sun::star::xml;
using namespace ::com::sun::star::xml::sax;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::document;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::presentation;

View File

@@ -30,12 +30,10 @@
using ::com::sun::star::uno::Reference;
using namespace ::cppu;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::container;
using namespace ::xmloff::token;

View File

@@ -33,7 +33,6 @@
#include <XMLStringBufferImportContext.hxx>
using namespace ::cppu;
using namespace ::xmloff::token;
using namespace ::com::sun::star;
using namespace ::com::sun::star::xml;
@@ -41,7 +40,6 @@ using namespace ::com::sun::star::xml::sax;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::container;
namespace {

View File

@@ -29,7 +29,6 @@
#include <xmloff/xmluconv.hxx>
#include "ximpshow.hxx"
using namespace ::cppu;
using namespace ::com::sun::star;
using namespace ::com::sun::star::xml;
using namespace ::com::sun::star::xml::sax;

View File

@@ -84,7 +84,6 @@ namespace xmloff
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::script;
using namespace ::com::sun::star::io;
using namespace ::com::sun::star::table;
using namespace ::com::sun::star::text;
using namespace ::com::sun::star::form::binding;

View File

@@ -30,8 +30,6 @@ namespace xmloff
{
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
//= OAttributeMetaData
OUString OAttributeMetaData::getCommonControlAttributeName(CCAFlags _nId)

View File

@@ -40,7 +40,6 @@ namespace xmloff
using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::sheet;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::table;
using namespace ::com::sun::star::form;
using namespace ::com::sun::star::lang;

View File

@@ -27,10 +27,8 @@ namespace xmloff
{
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::awt;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::drawing;
//= OFormLayerXMLExport

View File

@@ -28,9 +28,7 @@ namespace xmloff
{
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star;

View File

@@ -47,7 +47,6 @@ namespace xmloff
using namespace css;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
// NO using namespace ...util !!!

View File

@@ -31,7 +31,6 @@
using namespace com::sun::star;
using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
using namespace com::sun::star::frame;
using namespace com::sun::star::document;
using namespace com::sun::star::xml::sax;

View File

@@ -24,7 +24,6 @@
#include <xmloff/xmltoken.hxx>
using namespace ::com::sun::star;
using namespace ::xmloff::token;
DrawAspectHdl::~DrawAspectHdl()
{

View File

@@ -32,7 +32,6 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using namespace ::comphelper;
using namespace ::xmloff::token;
static bool lcl_HasSameLineWidth( const table::BorderLine2& rLine1, const table::BorderLine2& rLine2 )
{

View File

@@ -39,7 +39,6 @@
using namespace ::xmloff::token;
using namespace ::com::sun::star;
using namespace ::com::sun::star::drawing;
SvXMLEnumMapEntry<sal_uInt16> const aXML_TextGridMode_ConstantMap[] =
{

View File

@@ -26,8 +26,6 @@
#include <com/sun/star/beans/XPropertySet.hpp>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
XMLPageMasterPropSetMapper::XMLPageMasterPropSetMapper():
XMLPropertySetMapper( aXMLPageMasterStyleMap, new XMLPageMasterPropHdlFactory(), false/*bForExport*/)

View File

@@ -19,9 +19,6 @@
#include <StyleMap.hxx>
using namespace css::uno;
using namespace css::lang;
StyleMap::StyleMap() {}
StyleMap::~StyleMap() {}

View File

@@ -38,7 +38,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::style;
using namespace ::com::sun::star::io;
using namespace ::xmloff::token;
const SvXMLEnumMapEntry<GraphicLocation> psXML_BrushHoriPos[] =

View File

@@ -41,8 +41,6 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::awt;
using namespace ::xmloff::token;

View File

@@ -49,7 +49,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::xmloff::token;
#define GET_PROP_TYPE( f ) static_cast<sal_uInt16>((f & XML_TYPE_PROP_MASK) >> XML_TYPE_PROP_SHIFT)

View File

@@ -30,8 +30,6 @@
#include <vector>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using ::xmloff::token::GetXMLToken;
namespace {

View File

@@ -34,7 +34,6 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <comphelper/sequence.hxx>
using namespace ::com::sun::star::text;
using namespace ::com::sun::star::uno;
using namespace ::xmloff::token;

View File

@@ -35,7 +35,6 @@ using ::com::sun::star::uno::Reference;
using ::com::sun::star::xml::sax::XFastAttributeList;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::text;
using namespace ::xmloff::token;
XMLSectionSourceDDEImportContext::XMLSectionSourceDDEImportContext(

View File

@@ -35,7 +35,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::style;

View File

@@ -32,7 +32,6 @@
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::style;
// Complete refactoring of the class and enhancement of the class for lists.
XMLTextNumRuleInfo::XMLTextNumRuleInfo()

View File

@@ -20,9 +20,6 @@
#include <xmloff/XMLTextTableContext.hxx>
using namespace ::com::sun::star::uno;
XMLTextTableContext::XMLTextTableContext( SvXMLImport& rImport ) :
SvXMLImportContext( rImport )
{

View File

@@ -55,7 +55,6 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::text;
using namespace ::com::sun::star::container;
using namespace ::xmloff::token;

View File

@@ -120,7 +120,6 @@ using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::text;
using namespace ::com::sun::star::style;
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::document;
using namespace ::com::sun::star::graphic;

View File

@@ -29,7 +29,6 @@
#include <xmlprop.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::xmloff::token;
#define M_E_( a, p, l, t, c ) \

View File

@@ -42,7 +42,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::style;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::beans;
using namespace ::xmloff::token;

View File

@@ -26,7 +26,6 @@
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
using namespace ::xmloff::token;
XMLControlOOoTransformerContext::XMLControlOOoTransformerContext(
XMLTransformerBase& rImp,

View File

@@ -46,10 +46,8 @@
#include "Oasis2OOo.hxx"
#include <cppuhelper/supportsservice.hxx>
using namespace ::osl;
using namespace ::xmloff::token;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::xml::sax;
using namespace ::com::sun::star::beans;

View File

@@ -26,7 +26,6 @@
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::xml::sax;
void XMLPersAttrListTContext::AddAttribute(

View File

@@ -22,9 +22,7 @@
#include <osl/diagnose.h>
using namespace ::osl;
using namespace ::xmloff::token;
using namespace ::com::sun::star::uno;
XMLTransformerActions::XMLTransformerActions( XMLTransformerActionInit const *pInit )
{

View File

@@ -43,7 +43,6 @@
#include "TransformerBase.hxx"
#include <xmloff/xmlimp.hxx>
using namespace ::osl;
using namespace ::xmloff::token;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;