diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-07-16 16:57:52 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-07-16 16:57:52 +0000 |
commit | 46522c52e54e4284c93e1dfb4d2ac1d073fc8f2c (patch) | |
tree | ba15a651c6dc97356bd2522ebb1c8805d73ceadc /svx | |
parent | c571bb981c230b79f4f56f56b6c145dac611c509 (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')
-rw-r--r-- | svx/source/fmcomp/fmgridif.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index a2856f305a8b..2984bf98e172 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; |