summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp/fmgridif.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2003-07-16 16:57:52 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2003-07-16 16:57:52 +0000
commit5e8ce58f2ba57a96274a0803795f63047e004703 (patch)
tree1695a1f2cc3c65d58192d8a32aee63ee54bb76aa /svx/source/fmcomp/fmgridif.cxx
parent55d4b159ecf6f7f4b5765ad50a17f66b3dac82cb (diff)
INTEGRATION: CWS ooo11rc2 (1.37.2); FILE MERGED
2003/07/15 13:38:16 mh 1.37.2.2: chg: logic for MACOSX 295, #i10000# 2003/07/15 03:16:22 fa 1.37.2.1: Conditionalize OS X + gcc 2.95 hacks for gcc 2.95 only. http://www.openoffice.org/issues/show_bug.cgi?id=16851 Contributor: Kevin Hendricks Dan fa@ooo
Diffstat (limited to 'svx/source/fmcomp/fmgridif.cxx')
-rw-r--r--svx/source/fmcomp/fmgridif.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx
index 4d325dae68..019bc6102c 100644
--- a/svx/source/fmcomp/fmgridif.cxx
+++ b/svx/source/fmcomp/fmgridif.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fmgridif.cxx,v $
*
- * $Revision: 1.37 $
+ * $Revision: 1.38 $
*
- * last change: $Author: vg $ $Date: 2003-07-02 14:50:51 $
+ * last change: $Author: hr $ $Date: 2003-07-16 17:57:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -179,7 +179,7 @@
// keep it that way!
using namespace ::svxform;
-#ifndef MACOSX
+#if ! (defined(MACOSX) && ( __GNUC__ < 3 ) )
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::sdbc;
#endif
@@ -187,13 +187,13 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::view;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::lang;
-#ifndef MACOSX
+#if ! (defined(MACOSX) && ( __GNUC__ < 3 ) )
using namespace ::com::sun::star::form;
using namespace ::com::sun::star;
#endif
using namespace ::com::sun::star::util;
-#ifdef MACOSX
+#if (defined(MACOSX) && ( __GNUC__ < 3 ) )
#define XContainerListener ::com::sun::star::container::XContainerListener
#define ContainerEvent ::com::sun::star::container::ContainerEvent
#define XIndexContainer ::com::sun::star::container::XIndexContainer
@@ -354,11 +354,11 @@ sal_Bool FmXUpdateMultiplexer::approveUpdate(const EventObject &e) throw( Runtim
aMulti.Source = &m_rParent;
sal_Bool bResult = sal_True;
- if (getLength()) \
- { \
- ::cppu::OInterfaceIteratorHelper aIter(*this); \
- while (bResult && aIter.hasMoreElements()) \
- bResult = reinterpret_cast< XUpdateListener*>(aIter.next())->approveUpdate(aMulti); \
+ if (getLength())
+ {
+ ::cppu::OInterfaceIteratorHelper aIter(*this);
+ while (bResult && aIter.hasMoreElements())
+ bResult = reinterpret_cast< XUpdateListener*>(aIter.next())->approveUpdate(aMulti);
}
return bResult;