diff options
Diffstat (limited to 'sw/source/core/unocore/unodraw.cxx')
-rw-r--r-- | sw/source/core/unocore/unodraw.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index ab5d68910769..1248245d2c55 100644 --- a/sw/source/core/unocore/unodraw.cxx +++ b/sw/source/core/unocore/unodraw.cxx @@ -131,7 +131,7 @@ public: pLRSpace(0), bOpaque(sal_False), // OD 2004-04-21 #i26791# - mpFollowTextFlow( new SwFmtFollowTextFlow( FALSE ) ), + mpFollowTextFlow( new SwFmtFollowTextFlow( sal_False ) ), // OD 2004-05-05 #i28701# // --> OD 2004-10-18 #i35017# - constant name has changed pWrapInfluenceOnObjPos( new SwFmtWrapInfluenceOnObjPos( @@ -224,7 +224,7 @@ public: SwFmtFollowTextFlow* GetFollowTextFlow( sal_Bool _bCreate = sal_False ) { if ( _bCreate && !mpFollowTextFlow ) - mpFollowTextFlow = new SwFmtFollowTextFlow( FALSE ); + mpFollowTextFlow = new SwFmtFollowTextFlow( sal_False ); return mpFollowTextFlow; } void RemoveFollowTextFlow() @@ -445,12 +445,12 @@ namespace SwXShapesEnumeration(SwXDrawPage* const pDrawPage); //XEnumeration - virtual BOOL SAL_CALL hasMoreElements(void) throw(uno::RuntimeException); + virtual sal_Bool SAL_CALL hasMoreElements(void) throw(uno::RuntimeException); virtual uno::Any SAL_CALL nextElement(void) throw(container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException); //XServiceInfo virtual OUString SAL_CALL getImplementationName(void) throw(uno::RuntimeException); - virtual BOOL SAL_CALL supportsService(const OUString& ServiceName) throw(uno::RuntimeException); + virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(uno::RuntimeException); virtual uno::Sequence<OUString> SAL_CALL getSupportedServiceNames(void) throw(uno::RuntimeException); }; } @@ -468,7 +468,7 @@ SwXShapesEnumeration::SwXShapesEnumeration(SwXDrawPage* const pDrawPage) } } -BOOL SwXShapesEnumeration::hasMoreElements(void) throw(uno::RuntimeException) +sal_Bool SwXShapesEnumeration::hasMoreElements(void) throw(uno::RuntimeException) { vos::OGuard aGuard(Application::GetSolarMutex()); return !m_aShapes.empty(); @@ -489,7 +489,7 @@ OUString SwXShapesEnumeration::getImplementationName(void) throw(uno::RuntimeExc return C2U("SwXShapeEnumeration"); } -BOOL SwXShapesEnumeration::supportsService(const OUString& ServiceName) throw(uno::RuntimeException) +sal_Bool SwXShapesEnumeration::supportsService(const OUString& ServiceName) throw(uno::RuntimeException) { return C2U("com.sun.star.container.XEnumeration") == ServiceName; } @@ -517,7 +517,7 @@ rtl::OUString SwXDrawPage::getImplementationName(void) throw( uno::RuntimeExcept /* -----------------------------06.04.00 13:14-------------------------------- ---------------------------------------------------------------------------*/ -BOOL SwXDrawPage::supportsService(const rtl::OUString& rServiceName) throw( uno::RuntimeException ) +sal_Bool SwXDrawPage::supportsService(const rtl::OUString& rServiceName) throw( uno::RuntimeException ) { return C2U("com.sun.star.drawing.GenericDrawPage") == rServiceName; } @@ -1888,7 +1888,7 @@ uno::Sequence< beans::PropertyState > SwXShape::getPropertyStates( else if(pFmt) { const SwAttrSet& rSet = pFmt->GetAttrSet(); - SfxItemState eItemState = rSet.GetItemState(pEntry->nWID, FALSE); + SfxItemState eItemState = rSet.GetItemState(pEntry->nWID, sal_False); if(SFX_ITEM_SET == eItemState) pRet[nProperty] = beans::PropertyState_DIRECT_VALUE; |