Kaydet (Commit) b4f030f0 authored tarafından Matúš Kukan's avatar Matúš Kukan

hide duplication into anonymous namespace

Change-Id: Ie9a810f59d08d79636a0ad4b56adedb87479706e
üst d93fdcf3
......@@ -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
/**
......
......@@ -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 )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment