summaryrefslogtreecommitdiff
path: root/scaddins
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-09-01 21:04:10 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-09-01 21:06:12 +0200
commitb4f030f0e3a702e6398698eff08e21141f2c761f (patch)
tree8056d70807a7dc93c44833b131aa1ae1e9ccf3b9 /scaddins
parentd93fdcf391bdbab03933ceefa9a4457f4b635f44 (diff)
hide duplication into anonymous namespace
Change-Id: Ie9a810f59d08d79636a0ad4b56adedb87479706e
Diffstat (limited to 'scaddins')
-rw-r--r--scaddins/source/datefunc/datefunc.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx
index 010c7a5c0e11..698666ff7554 100644
--- a/scaddins/source/datefunc/datefunc.cxx
+++ b/scaddins/source/datefunc/datefunc.cxx
@@ -523,13 +523,7 @@ uno::Sequence< sheet::LocalizedName > SAL_CALL ScaDateAddIn::getCompatibilityNam
return aRet;
}
-
-//------------------------------------------------------------------
-//
-// function implementation starts here
-//
-//------------------------------------------------------------------
-
+namespace {
// auxiliary functions
sal_Bool IsLeapYear( sal_uInt16 nYear )
@@ -660,6 +654,7 @@ sal_Int32 GetNullDate( const uno::Reference< beans::XPropertySet >& xOptions )
throw uno::RuntimeException();
}
+}
// XDateFunctions
/**