summaryrefslogtreecommitdiff
path: root/scaddins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-07-10 15:19:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-07-20 10:12:57 +0200
commitda7489eb6aa9dfedb43f9be6e1b90e3ae06a75cc (patch)
treea83a32677046ede93c124af8edc8801bcb6e896f /scaddins
parentabea0d6647c7f1f7e76c73c26cb80e6a67dc5111 (diff)
compact namespace decl
used git grep -lw namespace | xargs perl -i -p0e 's/(\w+)\s*.\{.\s*namespace\s*(\w+)/\1::\2/smg;' to do the initial replace, then compiled and fixed. Change-Id: If69904d75940c851aeffab0e78c4ba02cc968d44 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98526 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'scaddins')
-rw-r--r--scaddins/source/analysis/bessel.hxx6
-rw-r--r--scaddins/source/pricing/pricing.hxx6
2 files changed, 4 insertions, 8 deletions
diff --git a/scaddins/source/analysis/bessel.hxx b/scaddins/source/analysis/bessel.hxx
index 7aea95707829..58086ed258ed 100644
--- a/scaddins/source/analysis/bessel.hxx
+++ b/scaddins/source/analysis/bessel.hxx
@@ -22,8 +22,7 @@
#include <sal/types.h>
-namespace sca {
-namespace analysis {
+namespace sca::analysis {
// BESSEL functions
@@ -57,8 +56,7 @@ double BesselY( double x, sal_Int32 n );
*/
double BesselK( double x, sal_Int32 n );
-} // namespace analysis
-} // namespace sca
+} // namespace sca::analysis
#endif
diff --git a/scaddins/source/pricing/pricing.hxx b/scaddins/source/pricing/pricing.hxx
index 8acbfd4a8307..ead7296762a4 100644
--- a/scaddins/source/pricing/pricing.hxx
+++ b/scaddins/source/pricing/pricing.hxx
@@ -42,8 +42,7 @@ namespace com::sun::star::lang { class XMultiServiceFactory; }
#define RETURN_FINITE(d) if( !std::isfinite( d ) ) throw css::lang::IllegalArgumentException(); return d;
-namespace sca {
-namespace pricing {
+namespace sca::pricing {
enum class ScaCategory
{
@@ -112,8 +111,7 @@ struct FindScaFuncData
bool operator() ( ScaFuncData const & rCandidate ) const { return rCandidate.Is(m_rId); }
};
-} // namespace pricing
-} // namespace sca
+} // namespace sca::pricing
css::uno::Reference< css::uno::XInterface > SAL_CALL PricingFunctionAddIn_CreateInstance(