summaryrefslogtreecommitdiff
path: root/svtools/source/contnr/svtreebx.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-11-10 15:06:12 +0000
committerRüdiger Timm <rt@openoffice.org>2008-11-10 15:06:12 +0000
commit7f5f6b548d071d412efb78e9fee21d68ad6700bc (patch)
tree49c7255c440b542ccffd5af0f72387afa34eaa43 /svtools/source/contnr/svtreebx.cxx
parentf00cc0b3ee98e5213707c04fe4e84bc8e4fa9932 (diff)
CWS-TOOLING: integrate CWS cmcfixes50
2008-11-10 13:31:50 +0100 cmc r263517 : gio doesn't do anything useful for remote stuff wrt info 2008-11-06 00:11:47 +0100 cmc r263359 : #i93436# pile of other 64bit new gcc warnings 2008-11-05 00:39:03 +0100 cmc r263340 : i95856 let a ppc64 vanilla build succeed 2008-11-04 14:00:25 +0100 cmc r263320 : #i93436# useless const 2008-11-04 11:53:10 +0100 cmc r263314 : #i93436# ambiguous 2008-11-04 11:48:05 +0100 cmc r263313 : #i93436# add some braces 2008-11-04 11:29:24 +0100 cmc r263312 : #i93436# ambiguous 2008-11-04 10:53:46 +0100 cmc r263311 :
Diffstat (limited to 'svtools/source/contnr/svtreebx.cxx')
-rw-r--r--svtools/source/contnr/svtreebx.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/svtools/source/contnr/svtreebx.cxx b/svtools/source/contnr/svtreebx.cxx
index d281c5fbb026..200dd30eda1a 100644
--- a/svtools/source/contnr/svtreebx.cxx
+++ b/svtools/source/contnr/svtreebx.cxx
@@ -344,16 +344,16 @@ void SvTreeListBox::InitEntry( SvLBoxEntry* pEntry,
String SvTreeListBox::GetEntryText(SvLBoxEntry* pEntry) const
{
DBG_CHKTHIS(SvTreeListBox,0);
- DBG_ASSERT( pEntry, "SvTreeListBox::GetEntryText(): no entry" )
+ DBG_ASSERT( pEntry, "SvTreeListBox::GetEntryText(): no entry" );
SvLBoxString* pItem = (SvLBoxString*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXSTRING));
- DBG_ASSERT( pEntry, "SvTreeListBox::GetEntryText(): item not found" )
+ DBG_ASSERT( pEntry, "SvTreeListBox::GetEntryText(): item not found" );
return pItem->GetText();
}
String SvTreeListBox::SearchEntryText( SvLBoxEntry* pEntry ) const
{
DBG_CHKTHIS(SvTreeListBox,0);
- DBG_ASSERT( pEntry, "SvTreeListBox::SearchEntryText(): no entry" )
+ DBG_ASSERT( pEntry, "SvTreeListBox::SearchEntryText(): no entry" );
String sRet;
USHORT nCount = pEntry->ItemCount();
USHORT nCur = 0;
@@ -375,18 +375,18 @@ String SvTreeListBox::SearchEntryText( SvLBoxEntry* pEntry ) const
const Image& SvTreeListBox::GetExpandedEntryBmp(SvLBoxEntry* pEntry, BmpColorMode _eMode) const
{
DBG_CHKTHIS(SvTreeListBox,0);
- DBG_ASSERT(pEntry,"Entry?")
+ DBG_ASSERT(pEntry,"Entry?");
SvLBoxContextBmp* pItem = (SvLBoxContextBmp*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXCONTEXTBMP));
- DBG_ASSERT(pItem,"GetContextBmp:Item not found")
+ DBG_ASSERT(pItem,"GetContextBmp:Item not found");
return pItem->GetBitmap2( _eMode );
}
const Image& SvTreeListBox::GetCollapsedEntryBmp( SvLBoxEntry* pEntry, BmpColorMode _eMode ) const
{
DBG_CHKTHIS(SvTreeListBox,0);
- DBG_ASSERT(pEntry,"Entry?")
+ DBG_ASSERT(pEntry,"Entry?");
SvLBoxContextBmp* pItem = (SvLBoxContextBmp*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXCONTEXTBMP));
- DBG_ASSERT(pItem,"GetContextBmp:Item not found")
+ DBG_ASSERT(pItem,"GetContextBmp:Item not found");
return pItem->GetBitmap1( _eMode );
}
@@ -494,7 +494,7 @@ void SvTreeListBox::SetEntryText( SvLBoxEntry* pEntry, const XubString& aStr)
{
DBG_CHKTHIS(SvTreeListBox,0);
SvLBoxString* pItem = (SvLBoxString*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXSTRING));
- DBG_ASSERT(pItem,"SetText:Item not found")
+ DBG_ASSERT(pItem,"SetText:Item not found");
pItem->SetText( pEntry, aStr );
pItem->InitViewData( this, pEntry, 0 );
GetModel()->InvalidateEntry( pEntry );
@@ -1065,7 +1065,7 @@ BOOL SvTreeListBox::Collapse( SvLBoxEntry* pParent )
BOOL SvTreeListBox::Select( SvLBoxEntry* pEntry, BOOL bSelect )
{
DBG_CHKTHIS(SvTreeListBox,0);
- DBG_ASSERT(pEntry,"Select: Null-Ptr")
+ DBG_ASSERT(pEntry,"Select: Null-Ptr");
BOOL bRetVal = SvListView::Select( pEntry, bSelect );
DBG_ASSERT(IsSelected(pEntry)==bSelect,"Select failed");
if( bRetVal )
@@ -1526,7 +1526,7 @@ void SvTreeListBox::SetWindowBits( WinBits nWinStyle )
void SvTreeListBox::PaintEntry( SvLBoxEntry* pEntry )
{
DBG_CHKTHIS(SvTreeListBox,0);
- DBG_ASSERT(pEntry,"PaintEntry:No Entry")
+ DBG_ASSERT(pEntry,"PaintEntry:No Entry");
if( pEntry )
pImp->PaintEntry( pEntry );
}
@@ -1534,7 +1534,7 @@ void SvTreeListBox::PaintEntry( SvLBoxEntry* pEntry )
void SvTreeListBox::InvalidateEntry( SvLBoxEntry* pEntry )
{
DBG_CHKTHIS(SvTreeListBox,0);
- DBG_ASSERT(pEntry,"InvalidateEntry:No Entry")
+ DBG_ASSERT(pEntry,"InvalidateEntry:No Entry");
if( pEntry )
{
GetModel()->InvalidateEntry( pEntry );
@@ -1959,7 +1959,7 @@ Rectangle SvTreeListBox::GetFocusRect( SvLBoxEntry* pEntry, long nLine )
long SvTreeListBox::GetTabPos( SvLBoxEntry* pEntry, SvLBoxTab* pTab)
{
DBG_CHKTHIS(SvTreeListBox,0);
- DBG_ASSERT(pTab,"No Tab")
+ DBG_ASSERT(pTab,"No Tab");
long nPos = pTab->GetPos();
if( pTab->IsDynamic() )
{