diff options
-rw-r--r-- | scaddins/source/datefunc/datefunc.cxx | 9 | ||||
-rw-r--r-- | unotools/source/config/xmlaccelcfg.cxx | 4 |
2 files changed, 4 insertions, 9 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 /** diff --git a/unotools/source/config/xmlaccelcfg.cxx b/unotools/source/config/xmlaccelcfg.cxx index ef4e4000edf5..57ea43e4b4ce 100644 --- a/unotools/source/config/xmlaccelcfg.cxx +++ b/unotools/source/config/xmlaccelcfg.cxx @@ -38,7 +38,7 @@ using ::rtl::OUString; #define ATTRIBUTE_TYPE_CDATA "CDATA" -// ------------------------------------------------------------------ +namespace { struct AttributeListImpl_impl; class AttributeListImpl : public ::cppu::WeakImplHelper1< ::com::sun::star::xml::sax::XAttributeList > @@ -185,7 +185,7 @@ void AttributeListImpl::clear() OSL_ASSERT( ! getLength() ); } -// ------------------------------------------------------------------ +} // anonymous namespace Any SAL_CALL OReadAccelatorDocumentHandler::queryInterface( const Type & rType ) throw( RuntimeException ) { |