diff options
Diffstat (limited to 'svx/source/xoutdev/xtabcolr.cxx')
-rw-r--r-- | svx/source/xoutdev/xtabcolr.cxx | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/svx/source/xoutdev/xtabcolr.cxx b/svx/source/xoutdev/xtabcolr.cxx index 2b3ac7ab850b..7411904b6303 100644 --- a/svx/source/xoutdev/xtabcolr.cxx +++ b/svx/source/xoutdev/xtabcolr.cxx @@ -73,7 +73,7 @@ static XColorTable* pTable=0; XColorTable::XColorTable( const String& rPath, XOutdevItemPool* pInPool, - USHORT nInitSize, USHORT nReSize ) : + sal_uInt16 nInitSize, sal_uInt16 nReSize ) : XPropertyTable( rPath, pInPool, nInitSize, nReSize) { // ColorTable braucht keine eigene BmpTable @@ -116,18 +116,18 @@ XColorEntry* XColorTable::GetColor(long nIndex) const /************************************************************************/ -BOOL XColorTable::Load() +sal_Bool XColorTable::Load() { if( bTableDirty ) { - bTableDirty = FALSE; + bTableDirty = 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 ); @@ -138,19 +138,19 @@ BOOL XColorTable::Load() uno::Reference< container::XNameContainer > xTable( SvxUnoXColorTable_createInstance( this ), uno::UNO_QUERY ); return SvxXMLXTableImport::load( aURL.GetMainURL( INetURLObject::NO_DECODE ), xTable ); } - return( FALSE ); + return( sal_False ); } /************************************************************************/ -BOOL XColorTable::Save() +sal_Bool XColorTable::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 ); @@ -164,13 +164,13 @@ BOOL XColorTable::Save() /************************************************************************/ -BOOL XColorTable::Create() +sal_Bool XColorTable::Create() { XubString aStr; xub_StrLen nLen; ResMgr& rRes = DIALOG_MGR(); - static USHORT __READONLY_DATA aResId[] = + static sal_uInt16 __READONLY_DATA aResId[] = { RID_SVXSTR_BLACK, RID_SVXSTR_BLUE, @@ -219,7 +219,7 @@ BOOL XColorTable::Create() COL_WHITE }; - for( USHORT n = 0; n < 16; ++n ) + for( sal_uInt16 n = 0; n < 16; ++n ) { Insert( n, new XColorEntry( Color( aColTab[n] ), String( ResId( aResId[ n ], rRes )) ) ); @@ -453,14 +453,14 @@ BOOL XColorTable::Create() /************************************************************************/ -BOOL XColorTable::CreateBitmapsForUI() +sal_Bool XColorTable::CreateBitmapsForUI() { - return( FALSE ); + return( sal_False ); } /************************************************************************/ -Bitmap* XColorTable::CreateBitmapForUI( long /*nIndex*/, BOOL /*bDelete*/) +Bitmap* XColorTable::CreateBitmapForUI( long /*nIndex*/, sal_Bool /*bDelete*/) { return( NULL ); } @@ -477,7 +477,7 @@ Bitmap* XColorTable::CreateBitmapForUI( long /*nIndex*/, BOOL /*bDelete*/) XColorList::XColorList( const String& rPath, XOutdevItemPool* pInPool, - USHORT nInitSize, USHORT nReSize ) : + sal_uInt16 nInitSize, sal_uInt16 nReSize ) : XPropertyList( rPath, pInPool, nInitSize, nReSize) { // pBmpList = new List( nInitSize, nReSize ); @@ -512,35 +512,35 @@ XColorEntry* XColorList::GetColor(long nIndex) const /************************************************************************/ -BOOL XColorList::Load() +sal_Bool XColorList::Load() { - return( FALSE ); + return( sal_False ); } /************************************************************************/ -BOOL XColorList::Save() +sal_Bool XColorList::Save() { - return( FALSE ); + return( sal_False ); } /************************************************************************/ -BOOL XColorList::Create() +sal_Bool XColorList::Create() { - return( FALSE ); + return( sal_False ); } /************************************************************************/ -BOOL XColorList::CreateBitmapsForUI() +sal_Bool XColorList::CreateBitmapsForUI() { - return( FALSE ); + return( sal_False ); } /************************************************************************/ -Bitmap* XColorList::CreateBitmapForUI( long /*nIndex*/, BOOL /*bDelete*/) +Bitmap* XColorList::CreateBitmapForUI( long /*nIndex*/, sal_Bool /*bDelete*/) { return( NULL ); } |