compact namespace in editeng..extensions

Change-Id: Ie93ac69592c3625b8e2e5db3619ce24597a07a7e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93722
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2020-05-08 14:03:34 +02:00
parent eecf74d417
commit aa3e3efbfe
17 changed files with 38 additions and 40 deletions

View File

@@ -25,9 +25,9 @@
#include <editeng/svxenum.hxx> #include <editeng/svxenum.hxx>
#include <editeng/misspellrange.hxx> #include <editeng/misspellrange.hxx>
namespace com { namespace sun { namespace star { namespace linguistic2 { namespace com::sun::star::linguistic2 {
class XSpellChecker1; class XSpellChecker1;
}}}} }
class EditView; class EditView;

View File

@@ -37,7 +37,7 @@
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
#include <map> #include <map>
namespace com { namespace sun { namespace star { namespace com::sun::star {
namespace embed { namespace embed {
class XStorage; class XStorage;
} }
@@ -51,7 +51,7 @@ namespace com { namespace sun { namespace star {
struct PropertyValue; struct PropertyValue;
struct NamedValue; struct NamedValue;
} }
}}} }
namespace cppu { namespace cppu {
class OMultiTypeInterfaceContainerHelper; class OMultiTypeInterfaceContainerHelper;

View File

@@ -31,7 +31,7 @@
#include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase.hxx>
#include <cppuhelper/interfacecontainer.hxx> #include <cppuhelper/interfacecontainer.hxx>
namespace com { namespace sun { namespace star { namespace com::sun::star {
namespace embed { namespace embed {
class XStorage; class XStorage;
} }
@@ -42,7 +42,7 @@ namespace com { namespace sun { namespace star {
struct PropertyValue; struct PropertyValue;
struct NamedValue; struct NamedValue;
} }
}}} }
namespace cppu { namespace cppu {
class OMultiTypeInterfaceContainerHelper; class OMultiTypeInterfaceContainerHelper;

View File

@@ -25,9 +25,7 @@
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <sal/types.h> #include <sal/types.h>
namespace com { namespace sun { namespace star { namespace uno { namespace com::sun::star::uno { class Any; }
class Any;
} } } }
bool ConvertBufferToFormat( bool ConvertBufferToFormat(
void * pBuf, sal_uInt32 nBufSize, OUString const & aFormatShortName, void * pBuf, sal_uInt32 nBufSize, OUString const & aFormatShortName,

View File

@@ -25,10 +25,10 @@
#include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Reference.hxx>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
namespace com { namespace sun { namespace star { namespace com::sun::star {
namespace io { class XInputStream; } namespace io { class XInputStream; }
namespace lang { class XMultiServiceFactory; } namespace lang { class XMultiServiceFactory; }
} } } }
OUString GetNewTempFileURL_Impl( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory ); OUString GetNewTempFileURL_Impl( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory );

View File

@@ -29,7 +29,7 @@
#include "embservconst.h" #include "embservconst.h"
namespace com { namespace sun { namespace star { namespace com::sun::star {
namespace lang { namespace lang {
class XMultiServiceFactory; class XMultiServiceFactory;
} }
@@ -43,7 +43,7 @@ namespace com { namespace sun { namespace star {
class XInputStream; class XInputStream;
class XOutputStream; class XOutputStream;
} }
} } } }
#endif #endif

View File

@@ -25,14 +25,14 @@
#include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Sequence.hxx>
namespace com { namespace sun { namespace star { namespace com::sun::star {
namespace uno { namespace uno {
class XComponentContext; class XComponentContext;
class XInterface; class XInterface;
} }
} } } }
namespace emfio { namespace emfreader { namespace emfio::emfreader {
css::uno::Reference< css::uno::XInterface > css::uno::Reference< css::uno::XInterface >
XEmfParser_createInstance( css::uno::Reference< css::uno::XComponentContext > const &); XEmfParser_createInstance( css::uno::Reference< css::uno::XComponentContext > const &);
@@ -42,7 +42,7 @@ OUString XEmfParser_getImplementationName();
css::uno::Sequence< OUString > css::uno::Sequence< OUString >
XEmfParser_getSupportedServiceNames(); XEmfParser_getSupportedServiceNames();
} } }
#endif #endif

View File

@@ -27,11 +27,11 @@
#include "abptypes.hxx" #include "abptypes.hxx"
namespace com { namespace sun { namespace star { namespace com::sun::star {
namespace beans { namespace beans {
class XPropertySet; class XPropertySet;
} }
} } } }
namespace weld { class Window; } namespace weld { class Window; }

View File

@@ -25,7 +25,7 @@
#include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Reference.hxx>
#include "addresssettings.hxx" #include "addresssettings.hxx"
namespace com { namespace sun { namespace star { namespace com::sun::star {
namespace lang { namespace lang {
class XMultiServiceFactory; class XMultiServiceFactory;
} }
@@ -35,7 +35,7 @@ namespace com { namespace sun { namespace star {
namespace beans { namespace beans {
class XPropertySet; class XPropertySet;
} }
} } } }
namespace weld { class Window; } namespace weld { class Window; }
namespace abp namespace abp

View File

@@ -26,7 +26,7 @@
class BibGeneralPage; class BibGeneralPage;
class BibDataManager; class BibDataManager;
namespace com{ namespace sun{ namespace star{ namespace awt{ class XFocusListener;}}}} namespace com::sun::star::awt{ class XFocusListener;}
namespace bib namespace bib

View File

@@ -34,11 +34,11 @@
#include "bibmod.hxx" #include "bibmod.hxx"
class BibDataManager; class BibDataManager;
class BibFrameCtrl_Impl; class BibFrameCtrl_Impl;
namespace com{namespace sun{namespace star{ namespace com::sun::star{
namespace form { namespace runtime { namespace form::runtime {
class XFormController; class XFormController;
} } }
}}} }
class BibStatusDispatch class BibStatusDispatch
{ {
public: public:

View File

@@ -38,7 +38,7 @@
#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/lang/IllegalArgumentException.hpp>
namespace extensions { namespace config { namespace ldap { namespace extensions::config::ldap {
namespace uno = css::uno ; namespace uno = css::uno ;
namespace lang = css::lang ; namespace lang = css::lang ;
@@ -128,7 +128,7 @@ private:
} ; } ;
}} } }
#endif // EXTENSIONS_CONFIG_LDAP_LDAPUSERPROFILE_HXX_ #endif // EXTENSIONS_CONFIG_LDAP_LDAPUSERPROFILE_HXX_

View File

@@ -27,11 +27,11 @@
#include "ldapaccess.hxx" #include "ldapaccess.hxx"
namespace com { namespace sun { namespace star { namespace uno { namespace com::sun::star::uno {
class XComponentContext; class XComponentContext;
} } } } }
namespace extensions { namespace config { namespace ldap { namespace extensions::config::ldap {
namespace uno = css::uno ; namespace uno = css::uno ;
namespace lang = css::lang ; namespace lang = css::lang ;
@@ -121,7 +121,7 @@ class LdapUserProfileBe : private LdapProfileMutexHolder, public BackendBase
LdapData data_; LdapData data_;
} ; } ;
}}} }
#endif // EXTENSIONS_CONFIG_LDAP_LDAPUSERPROFILE_HXX_ #endif // EXTENSIONS_CONFIG_LDAP_LDAPUSERPROFILE_HXX_

View File

@@ -23,10 +23,10 @@
#include <com/sun/star/inspection/XPropertyControl.hpp> #include <com/sun/star/inspection/XPropertyControl.hpp>
#include <vcl/weld.hxx> #include <vcl/weld.hxx>
namespace com { namespace sun { namespace star { namespace inspection { namespace PropertyLineElement namespace com::sun::star::inspection::PropertyLineElement
{ {
const sal_Int16 CompleteLine = 0x4000; const sal_Int16 CompleteLine = 0x4000;
} } } } } }
namespace pcr namespace pcr

View File

@@ -30,11 +30,11 @@
#include <vector> #include <vector>
namespace weld { class Builder; class Widget; class Window; } namespace weld { class Builder; class Widget; class Window; }
namespace com { namespace sun { namespace star { namespace com::sun::star {
namespace inspection { namespace inspection {
struct LineDescriptor; struct LineDescriptor;
} }
} } } }
namespace pcr namespace pcr
{ {

View File

@@ -44,12 +44,12 @@
#include <memory> #include <memory>
#include <vector> #include <vector>
namespace com { namespace sun { namespace star { namespace com::sun::star {
namespace inspection { namespace inspection {
struct LineDescriptor; struct LineDescriptor;
class XPropertyControlFactory; class XPropertyControlFactory;
} }
} } } }
namespace vcl { class Window; } namespace vcl { class Window; }
namespace weld { class Window; } namespace weld { class Window; }

View File

@@ -24,14 +24,14 @@
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
#include <salhelper/simplereferenceobject.hxx> #include <salhelper/simplereferenceobject.hxx>
namespace com { namespace sun { namespace star { namespace com::sun::star {
namespace xsd { namespace xsd {
class XDataType; class XDataType;
} }
namespace beans { namespace beans {
class XPropertySetInfo; class XPropertySetInfo;
} }
} } } }
namespace pcr namespace pcr