diff options
Diffstat (limited to 'svx/source/xoutdev/xtabhtch.cxx')
-rw-r--r-- | svx/source/xoutdev/xtabhtch.cxx | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/svx/source/xoutdev/xtabhtch.cxx b/svx/source/xoutdev/xtabhtch.cxx index ef5beece8dc8..b62909fda71a 100644 --- a/svx/source/xoutdev/xtabhtch.cxx +++ b/svx/source/xoutdev/xtabhtch.cxx @@ -82,7 +82,7 @@ char const aChckXML[] = { '<', '?', 'x', 'm', 'l' }; // = 6.0 XHatchTable::XHatchTable( const String& rPath, XOutdevItemPool* pInPool, - USHORT nInitSize, USHORT nReSize ) : + sal_uInt16 nInitSize, sal_uInt16 nReSize ) : XPropertyTable( rPath, pInPool, nInitSize, nReSize) { pBmpTable = new Table( nInitSize, nReSize ); @@ -117,35 +117,35 @@ XHatchEntry* XHatchTable::GetHatch(long nIndex) const /************************************************************************/ -BOOL XHatchTable::Load() +sal_Bool XHatchTable::Load() { - return( FALSE ); + return( sal_False ); } /************************************************************************/ -BOOL XHatchTable::Save() +sal_Bool XHatchTable::Save() { - return( FALSE ); + return( sal_False ); } /************************************************************************/ -BOOL XHatchTable::Create() +sal_Bool XHatchTable::Create() { - return( FALSE ); + return( sal_False ); } /************************************************************************/ -BOOL XHatchTable::CreateBitmapsForUI() +sal_Bool XHatchTable::CreateBitmapsForUI() { - return( FALSE ); + return( sal_False ); } /************************************************************************/ -Bitmap* XHatchTable::CreateBitmapForUI( long /*nIndex*/, BOOL /*bDelete*/) +Bitmap* XHatchTable::CreateBitmapForUI( long /*nIndex*/, sal_Bool /*bDelete*/) { return( NULL ); } @@ -264,18 +264,18 @@ XHatchEntry* XHatchList::GetHatch(long nIndex) const return (XHatchEntry*) XPropertyList::Get(nIndex, 0); } -BOOL XHatchList::Load() +sal_Bool XHatchList::Load() { if( bListDirty ) { - bListDirty = FALSE; + bListDirty = sal_False; INetURLObject aURL( aPath ); if( INET_PROT_NOT_VALID == aURL.GetProtocol() ) { DBG_ASSERT( !aPath.Len(), "invalid URL" ); - return FALSE; + return sal_False; } aURL.Append( aName ); @@ -286,17 +286,17 @@ BOOL XHatchList::Load() uno::Reference< container::XNameContainer > xTable( SvxUnoXHatchTable_createInstance( this ), uno::UNO_QUERY ); return SvxXMLXTableImport::load( aURL.GetMainURL( INetURLObject::NO_DECODE ), xTable ); } - return( FALSE ); + return( sal_False ); } -BOOL XHatchList::Save() +sal_Bool XHatchList::Save() { INetURLObject aURL( aPath ); if( INET_PROT_NOT_VALID == aURL.GetProtocol() ) { DBG_ASSERT( !aPath.Len(), "invalid URL" ); - return FALSE; + return sal_False; } aURL.Append( aName ); @@ -308,7 +308,7 @@ BOOL XHatchList::Save() return SvxXMLXTableExportComponent::save( aURL.GetMainURL( INetURLObject::NO_DECODE ), xTable ); } -BOOL XHatchList::Create() +sal_Bool XHatchList::Create() { XubString aStr( SVX_RES( RID_SVXSTR_HATCH ) ); xub_StrLen nLen; @@ -321,16 +321,16 @@ BOOL XHatchList::Create() aStr.SetChar(nLen, sal_Unicode('3')); Insert(new XHatchEntry(XHatch(RGB_Color(COL_BLUE ),XHATCH_TRIPLE,120, 0),aStr)); - return( TRUE ); + return( sal_True ); } -BOOL XHatchList::CreateBitmapsForUI() +sal_Bool XHatchList::CreateBitmapsForUI() { impCreate(); for( long i = 0; i < Count(); i++) { - Bitmap* pBmp = CreateBitmapForUI( i, FALSE ); + Bitmap* pBmp = CreateBitmapForUI( i, sal_False ); DBG_ASSERT( pBmp, "XHatchList: Bitmap(UI) konnte nicht erzeugt werden!" ); if( pBmp ) @@ -339,10 +339,10 @@ BOOL XHatchList::CreateBitmapsForUI() impDestroy(); - return( TRUE ); + return( sal_True ); } -Bitmap* XHatchList::CreateBitmapForUI( long nIndex, BOOL bDelete ) +Bitmap* XHatchList::CreateBitmapForUI( long nIndex, sal_Bool bDelete ) { impCreate(); VirtualDevice* pVD = mpData->getVirtualDevice(); |