summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/app/langselect.hxx4
-rw-r--r--desktop/source/app/userinstall.hxx4
-rw-r--r--desktop/source/deployment/gui/dp_gui_extensioncmdqueue.hxx4
-rw-r--r--desktop/source/deployment/gui/dp_gui_updatedata.hxx8
-rw-r--r--desktop/source/deployment/gui/dp_gui_updatedialog.hxx4
-rw-r--r--desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx8
-rw-r--r--desktop/source/deployment/inc/dp_dependencies.hxx4
-rw-r--r--desktop/source/deployment/inc/dp_descriptioninfoset.hxx4
-rw-r--r--desktop/source/deployment/inc/dp_identifier.hxx4
-rw-r--r--desktop/source/deployment/inc/dp_package.hxx8
-rw-r--r--desktop/source/deployment/inc/dp_registry.hxx4
-rw-r--r--desktop/source/deployment/inc/dp_services.hxx6
-rw-r--r--desktop/source/deployment/registry/component/dp_compbackenddb.hxx6
-rw-r--r--desktop/source/deployment/registry/configuration/dp_configurationbackenddb.hxx6
-rw-r--r--desktop/source/deployment/registry/executable/dp_executablebackenddb.hxx6
-rw-r--r--desktop/source/deployment/registry/help/dp_helpbackenddb.hxx6
-rw-r--r--desktop/source/deployment/registry/inc/dp_backenddb.hxx14
-rw-r--r--desktop/source/deployment/registry/package/dp_extbackenddb.hxx6
-rw-r--r--desktop/source/deployment/registry/script/dp_lib_container.h4
-rw-r--r--desktop/source/deployment/registry/script/dp_scriptbackenddb.hxx6
-rw-r--r--desktop/source/migration/services/oo3extensionmigration.hxx6
-rw-r--r--desktop/source/offacc/acceptor.hxx4
-rw-r--r--desktop/source/splash/splash.hxx8
23 files changed, 52 insertions, 82 deletions
diff --git a/desktop/source/app/langselect.hxx b/desktop/source/app/langselect.hxx
index 24abcf22cbd6..ccc19d3a18e8 100644
--- a/desktop/source/app/langselect.hxx
+++ b/desktop/source/app/langselect.hxx
@@ -22,11 +22,11 @@
#include <sal/config.h>
-namespace desktop { namespace langselect {
+namespace desktop::langselect {
bool prepareLocale();
-} }
+}
#endif
diff --git a/desktop/source/app/userinstall.hxx b/desktop/source/app/userinstall.hxx
index dd3876c3af73..add45aed9b20 100644
--- a/desktop/source/app/userinstall.hxx
+++ b/desktop/source/app/userinstall.hxx
@@ -22,7 +22,7 @@
#include <sal/config.h>
-namespace desktop { namespace userinstall {
+namespace desktop::userinstall {
enum Status {
EXISTED,
@@ -34,7 +34,7 @@ enum Status {
Status finalize();
-} }
+}
#endif
diff --git a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.hxx b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.hxx
index ff8fd73a6923..9bc9b608ed21 100644
--- a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.hxx
+++ b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.hxx
@@ -31,10 +31,10 @@
/// @HTML
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
namespace task { class XInteractionRequest; }
namespace uno { class XComponentContext; }
-} } }
+}
namespace dp_gui {
diff --git a/desktop/source/deployment/gui/dp_gui_updatedata.hxx b/desktop/source/deployment/gui/dp_gui_updatedata.hxx
index 1148ba03c86a..2edf071df932 100644
--- a/desktop/source/deployment/gui/dp_gui_updatedata.hxx
+++ b/desktop/source/deployment/gui/dp_gui_updatedata.hxx
@@ -23,12 +23,12 @@
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Reference.hxx>
-namespace com { namespace sun { namespace star { namespace deployment {
+namespace com::sun::star::deployment {
class XPackage;
-}}}}
-namespace com { namespace sun { namespace star { namespace xml { namespace dom {
+}
+namespace com::sun::star::xml::dom {
class XNode;
-}}}}}
+}
namespace dp_gui {
diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx
index e9cfd6f234f8..291f028504c4 100644
--- a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx
+++ b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx
@@ -40,11 +40,11 @@ class MouseEvent;
class ResId;
namespace vcl { class Window; }
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
namespace deployment { class XExtensionManager;
class XPackage; }
namespace uno { class XComponentContext; }
-} } }
+}
namespace dp_gui {
/**
diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx
index ea42a7273a5b..714bb969877f 100644
--- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx
+++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx
@@ -26,12 +26,12 @@
#include <vector>
/// @HTML
-namespace com { namespace sun { namespace star { namespace deployment {
+namespace com::sun::star::deployment {
class XExtensionManager;
-}}}}
-namespace com { namespace sun { namespace star { namespace uno {
+}
+namespace com::sun::star::uno {
class XComponentContext;
-}}}}
+}
namespace vcl { class Window; }
diff --git a/desktop/source/deployment/inc/dp_dependencies.hxx b/desktop/source/deployment/inc/dp_dependencies.hxx
index ba8233aa9778..24c8a86fdc28 100644
--- a/desktop/source/deployment/inc/dp_dependencies.hxx
+++ b/desktop/source/deployment/inc/dp_dependencies.hxx
@@ -28,9 +28,9 @@
/// @HTML
-namespace com { namespace sun { namespace star { namespace xml { namespace dom {
+namespace com::sun::star::xml::dom {
class XElement;
-} } } } }
+}
namespace dp_misc { class DescriptionInfoset; }
namespace dp_misc {
diff --git a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx
index 03990c9405b2..b404751fce52 100644
--- a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx
+++ b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx
@@ -30,7 +30,7 @@
/// @HTML
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
namespace uno { class XComponentContext; }
namespace xml {
namespace dom {
@@ -39,7 +39,7 @@ namespace com { namespace sun { namespace star {
}
namespace xpath { class XXPathAPI; }
}
-} } }
+}
namespace dp_misc {
diff --git a/desktop/source/deployment/inc/dp_identifier.hxx b/desktop/source/deployment/inc/dp_identifier.hxx
index a3eb0681bb1e..5d766d5b21d1 100644
--- a/desktop/source/deployment/inc/dp_identifier.hxx
+++ b/desktop/source/deployment/inc/dp_identifier.hxx
@@ -27,9 +27,9 @@
#include "dp_misc_api.hxx"
-namespace com { namespace sun { namespace star { namespace deployment {
+namespace com::sun::star::deployment {
class XPackage;
-} } } }
+}
namespace dp_misc {
diff --git a/desktop/source/deployment/inc/dp_package.hxx b/desktop/source/deployment/inc/dp_package.hxx
index 22ab1a5a2d4b..cf788c40bd31 100644
--- a/desktop/source/deployment/inc/dp_package.hxx
+++ b/desktop/source/deployment/inc/dp_package.hxx
@@ -25,12 +25,12 @@
#include <com/sun/star/uno/Reference.hxx>
#include <rtl/ustring.hxx>
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
namespace deployment { class XPackageRegistry; }
namespace uno { class XComponentContext; }
-} } }
+}
-namespace dp_registry { namespace backend { namespace bundle {
+namespace dp_registry::backend::bundle {
css::uno::Reference<css::deployment::XPackageRegistry> create(
css::uno::Reference<css::deployment::XPackageRegistry> const &
@@ -38,7 +38,7 @@ css::uno::Reference<css::deployment::XPackageRegistry> create(
OUString const & context, OUString const & cachePath,
css::uno::Reference<css::uno::XComponentContext> const & xComponentContext);
-} } }
+}
#endif
diff --git a/desktop/source/deployment/inc/dp_registry.hxx b/desktop/source/deployment/inc/dp_registry.hxx
index 43746ddfc642..d58ec9a59039 100644
--- a/desktop/source/deployment/inc/dp_registry.hxx
+++ b/desktop/source/deployment/inc/dp_registry.hxx
@@ -25,10 +25,10 @@
#include <com/sun/star/uno/Reference.hxx>
#include <rtl/ustring.hxx>
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
namespace deployment { class XPackageRegistry; }
namespace uno { class XComponentContext; }
-} } }
+}
namespace dp_registry {
diff --git a/desktop/source/deployment/inc/dp_services.hxx b/desktop/source/deployment/inc/dp_services.hxx
index 846e55a078dd..f40f908de0cd 100644
--- a/desktop/source/deployment/inc/dp_services.hxx
+++ b/desktop/source/deployment/inc/dp_services.hxx
@@ -12,7 +12,7 @@
#include <sal/config.h>
-namespace comphelper { namespace service_decl { class ServiceDecl; } }
+namespace comphelper::service_decl { class ServiceDecl; }
namespace dp_info {
extern comphelper::service_decl::ServiceDecl const serviceDecl;
@@ -32,7 +32,7 @@ extern comphelper::service_decl::ServiceDecl const serviceDecl;
}
-namespace dp_registry { namespace backend {
+namespace dp_registry::backend {
namespace component {
extern comphelper::service_decl::ServiceDecl const serviceDecl;
@@ -58,7 +58,7 @@ namespace sfwk {
extern comphelper::service_decl::ServiceDecl const serviceDecl;
}
-} }
+}
#endif
diff --git a/desktop/source/deployment/registry/component/dp_compbackenddb.hxx b/desktop/source/deployment/registry/component/dp_compbackenddb.hxx
index 56f9579f0003..b7bcdf50aa14 100644
--- a/desktop/source/deployment/registry/component/dp_compbackenddb.hxx
+++ b/desktop/source/deployment/registry/component/dp_compbackenddb.hxx
@@ -26,11 +26,7 @@
#include <deque>
#include <dp_backenddb.hxx>
-namespace com { namespace sun { namespace star {
- namespace uno {
- class XComponentContext;
- }
-}}}
+namespace com::sun::star::uno { class XComponentContext; }
namespace dp_registry {
namespace backend {
diff --git a/desktop/source/deployment/registry/configuration/dp_configurationbackenddb.hxx b/desktop/source/deployment/registry/configuration/dp_configurationbackenddb.hxx
index 264030c0ef79..0b345cb3fe09 100644
--- a/desktop/source/deployment/registry/configuration/dp_configurationbackenddb.hxx
+++ b/desktop/source/deployment/registry/configuration/dp_configurationbackenddb.hxx
@@ -26,11 +26,7 @@
#include <optional>
#include <dp_backenddb.hxx>
-namespace com { namespace sun { namespace star {
- namespace uno {
- class XComponentContext;
- }
-}}}
+namespace com::sun::star::uno { class XComponentContext; }
namespace dp_registry {
namespace backend {
diff --git a/desktop/source/deployment/registry/executable/dp_executablebackenddb.hxx b/desktop/source/deployment/registry/executable/dp_executablebackenddb.hxx
index 2dc951c14ece..d992b0248913 100644
--- a/desktop/source/deployment/registry/executable/dp_executablebackenddb.hxx
+++ b/desktop/source/deployment/registry/executable/dp_executablebackenddb.hxx
@@ -23,11 +23,7 @@
#include <rtl/ustring.hxx>
#include <dp_backenddb.hxx>
-namespace com { namespace sun { namespace star {
- namespace uno {
- class XComponentContext;
- }
-}}}
+namespace com::sun::star::uno { class XComponentContext; }
namespace dp_registry {
namespace backend {
diff --git a/desktop/source/deployment/registry/help/dp_helpbackenddb.hxx b/desktop/source/deployment/registry/help/dp_helpbackenddb.hxx
index 1f072f7429df..18e0aa4a0743 100644
--- a/desktop/source/deployment/registry/help/dp_helpbackenddb.hxx
+++ b/desktop/source/deployment/registry/help/dp_helpbackenddb.hxx
@@ -24,11 +24,7 @@
#include <optional>
#include <dp_backenddb.hxx>
-namespace com { namespace sun { namespace star {
- namespace uno {
- class XComponentContext;
- }
-}}}
+namespace com::sun::star::uno { class XComponentContext; }
namespace dp_registry {
namespace backend {
diff --git a/desktop/source/deployment/registry/inc/dp_backenddb.hxx b/desktop/source/deployment/registry/inc/dp_backenddb.hxx
index 57e3131cb1f9..8fd0cd0e8ad1 100644
--- a/desktop/source/deployment/registry/inc/dp_backenddb.hxx
+++ b/desktop/source/deployment/registry/inc/dp_backenddb.hxx
@@ -25,18 +25,18 @@
#include <deque>
#include <vector>
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
namespace uno {
- class XComponentContext;
+ class XComponentContext;
}
- namespace xml { namespace dom {
+ namespace xml::dom {
class XDocument;
class XNode;
- }}
- namespace xml { namespace xpath {
+ }
+ namespace xml::xpath {
class XXPathAPI;
- }}
-}}}
+ }
+}
namespace dp_registry {
namespace backend {
diff --git a/desktop/source/deployment/registry/package/dp_extbackenddb.hxx b/desktop/source/deployment/registry/package/dp_extbackenddb.hxx
index ac91a62e9252..51427e73b9fd 100644
--- a/desktop/source/deployment/registry/package/dp_extbackenddb.hxx
+++ b/desktop/source/deployment/registry/package/dp_extbackenddb.hxx
@@ -27,11 +27,7 @@
#include <dp_backenddb.hxx>
-namespace com { namespace sun { namespace star {
- namespace uno {
- class XComponentContext;
- }
-}}}
+namespace com::sun::star::uno { class XComponentContext; }
namespace dp_registry {
namespace backend {
diff --git a/desktop/source/deployment/registry/script/dp_lib_container.h b/desktop/source/deployment/registry/script/dp_lib_container.h
index adccfa44e05b..00e9ab34842e 100644
--- a/desktop/source/deployment/registry/script/dp_lib_container.h
+++ b/desktop/source/deployment/registry/script/dp_lib_container.h
@@ -22,14 +22,14 @@
#include <com/sun/star/uno/Reference.hxx>
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
namespace uno {
class XComponentContext;
}
namespace ucb {
class XCommandEnvironment;
}
-}}}
+}
namespace dp_registry {
diff --git a/desktop/source/deployment/registry/script/dp_scriptbackenddb.hxx b/desktop/source/deployment/registry/script/dp_scriptbackenddb.hxx
index 3f2cfed20a2e..61e993c9025a 100644
--- a/desktop/source/deployment/registry/script/dp_scriptbackenddb.hxx
+++ b/desktop/source/deployment/registry/script/dp_scriptbackenddb.hxx
@@ -24,11 +24,7 @@
#include <dp_backenddb.hxx>
#include <optional>
-namespace com { namespace sun { namespace star {
- namespace uno {
- class XComponentContext;
- }
-}}}
+namespace com::sun::star::uno { class XComponentContext; }
namespace dp_registry {
namespace backend {
diff --git a/desktop/source/migration/services/oo3extensionmigration.hxx b/desktop/source/migration/services/oo3extensionmigration.hxx
index 3d2c4b5d8a86..089c343aa0d6 100644
--- a/desktop/source/migration/services/oo3extensionmigration.hxx
+++ b/desktop/source/migration/services/oo3extensionmigration.hxx
@@ -32,11 +32,7 @@
#include <osl/mutex.hxx>
#include <cppuhelper/implbase.hxx>
-namespace com { namespace sun { namespace star {
- namespace uno {
- class XComponentContext;
- }
-}}}
+namespace com::sun::star::uno { class XComponentContext; }
class INetURLObject;
diff --git a/desktop/source/offacc/acceptor.hxx b/desktop/source/offacc/acceptor.hxx
index 17d3b8ac0d80..a7cc9c4e961c 100644
--- a/desktop/source/offacc/acceptor.hxx
+++ b/desktop/source/offacc/acceptor.hxx
@@ -36,9 +36,7 @@
#include <osl/conditn.hxx>
#include <osl/thread.hxx>
-namespace com { namespace sun { namespace star { namespace uno {
- class XComponentContext;
-} } } }
+namespace com::sun::star::uno { class XComponentContext; }
namespace desktop {
diff --git a/desktop/source/splash/splash.hxx b/desktop/source/splash/splash.hxx
index 94838d3ccd19..0a31258d740e 100644
--- a/desktop/source/splash/splash.hxx
+++ b/desktop/source/splash/splash.hxx
@@ -25,14 +25,14 @@
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
-namespace com { namespace sun { namespace star {
+namespace com::sun::star {
namespace uno {
class XComponentContext;
class XInterface;
}
-} } }
+}
-namespace desktop { namespace splash {
+namespace desktop::splash {
css::uno::Reference< css::uno::XInterface >
create( css::uno::Reference< css::uno::XComponentContext > const & );
@@ -42,7 +42,7 @@ OUString getImplementationName();
css::uno::Sequence< OUString >
getSupportedServiceNames();
-} }
+}
#endif