diff options
-rw-r--r-- | include/svx/unoapi.hxx | 6 | ||||
-rw-r--r-- | include/svx/unomaster.hxx | 2 | ||||
-rw-r--r-- | include/svx/unomod.hxx | 2 | ||||
-rw-r--r-- | include/svx/unomodel.hxx | 12 | ||||
-rw-r--r-- | include/svx/unoshape.hxx | 12 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unoobj.cxx | 6 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unoobj.hxx | 2 | ||||
-rw-r--r-- | svx/source/unodraw/unomod.cxx | 6 | ||||
-rw-r--r-- | svx/source/unodraw/unoprov.cxx | 14 | ||||
-rw-r--r-- | svx/source/unodraw/unoshap4.cxx | 10 | ||||
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 36 | ||||
-rw-r--r-- | svx/source/xml/xmlexport.cxx | 12 |
12 files changed, 60 insertions, 60 deletions
diff --git a/include/svx/unoapi.hxx b/include/svx/unoapi.hxx index 1f81aa9e218c..44157213bf1b 100644 --- a/include/svx/unoapi.hxx +++ b/include/svx/unoapi.hxx @@ -61,19 +61,19 @@ SvxNumBulletItem* SvxGetNumBulletItemByName( SfxItemPool* pPool, const OUString& * Maps the vcl MapUnit enum to a API constant MeasureUnit. * Returns false if conversion is not supported. */ -SVX_DLLPUBLIC sal_Bool SvxMapUnitToMeasureUnit( const short nVcl, short& eApi ) throw(); +SVX_DLLPUBLIC bool SvxMapUnitToMeasureUnit( const short nVcl, short& eApi ) throw(); /** * Maps the API constant MeasureUnit to a vcl MapUnit enum. * Returns false if conversion is not supported. */ -SVX_DLLPUBLIC sal_Bool SvxMeasureUnitToFieldUnit( const short eApi, short& nVcl ) throw(); +SVX_DLLPUBLIC bool SvxMeasureUnitToFieldUnit( const short eApi, short& nVcl ) throw(); /** * Maps the vcl MapUnit enum to a API constant MeasureUnit. * Returns false if conversion is not supported. */ -SVX_DLLPUBLIC sal_Bool SvxFieldUnitToMeasureUnit( const short nVcl, short& eApi ) throw(); +SVX_DLLPUBLIC bool SvxFieldUnitToMeasureUnit( const short nVcl, short& eApi ) throw(); /** * If the given name is a predefined name for the current language it is replaced by diff --git a/include/svx/unomaster.hxx b/include/svx/unomaster.hxx index d0cbb0925b1d..3f2c661c80cc 100644 --- a/include/svx/unomaster.hxx +++ b/include/svx/unomaster.hxx @@ -33,7 +33,7 @@ class SvxShapeMaster { public: - virtual sal_Bool queryAggregation( const com::sun::star::uno::Type & rType, com::sun::star::uno::Any& aAny ) = 0; + virtual bool queryAggregation( const com::sun::star::uno::Type & rType, com::sun::star::uno::Any& aAny ) = 0; virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException) = 0; virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) diff --git a/include/svx/unomod.hxx b/include/svx/unomod.hxx index 048ab88c6677..671e05eca094 100644 --- a/include/svx/unomod.hxx +++ b/include/svx/unomod.hxx @@ -51,7 +51,7 @@ public: true if the SdrHint could be translated to an EventObject<br> false if not */ - static sal_Bool createEvent( const SdrModel* pDoc, const SdrHint* pSdrHint, ::com::sun::star::document::EventObject& aEvent ); + static bool createEvent( const SdrModel* pDoc, const SdrHint* pSdrHint, ::com::sun::star::document::EventObject& aEvent ); protected: ~SvxUnoDrawMSFactory() {} diff --git a/include/svx/unomodel.hxx b/include/svx/unomodel.hxx index 9149e8dc2a32..f238260a323c 100644 --- a/include/svx/unomodel.hxx +++ b/include/svx/unomodel.hxx @@ -89,12 +89,12 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XAnyCompare > SAL_CALL createAnyCompareByName( const OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException, std::exception); }; -SVX_DLLPUBLIC extern sal_Bool SvxDrawingLayerExport( SdrModel* pModel, const com::sun::star::uno::Reference<com::sun::star::io::XOutputStream>& xOut ); -SVX_DLLPUBLIC extern sal_Bool SvxDrawingLayerExport( SdrModel* pModel, const com::sun::star::uno::Reference<com::sun::star::io::XOutputStream>& xOut, const com::sun::star::uno::Reference< com::sun::star::lang::XComponent >& xComponent ); -SVX_DLLPUBLIC extern sal_Bool SvxDrawingLayerExport( SdrModel* pModel, const com::sun::star::uno::Reference<com::sun::star::io::XOutputStream>& xOut, const com::sun::star::uno::Reference< com::sun::star::lang::XComponent >& xComponent, const char* pExportService ); -SVX_DLLPUBLIC extern sal_Bool SvxDrawingLayerImport( SdrModel* pModel, const com::sun::star::uno::Reference<com::sun::star::io::XInputStream>& xInputStream ); -SVX_DLLPUBLIC extern sal_Bool SvxDrawingLayerImport( SdrModel* pModel, const com::sun::star::uno::Reference<com::sun::star::io::XInputStream>& xInputStream, const com::sun::star::uno::Reference< com::sun::star::lang::XComponent >& xComponent ); -SVX_DLLPUBLIC extern sal_Bool SvxDrawingLayerImport( SdrModel* pModel, const com::sun::star::uno::Reference<com::sun::star::io::XInputStream>& xInputStream, const com::sun::star::uno::Reference< com::sun::star::lang::XComponent >& xComponent, const char* pImportService ); +SVX_DLLPUBLIC extern bool SvxDrawingLayerExport( SdrModel* pModel, const com::sun::star::uno::Reference<com::sun::star::io::XOutputStream>& xOut ); +SVX_DLLPUBLIC extern bool SvxDrawingLayerExport( SdrModel* pModel, const com::sun::star::uno::Reference<com::sun::star::io::XOutputStream>& xOut, const com::sun::star::uno::Reference< com::sun::star::lang::XComponent >& xComponent ); +SVX_DLLPUBLIC extern bool SvxDrawingLayerExport( SdrModel* pModel, const com::sun::star::uno::Reference<com::sun::star::io::XOutputStream>& xOut, const com::sun::star::uno::Reference< com::sun::star::lang::XComponent >& xComponent, const char* pExportService ); +SVX_DLLPUBLIC extern bool SvxDrawingLayerImport( SdrModel* pModel, const com::sun::star::uno::Reference<com::sun::star::io::XInputStream>& xInputStream ); +SVX_DLLPUBLIC extern bool SvxDrawingLayerImport( SdrModel* pModel, const com::sun::star::uno::Reference<com::sun::star::io::XInputStream>& xInputStream, const com::sun::star::uno::Reference< com::sun::star::lang::XComponent >& xComponent ); +SVX_DLLPUBLIC extern bool SvxDrawingLayerImport( SdrModel* pModel, const com::sun::star::uno::Reference<com::sun::star::io::XInputStream>& xInputStream, const com::sun::star::uno::Reference< com::sun::star::lang::XComponent >& xComponent, const char* pImportService ); #endif diff --git a/include/svx/unoshape.hxx b/include/svx/unoshape.hxx index b1fc30c79524..1f2056c3d9a9 100644 --- a/include/svx/unoshape.hxx +++ b/include/svx/unoshape.hxx @@ -141,7 +141,7 @@ protected: ::com::sun::star::uno::Any GetAnyForItem( SfxItemSet& aSet, const SfxItemPropertySimpleEntry* pMap ) const; - sal_Bool SAL_CALL SetFillAttribute( sal_Int32 nWID, const OUString& rName ); + bool SAL_CALL SetFillAttribute( sal_Int32 nWID, const OUString& rName ); /** called from the XActionLockable interface methods on initial locking */ virtual void lock(); @@ -186,7 +186,7 @@ public: const SvxItemPropertySet& GetPropertySet() { return *mpPropSet; } SdrObject* GetSdrObject() const {return mpObj.get();} void SetShapeType( const OUString& ShapeType ) { maShapeType = ShapeType; } - ::com::sun::star::uno::Any GetBitmap( sal_Bool bMetaFile = sal_False ) const throw (); + ::com::sun::star::uno::Any GetBitmap( bool bMetaFile = false ) const throw (); ::svx::PropertyChangeNotifier& getShapePropertyChangeNotifier(); @@ -194,8 +194,8 @@ public: sal_uInt32 getShapeKind() const; // styles need this - static sal_Bool SAL_CALL SetFillAttribute( sal_Int32 nWID, const OUString& rName, SfxItemSet& rSet, SdrModel* pModel ); - static sal_Bool SAL_CALL SetFillAttribute( sal_Int32 nWID, const OUString& rName, SfxItemSet& rSet ); + static bool SAL_CALL SetFillAttribute( sal_Int32 nWID, const OUString& rName, SfxItemSet& rSet, SdrModel* pModel ); + static bool SAL_CALL SetFillAttribute( sal_Int32 nWID, const OUString& rName, SfxItemSet& rSet ); /** same as SetFillAttribute but for property names instead of which ids, and the property found is returned instead of set at the object @@ -575,9 +575,9 @@ public: SvxOle2Shape( SdrObject* pObject, const SfxItemPropertyMapEntry* pPropertyMap, const SvxItemPropertySet* pPropertySet ) throw (); virtual ~SvxOle2Shape() throw(); - sal_Bool createObject( const SvGlobalName &aClassName ); + bool createObject( const SvGlobalName &aClassName ); - sal_Bool createLink( const OUString& aLinkURL ); + bool createLink( const OUString& aLinkURL ); // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception); diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx index 119fe9e0aadb..4497db1e57e5 100644 --- a/sd/source/ui/unoidl/unoobj.cxx +++ b/sd/source/ui/unoidl/unoobj.cxx @@ -341,18 +341,18 @@ void SAL_CALL SdXShape::release() throw() mpShape->release(); } -sal_Bool SdXShape::queryAggregation( const com::sun::star::uno::Type & rType, com::sun::star::uno::Any& aAny ) +bool SdXShape::queryAggregation( const com::sun::star::uno::Type & rType, com::sun::star::uno::Any& aAny ) { if( mpModel && mpModel ->IsImpressDocument() ) { if( rType == ::getCppuType(( const uno::Reference< document::XEventsSupplier >*)0) ) { aAny <<= uno::Reference< document::XEventsSupplier >(this); - return sal_True; + return true; } } - return sal_False; + return false; } uno::Sequence< uno::Type > SAL_CALL SdXShape::getTypes() diff --git a/sd/source/ui/unoidl/unoobj.hxx b/sd/source/ui/unoidl/unoobj.hxx index 015c98f07fde..0cafd8cfb1f0 100644 --- a/sd/source/ui/unoidl/unoobj.hxx +++ b/sd/source/ui/unoidl/unoobj.hxx @@ -73,7 +73,7 @@ public: SdXShape(SvxShape* pShape, SdXImpressDocument* pModel) throw(); virtual ~SdXShape() throw(); - virtual sal_Bool queryAggregation( const com::sun::star::uno::Type & rType, com::sun::star::uno::Any& aAny ); + virtual bool queryAggregation( const com::sun::star::uno::Type & rType, com::sun::star::uno::Any& aAny ); virtual void dispose(); virtual void modelChanged( SdrModel* pNewModel ); virtual void pageChanged( SdrPage* pNewPage ); diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx index 1f18880693fa..9b5a3d6f45e9 100644 --- a/svx/source/unodraw/unomod.cxx +++ b/svx/source/unodraw/unomod.cxx @@ -114,7 +114,7 @@ static const SvEventDescription* ImplGetSupportedMacroItems() true if the SdrHint could be translated to an EventObject<br> false if not */ -sal_Bool SvxUnoDrawMSFactory::createEvent( const SdrModel* pDoc, const SdrHint* pSdrHint, ::com::sun::star::document::EventObject& aEvent ) +bool SvxUnoDrawMSFactory::createEvent( const SdrModel* pDoc, const SdrHint* pSdrHint, ::com::sun::star::document::EventObject& aEvent ) { const SdrObject* pObj = NULL; const SdrPage* pPage = NULL; @@ -152,7 +152,7 @@ sal_Bool SvxUnoDrawMSFactory::createEvent( const SdrModel* pDoc, const SdrHint* // HINT_SWITCHTOPAGE, // #94278# UNDO/REDO at an object evtl. on another page // HINT_OBJLISTCLEAR // Is called before an SdrObjList will be cleared default: - return sal_False; + return false; } if( pObj ) @@ -162,7 +162,7 @@ sal_Bool SvxUnoDrawMSFactory::createEvent( const SdrModel* pDoc, const SdrHint* else aEvent.Source = (const_cast<SdrModel*>(pDoc))->getUnoModel(); - return sal_True; + return true; } namespace { diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx index da19e34fb04e..f7a385519d55 100644 --- a/svx/source/unodraw/unoprov.cxx +++ b/svx/source/unodraw/unoprov.cxx @@ -1002,7 +1002,7 @@ sal_Bool SvxMeasureUnitToMapUnit( const short eApi, int& eVcl ) throw() /** maps the vcl MapUnit enum to a API constant MeasureUnit. Returns false if conversion is not supported. */ -sal_Bool SvxMapUnitToMeasureUnit( const short eVcl, short& eApi ) throw() +bool SvxMapUnitToMeasureUnit( const short eVcl, short& eApi ) throw() { switch( eVcl ) { @@ -1028,7 +1028,7 @@ sal_Bool SvxMapUnitToMeasureUnit( const short eVcl, short& eApi ) throw() Returns false if conversion is not supported. */ -sal_Bool SvxMeasureUnitToFieldUnit( const short eApi, short& eVcl ) throw() +bool SvxMeasureUnitToFieldUnit( const short eApi, short& eVcl ) throw() { switch( eApi ) { @@ -1045,16 +1045,16 @@ sal_Bool SvxMeasureUnitToFieldUnit( const short eApi, short& eVcl ) throw() case util::MeasureUnit::PERCENT: eVcl = FUNIT_PERCENT; break; case util::MeasureUnit::MM_100TH: eVcl = FUNIT_100TH_MM; break; default: - return sal_False; + return false; } - return sal_True; + return true; } /** maps the vcl MapUnit enum to a API constant MeasureUnit. Returns false if conversion is not supported. */ -sal_Bool SvxFieldUnitToMeasureUnit( const short eVcl, short& eApi ) throw() +bool SvxFieldUnitToMeasureUnit( const short eVcl, short& eApi ) throw() { switch( eVcl ) { @@ -1071,10 +1071,10 @@ sal_Bool SvxFieldUnitToMeasureUnit( const short eVcl, short& eApi ) throw() case FUNIT_PERCENT: eApi = util::MeasureUnit::PERCENT; break; case FUNIT_100TH_MM: eApi = util::MeasureUnit::MM_100TH; break; default: - return sal_False; + return false; } - return sal_True; + return true; } bool SvxUnoGetResourceRanges( const short nWhich, int& nApiResIds, int& nIntResIds, int& nCount ) throw() diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx index 9f1339a705f4..e422239cbcf4 100644 --- a/svx/source/unodraw/unoshap4.cxx +++ b/svx/source/unodraw/unoshap4.cxx @@ -256,7 +256,7 @@ bool SvxOle2Shape::getPropertyValueImpl( const OUString& rName, const SfxItemPro } else { - rValue = GetBitmap( sal_True ); + rValue = GetBitmap( true ); } break; } @@ -395,13 +395,13 @@ bool SvxOle2Shape::getPropertyValueImpl( const OUString& rName, const SfxItemPro return true; } -sal_Bool SvxOle2Shape::createObject( const SvGlobalName &aClassName ) +bool SvxOle2Shape::createObject( const SvGlobalName &aClassName ) { DBG_TESTSOLARMUTEX(); SdrOle2Obj* pOle2Obj = dynamic_cast< SdrOle2Obj* >( mpObj.get() ); if ( !pOle2Obj || !pOle2Obj->IsEmpty() ) - return sal_False; + return false; // create storage and inplace object ::comphelper::IEmbeddedHelper* pPersist = mpModel->GetPersist(); @@ -448,13 +448,13 @@ sal_Bool SvxOle2Shape::createObject( const SvGlobalName &aClassName ) return xObj.is(); } -sal_Bool SvxOle2Shape::createLink( const OUString& aLinkURL ) +bool SvxOle2Shape::createLink( const OUString& aLinkURL ) { DBG_TESTSOLARMUTEX(); SdrOle2Obj* pOle2Obj = dynamic_cast< SdrOle2Obj* >( mpObj.get() ); if ( !pOle2Obj || !pOle2Obj->IsEmpty() ) - return sal_False; + return false; OUString aPersistName; diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 962df11958d4..887c9670ab9f 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -674,7 +674,7 @@ void SvxShape::ObtainSettingsFromPropertySet(const SvxItemPropertySet& rPropSet) -uno::Any SvxShape::GetBitmap( sal_Bool bMetaFile /* = sal_False */ ) const throw() +uno::Any SvxShape::GetBitmap( bool bMetaFile /* = false */ ) const throw() { DBG_TESTSOLARMUTEX(); uno::Any aAny; @@ -1446,7 +1446,7 @@ void SAL_CALL SvxShape::removeVetoableChangeListener( const OUString& , const Re -sal_Bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rName ) +bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rName ) { SfxItemSet aSet( mpModel->GetItemPool(), (sal_uInt16)nWID, (sal_uInt16)nWID ); @@ -1455,17 +1455,17 @@ sal_Bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rN //mpObj->SetItemSetAndBroadcast(aSet); mpObj->SetMergedItemSetAndBroadcast(aSet); - return sal_True; + return true; } else { - return sal_False; + return false; } } -sal_Bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rName, SfxItemSet& rSet, SdrModel* pModel ) +bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rName, SfxItemSet& rSet, SdrModel* pModel ) { // check if an item with the given name and which id is inside the models // pool or the stylesheet pool, if found its puttet in the itemse @@ -1483,7 +1483,7 @@ sal_Bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rN XBitmapListRef pBitmapList = pModel->GetBitmapList(); if( !pBitmapList.is() ) - return sal_False; + return false; long nPos = pBitmapList->GetIndex(aStrName); if( nPos == -1 ) @@ -1502,7 +1502,7 @@ sal_Bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rN XGradientListRef pGradientList = pModel->GetGradientList(); if( !pGradientList.is() ) - return sal_False; + return false; long nPos = pGradientList->GetIndex(aStrName); if( nPos == -1 ) @@ -1521,7 +1521,7 @@ sal_Bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rN XHatchListRef pHatchList = pModel->GetHatchList(); if( !pHatchList.is() ) - return sal_False; + return false; long nPos = pHatchList->GetIndex(aStrName); if( nPos == -1 ) @@ -1541,7 +1541,7 @@ sal_Bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rN XLineEndListRef pLineEndList = pModel->GetLineEndList(); if( !pLineEndList.is() ) - return sal_False; + return false; long nPos = pLineEndList->GetIndex(aStrName); if( nPos == -1 ) @@ -1587,16 +1587,16 @@ sal_Bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rN break; } default: - return sal_False; + return false; } } - return sal_True; + return true; } -sal_Bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rName, SfxItemSet& rSet ) +bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rName, SfxItemSet& rSet ) { OUString aName = SvxUnogetInternalNameForItem((sal_Int16)nWID, rName); @@ -1614,18 +1614,18 @@ sal_Bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rN else rSet.Put( XLineStartItem( aEmpty, aEmptyPoly ) ); - return sal_True; + return true; } case XATTR_FILLFLOATTRANSPARENCE: { // #85953# Set a disabled XFillFloatTransparenceItem rSet.Put(XFillFloatTransparenceItem()); - return sal_True; + return true; } } - return sal_False; + return false; } const SfxItemPool* pPool = rSet.GetPool(); @@ -1640,11 +1640,11 @@ sal_Bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rN if( pItem && ( pItem->GetName() == aSearchName ) ) { rSet.Put( *pItem ); - return sal_True; + return true; } } - return sal_False; + return false; } @@ -2966,7 +2966,7 @@ bool SvxShape::getPropertyValueImpl( const OUString&, const SfxItemPropertySimpl } else { - rValue = GetBitmap( sal_True ); + rValue = GetBitmap( true ); } break; } diff --git a/svx/source/xml/xmlexport.cxx b/svx/source/xml/xmlexport.cxx index 079d88aff1a5..1fb02714c845 100644 --- a/svx/source/xml/xmlexport.cxx +++ b/svx/source/xml/xmlexport.cxx @@ -43,12 +43,12 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::uno; -sal_Bool SvxDrawingLayerExport( SdrModel* pModel, const uno::Reference<io::XOutputStream>& xOut, const Reference< lang::XComponent >& xComponent ) +bool SvxDrawingLayerExport( SdrModel* pModel, const uno::Reference<io::XOutputStream>& xOut, const Reference< lang::XComponent >& xComponent ) { return SvxDrawingLayerExport( pModel, xOut, xComponent, "com.sun.star.comp.DrawingLayer.XMLExporter" ); } -sal_Bool SvxDrawingLayerExport( SdrModel* pModel, const uno::Reference<io::XOutputStream>& xOut, const Reference< lang::XComponent >& xComponent, const char* pExportService ) +bool SvxDrawingLayerExport( SdrModel* pModel, const uno::Reference<io::XOutputStream>& xOut, const Reference< lang::XComponent >& xComponent, const char* pExportService ) { sal_Bool bDocRet = xOut.is(); @@ -135,7 +135,7 @@ sal_Bool SvxDrawingLayerExport( SdrModel* pModel, const uno::Reference<io::XOutp return bDocRet; } -sal_Bool SvxDrawingLayerExport( SdrModel* pModel, const uno::Reference<io::XOutputStream>& xOut ) +bool SvxDrawingLayerExport( SdrModel* pModel, const uno::Reference<io::XOutputStream>& xOut ) { Reference< lang::XComponent > xComponent; return SvxDrawingLayerExport( pModel, xOut, xComponent ); @@ -143,12 +143,12 @@ sal_Bool SvxDrawingLayerExport( SdrModel* pModel, const uno::Reference<io::XOutp //- -sal_Bool SvxDrawingLayerImport( SdrModel* pModel, const uno::Reference<io::XInputStream>& xInputStream, const Reference< lang::XComponent >& xComponent ) +bool SvxDrawingLayerImport( SdrModel* pModel, const uno::Reference<io::XInputStream>& xInputStream, const Reference< lang::XComponent >& xComponent ) { return SvxDrawingLayerImport( pModel, xInputStream, xComponent, "com.sun.star.comp.Draw.XMLOasisImporter" ); } -sal_Bool SvxDrawingLayerImport( SdrModel* pModel, const uno::Reference<io::XInputStream>& xInputStream, const Reference< lang::XComponent >& xComponent, const char* pImportService ) +bool SvxDrawingLayerImport( SdrModel* pModel, const uno::Reference<io::XInputStream>& xInputStream, const Reference< lang::XComponent >& xComponent, const char* pImportService ) { sal_uInt32 nRet = 0; @@ -248,7 +248,7 @@ sal_Bool SvxDrawingLayerImport( SdrModel* pModel, const uno::Reference<io::XInpu return nRet == 0; } -sal_Bool SvxDrawingLayerImport( SdrModel* pModel, const uno::Reference<io::XInputStream>& xInputStream ) +bool SvxDrawingLayerImport( SdrModel* pModel, const uno::Reference<io::XInputStream>& xInputStream ) { Reference< lang::XComponent > xComponent; return SvxDrawingLayerImport( pModel, xInputStream, xComponent ); |