summaryrefslogtreecommitdiffstats
path: root/include/comphelper/uno3.hxx
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 19:06:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-03-01 09:51:32 -0600
commit8792ec7b2129650777b7b4bfacaa7c13d923279b (patch)
treef181e37b61533b460397cc68625fd21f46bb6393 /include/comphelper/uno3.hxx
parentimport date cells from OOXML (diff)
downloadcore-8792ec7b2129650777b7b4bfacaa7c13d923279b.tar.gz
core-8792ec7b2129650777b7b4bfacaa7c13d923279b.zip
Remove visual noise from include
Conflicts: include/framework/preventduplicateinteraction.hxx include/sfx2/sfxbasecontroller.hxx include/sfx2/sfxbasemodel.hxx include/toolkit/awt/vclxtabpagemodel.hxx include/vcl/field.hxx include/vcl/settings.hxx Change-Id: Ibccf9f88c68267a3d7e656012b51eaf644c418c2 Reviewed-on: https://gerrit.libreoffice.org/8272 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/comphelper/uno3.hxx')
-rw-r--r--include/comphelper/uno3.hxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/comphelper/uno3.hxx b/include/comphelper/uno3.hxx
index 70ec09c031ea..e04585de17a3 100644
--- a/include/comphelper/uno3.hxx
+++ b/include/comphelper/uno3.hxx
@@ -27,18 +27,18 @@
#include <comphelper/sequence.hxx>
#include <cppuhelper/typeprovider.hxx>
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
-//=========================================================================
+
+
/// manipulate ref counts without calling acquire/release
inline oslInterlockedCount increment(oslInterlockedCount& _counter) { return osl_atomic_increment(&_counter); }
inline oslInterlockedCount decrement(oslInterlockedCount& _counter) { return osl_atomic_decrement(&_counter); }
-//=========================================================================
+
/** used for declaring UNO3-Defaults, i.e. acquire/release
*/
@@ -143,11 +143,11 @@ namespace comphelper
void SAL_CALL PUT_SEMICOLON_AT_THE_END()
- //=====================================================================
+
//= deriving from multiple XInterface-derived classes
- //=====================================================================
+
//= forwarding/merging XInterface funtionality
- //=====================================================================
+
#define DECLARE_XINTERFACE( ) \
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw (::com::sun::star::uno::RuntimeException, std::exception); \
virtual void SAL_CALL acquire() throw(); \
@@ -181,9 +181,9 @@ namespace comphelper
return aReturn; \
}
- //=====================================================================
+
//= forwarding/merging XTypeProvider funtionality
- //=====================================================================
+
#define DECLARE_XTYPEPROVIDER( ) \
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw (::com::sun::star::uno::RuntimeException, std::exception); \
virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw (::com::sun::star::uno::RuntimeException, std::exception);
@@ -221,7 +221,7 @@ namespace comphelper
\
IMPLEMENT_GET_IMPLEMENTATION_ID( classname )
-//=========================================================================
+
/** ask for an iface of an aggregated object
usage:<br/>
@@ -266,9 +266,9 @@ namespace comphelper
return false;
}
-//.........................................................................
+
} // namespace comphelper
-//.........................................................................
+
#endif // INCLUDED_COMPHELPER_UNO3_HXX