summaryrefslogtreecommitdiff
path: root/sw/inc/node.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2002-08-23 13:22:12 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2002-08-23 13:22:12 +0000
commit43802764ff5643162b057e9aba2c52f705382110 (patch)
tree65d4f8cc277dea13707105abc42ab77941e3e03c /sw/inc/node.hxx
parent9d350a2b4f921c7904ceee1a14d86a66980f826f (diff)
#101685#,#i6886# merge OOO_STABLE_1_PORTS (1.2-1.2.28.1) -> HEAD
Diffstat (limited to 'sw/inc/node.hxx')
-rw-r--r--sw/inc/node.hxx28
1 files changed, 17 insertions, 11 deletions
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index d3680aaa2d24..59898746437f 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: node.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: jp $ $Date: 2002-02-01 12:33:23 $
+ * last change: $Author: hr $ $Date: 2002-08-23 14:22:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -113,6 +113,12 @@ class SwPageDesc;
class ViewShell;
struct SwPosition;
+#ifdef MACOSX
+#define INLINE /* GrP revisit with gcc3 */
+#else
+#define INLINE inline
+#endif
+
// --------------------
// class SwNode
// --------------------
@@ -174,21 +180,21 @@ public:
inline SwEndNode *GetEndNode();
inline const SwEndNode *GetEndNode() const;
#ifndef ICC
- inline
+ INLINE
#endif
SwTxtNode *GetTxtNode();
#ifndef ICC
- inline
+ INLINE
#endif
const SwTxtNode *GetTxtNode() const;
#ifndef COMPACT
- inline SwOLENode *GetOLENode();
- inline const SwOLENode *GetOLENode() const;
- inline SwNoTxtNode *GetNoTxtNode();
- inline const SwNoTxtNode *GetNoTxtNode() const;
- inline SwGrfNode *GetGrfNode();
- inline const SwGrfNode *GetGrfNode() const;
+ INLINE SwOLENode *GetOLENode();
+ INLINE const SwOLENode *GetOLENode() const;
+ INLINE SwNoTxtNode *GetNoTxtNode();
+ INLINE const SwNoTxtNode *GetNoTxtNode() const;
+ INLINE SwGrfNode *GetGrfNode();
+ INLINE const SwGrfNode *GetGrfNode() const;
#endif
inline SwTableNode *GetTableNode();
inline const SwTableNode *GetTableNode() const;
@@ -725,6 +731,6 @@ inline const SfxPoolItem& SwCntntNode::GetAttr( USHORT nWhich,
}
-
+#undef INLINE
#endif