summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-03-04 08:51:48 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-03-08 10:13:26 +0100
commit574086f4cfbd8f85b47f310e5637d224acc05056 (patch)
tree603aa2d4e8e3345d3226fa57bdda6f88b57ba1a6 /sw/inc
parentb49e047472e37cda9e7f7c0ee6e4606862054f57 (diff)
Remove '#define INLINE', inline in method definition is enough
Change-Id: I9c7ae289492e3ec8ada111a8dddfb5426ef22d30
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/index.hxx34
1 files changed, 13 insertions, 21 deletions
diff --git a/sw/inc/index.hxx b/sw/inc/index.hxx
index 568da1ae56ab..9fa4e6307770 100644
--- a/sw/inc/index.hxx
+++ b/sw/inc/index.hxx
@@ -26,12 +26,6 @@
class SwIndexReg;
struct SwPosition;
-#ifdef DBG_UTIL
-#define INLINE
-#else
-#define INLINE inline
-#endif
-
/// Marks a character position inside a document model node.
class SW_DLLPUBLIC SwIndex
{
@@ -54,23 +48,23 @@ public:
SwIndex( const SwIndex &, short nDiff );
~SwIndex() { Remove(); }
- INLINE SwIndex& operator=( sal_Int32 const );
+ SwIndex& operator=( sal_Int32 const );
SwIndex& operator=( const SwIndex & );
- INLINE sal_Int32 operator++();
- INLINE sal_Int32 operator--();
- INLINE sal_Int32 operator++(int);
- INLINE sal_Int32 operator--(int);
+ sal_Int32 operator++();
+ sal_Int32 operator--();
+ sal_Int32 operator++(int);
+ sal_Int32 operator--(int);
- INLINE sal_Int32 operator+=( sal_Int32 const );
- INLINE sal_Int32 operator-=( sal_Int32 const );
- INLINE sal_Int32 operator+=( const SwIndex& );
- INLINE sal_Int32 operator-=( const SwIndex& );
+ sal_Int32 operator+=( sal_Int32 const );
+ sal_Int32 operator-=( sal_Int32 const );
+ sal_Int32 operator+=( const SwIndex& );
+ sal_Int32 operator-=( const SwIndex& );
- INLINE bool operator< ( const SwIndex& ) const;
- INLINE bool operator<=( const SwIndex& ) const;
- INLINE bool operator> ( const SwIndex& ) const;
- INLINE bool operator>=( const SwIndex& ) const;
+ bool operator< ( const SwIndex& ) const;
+ bool operator<=( const SwIndex& ) const;
+ bool operator> ( const SwIndex& ) const;
+ bool operator>=( const SwIndex& ) const;
bool operator< ( sal_Int32 const nVal ) const { return m_nIndex < nVal; }
bool operator<=( sal_Int32 const nVal ) const { return m_nIndex <= nVal; }
@@ -100,8 +94,6 @@ public:
const SwIndexReg* GetIdxReg() const { return m_pIndexReg; }
};
-#undef INLINE
-
class SwIndexReg
{
friend class SwIndex;