summaryrefslogtreecommitdiff
path: root/xmloff/source/forms/handler
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2013-08-09 20:04:34 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-08-10 14:55:06 +0000
commit4f360266cd1335861c182493bde6ade0e67b753b (patch)
tree94fbebf42ab561d68b659fa0c0f80ab85abef2d8 /xmloff/source/forms/handler
parent9c8831244062202e9066b97be7082e72e1194866 (diff)
fdo#62475 removed pointless comments
Change-Id: I176886fbc9f3d9e2b8ad2308ac2b127d9c68d9a6 Reviewed-on: https://gerrit.libreoffice.org/5331 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'xmloff/source/forms/handler')
-rw-r--r--xmloff/source/forms/handler/form_handler_factory.cxx8
-rw-r--r--xmloff/source/forms/handler/property_handler_base.cxx6
-rw-r--r--xmloff/source/forms/handler/property_handler_base.hxx6
-rw-r--r--xmloff/source/forms/handler/vcl_date_handler.cxx11
-rw-r--r--xmloff/source/forms/handler/vcl_date_handler.hxx6
-rw-r--r--xmloff/source/forms/handler/vcl_time_handler.cxx11
-rw-r--r--xmloff/source/forms/handler/vcl_time_handler.hxx6
7 files changed, 0 insertions, 54 deletions
diff --git a/xmloff/source/forms/handler/form_handler_factory.cxx b/xmloff/source/forms/handler/form_handler_factory.cxx
index ca43f8f5f77e..7b944f7c986d 100644
--- a/xmloff/source/forms/handler/form_handler_factory.cxx
+++ b/xmloff/source/forms/handler/form_handler_factory.cxx
@@ -17,15 +17,12 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "forms/form_handler_factory.hxx"
#include "vcl_date_handler.hxx"
#include "vcl_time_handler.hxx"
-//......................................................................................................................
namespace xmloff
{
-//......................................................................................................................
namespace
{
@@ -33,10 +30,7 @@ namespace xmloff
static PPropertyHandler s_pVCLTimeHandler = NULL;
}
- //==================================================================================================================
//= FormHandlerFactory
- //==================================================================================================================
- //------------------------------------------------------------------------------------------------------------------
PPropertyHandler FormHandlerFactory::getFormPropertyHandler( const PropertyId i_propertyId )
{
PPropertyHandler pHandler( NULL );
@@ -77,8 +71,6 @@ namespace xmloff
return pHandler;
}
-//......................................................................................................................
} // namespace xmloff
-//......................................................................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/handler/property_handler_base.cxx b/xmloff/source/forms/handler/property_handler_base.cxx
index 92aeeaca38b1..e92b16b4b530 100644
--- a/xmloff/source/forms/handler/property_handler_base.cxx
+++ b/xmloff/source/forms/handler/property_handler_base.cxx
@@ -17,27 +17,21 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "property_handler_base.hxx"
namespace xmloff
{
- //==================================================================================================================
//= PropertyHandlerBase
- //==================================================================================================================
- //------------------------------------------------------------------------------------------------------------------
PropertyHandlerBase::~PropertyHandlerBase()
{
}
- //------------------------------------------------------------------------------------------------------------------
oslInterlockedCount SAL_CALL PropertyHandlerBase::acquire()
{
return osl_atomic_increment( &m_refCount );
}
- //------------------------------------------------------------------------------------------------------------------
oslInterlockedCount SAL_CALL PropertyHandlerBase::release()
{
oslInterlockedCount decremented = osl_atomic_decrement( &m_refCount );
diff --git a/xmloff/source/forms/handler/property_handler_base.hxx b/xmloff/source/forms/handler/property_handler_base.hxx
index 2d8c4d617429..72789f90b866 100644
--- a/xmloff/source/forms/handler/property_handler_base.hxx
+++ b/xmloff/source/forms/handler/property_handler_base.hxx
@@ -24,14 +24,10 @@
#include <osl/interlck.h>
-//......................................................................................................................
namespace xmloff
{
-//......................................................................................................................
- //==================================================================================================================
//= PropertyHandlerBase
- //==================================================================================================================
class PropertyHandlerBase : public IPropertyHandler
{
protected:
@@ -50,9 +46,7 @@ namespace xmloff
oslInterlockedCount m_refCount;
};
-//......................................................................................................................
} // namespace xmloff
-//......................................................................................................................
#endif // XMLOFF_PROPERTY_HANDLER_BASE_HXX
diff --git a/xmloff/source/forms/handler/vcl_date_handler.cxx b/xmloff/source/forms/handler/vcl_date_handler.cxx
index b3ff4f744e8d..a29f01815a36 100644
--- a/xmloff/source/forms/handler/vcl_date_handler.cxx
+++ b/xmloff/source/forms/handler/vcl_date_handler.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "vcl_date_handler.hxx"
#include <rtl/ustrbuf.hxx>
@@ -30,32 +29,25 @@
#include <tools/diagnose_ex.h>
#include <tools/date.hxx>
-//......................................................................................................................
namespace xmloff
{
-//......................................................................................................................
using ::com::sun::star::uno::Any;
using ::com::sun::star::uno::makeAny;
using ::com::sun::star::util::DateTime;
using ::com::sun::star::util::Date;
- //==================================================================================================================
//= VCLDateHandler
- //==================================================================================================================
- //------------------------------------------------------------------------------------------------------------------
VCLDateHandler::VCLDateHandler()
{
}
- //------------------------------------------------------------------------------------------------------------------
OUString VCLDateHandler::getAttributeValue( const PropertyValues& /*i_propertyValues*/ ) const
{
OSL_ENSURE( false, "VCLDateHandler::getAttributeValue: unexpected call!" );
return OUString();
}
- //------------------------------------------------------------------------------------------------------------------
OUString VCLDateHandler::getAttributeValue( const Any& i_propertyValue ) const
{
Date aDate;
@@ -71,7 +63,6 @@ namespace xmloff
return aBuffer.makeStringAndClear();
}
- //------------------------------------------------------------------------------------------------------------------
bool VCLDateHandler::getPropertyValues( const OUString i_attributeValue, PropertyValues& o_propertyValues ) const
{
DateTime aDateTime;
@@ -107,8 +98,6 @@ namespace xmloff
return true;
}
-//......................................................................................................................
} // namespace xmloff
-//......................................................................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/handler/vcl_date_handler.hxx b/xmloff/source/forms/handler/vcl_date_handler.hxx
index 720270ba04b0..5c0e3d123f57 100644
--- a/xmloff/source/forms/handler/vcl_date_handler.hxx
+++ b/xmloff/source/forms/handler/vcl_date_handler.hxx
@@ -22,14 +22,10 @@
#include "property_handler_base.hxx"
-//......................................................................................................................
namespace xmloff
{
-//......................................................................................................................
- //==================================================================================================================
//= VCLDateHandler
- //==================================================================================================================
class VCLDateHandler : public PropertyHandlerBase
{
public:
@@ -41,9 +37,7 @@ namespace xmloff
virtual bool getPropertyValues( const OUString i_attributeValue, PropertyValues& o_propertyValues ) const;
};
-//......................................................................................................................
} // namespace xmloff
-//......................................................................................................................
#endif // XMLOFF_VCL_DATE_HANDLER_HXX
diff --git a/xmloff/source/forms/handler/vcl_time_handler.cxx b/xmloff/source/forms/handler/vcl_time_handler.cxx
index bbf9698d7c49..bdbd211b2575 100644
--- a/xmloff/source/forms/handler/vcl_time_handler.cxx
+++ b/xmloff/source/forms/handler/vcl_time_handler.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "vcl_time_handler.hxx"
#include <rtl/ustrbuf.hxx>
@@ -30,32 +29,25 @@
#include <tools/diagnose_ex.h>
#include <tools/time.hxx>
-//......................................................................................................................
namespace xmloff
{
-//......................................................................................................................
using ::com::sun::star::uno::Any;
using ::com::sun::star::uno::makeAny;
using ::com::sun::star::util::Duration;
using ::com::sun::star::util::Time;
- //==================================================================================================================
//= VCLTimeHandler
- //==================================================================================================================
- //------------------------------------------------------------------------------------------------------------------
VCLTimeHandler::VCLTimeHandler()
{
}
- //------------------------------------------------------------------------------------------------------------------
OUString VCLTimeHandler::getAttributeValue( const PropertyValues& /*i_propertyValues*/ ) const
{
OSL_ENSURE( false, "VCLTimeHandler::getAttributeValue: unexpected call!" );
return OUString();
}
- //------------------------------------------------------------------------------------------------------------------
OUString VCLTimeHandler::getAttributeValue( const Any& i_propertyValue ) const
{
Time aTime;
@@ -72,7 +64,6 @@ namespace xmloff
return aBuffer.makeStringAndClear();
}
- //------------------------------------------------------------------------------------------------------------------
bool VCLTimeHandler::getPropertyValues( const OUString i_attributeValue, PropertyValues& o_propertyValues ) const
{
Duration aDuration;
@@ -110,8 +101,6 @@ namespace xmloff
return true;
}
-//......................................................................................................................
} // namespace xmloff
-//......................................................................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/handler/vcl_time_handler.hxx b/xmloff/source/forms/handler/vcl_time_handler.hxx
index 5785a78cbb08..895650f96b57 100644
--- a/xmloff/source/forms/handler/vcl_time_handler.hxx
+++ b/xmloff/source/forms/handler/vcl_time_handler.hxx
@@ -22,14 +22,10 @@
#include "property_handler_base.hxx"
-//......................................................................................................................
namespace xmloff
{
-//......................................................................................................................
- //==================================================================================================================
//= VCLTimeHandler
- //==================================================================================================================
class VCLTimeHandler : public PropertyHandlerBase
{
public:
@@ -41,9 +37,7 @@ namespace xmloff
virtual bool getPropertyValues( const OUString i_attributeValue, PropertyValues& o_propertyValues ) const;
};
-//......................................................................................................................
} // namespace xmloff
-//......................................................................................................................
#endif // XMLOFF_VCL_TIME_HANDLER_HXX