Kaydet (Commit) b806b638 authored tarafından Caolán McNamara's avatar Caolán McNamara

update comments about SvPtrArr

Change-Id: I627f65581f457f0b1485bc30abcd5e4a10434d14
üst eed641ac
...@@ -54,7 +54,6 @@ class SfxFilter; ...@@ -54,7 +54,6 @@ class SfxFilter;
class SfxItemPool; class SfxItemPool;
class SfxItemSet; class SfxItemSet;
class SfxMedium; class SfxMedium;
class SvPtrarr;
class SvStream; class SvStream;
class SvxFontItem; class SvxFontItem;
class SvxMacroTableDtor; class SvxMacroTableDtor;
......
...@@ -71,7 +71,7 @@ sal_Bool SwAccessibleCell::IsSelected() ...@@ -71,7 +71,7 @@ sal_Bool SwAccessibleCell::IsSelected()
const SwCellFrm *pCFrm = const SwCellFrm *pCFrm =
static_cast< const SwCellFrm * >( GetFrm() ); static_cast< const SwCellFrm * >( GetFrm() );
SwTableBox *pBox = SwTableBox *pBox =
const_cast< SwTableBox *>( pCFrm->GetTabBox() ); //SVPtrArr! const_cast< SwTableBox *>( pCFrm->GetTabBox() );
bRet = pCSh->GetTableCrsr()->GetBoxes().find( pBox ) != pCSh->GetTableCrsr()->GetBoxes().end(); bRet = pCSh->GetTableCrsr()->GetBoxes().find( pBox ) != pCSh->GetTableCrsr()->GetBoxes().end();
} }
} }
......
...@@ -294,7 +294,7 @@ void SwAccessibleTableData_Impl::GetSelection( ...@@ -294,7 +294,7 @@ void SwAccessibleTableData_Impl::GetSelection(
const SwCellFrm *pCFrm = const SwCellFrm *pCFrm =
static_cast < const SwCellFrm * >( pLower ); static_cast < const SwCellFrm * >( pLower );
SwTableBox *pBox = SwTableBox *pBox =
const_cast< SwTableBox *>( pCFrm->GetTabBox() ); //SVPtrArr! const_cast< SwTableBox *>( pCFrm->GetTabBox() );
if( rSelBoxes.find( pBox ) == rSelBoxes.end() ) if( rSelBoxes.find( pBox ) == rSelBoxes.end() )
{ {
const Int32Set_Impl rRowsOrCols = const Int32Set_Impl rRowsOrCols =
...@@ -1198,7 +1198,7 @@ sal_Bool SAL_CALL SwAccessibleTable::isAccessibleSelected( ...@@ -1198,7 +1198,7 @@ sal_Bool SAL_CALL SwAccessibleTable::isAccessibleSelected(
{ {
const SwCellFrm *pCFrm = static_cast < const SwCellFrm * >( pFrm ); const SwCellFrm *pCFrm = static_cast < const SwCellFrm * >( pFrm );
SwTableBox *pBox = SwTableBox *pBox =
const_cast< SwTableBox *>( pCFrm->GetTabBox() ); //SVPtrArr! const_cast< SwTableBox *>( pCFrm->GetTabBox() );
bRet = pSelBoxes->find( pBox ) != pSelBoxes->end(); bRet = pSelBoxes->find( pBox ) != pSelBoxes->end();
} }
} }
......
...@@ -199,7 +199,7 @@ sal_Bool UCB_IsDirectory( const String& rURL ) ...@@ -199,7 +199,7 @@ sal_Bool UCB_IsDirectory( const String& rURL )
// get a list of files from the folder of the URL // get a list of files from the folder of the URL
// options: pExtension = 0 -> all, else this specific extension // options: pExtension = 0 -> all, else this specific extension
// pDateTime != 0 -> returns also the modified date/time of // pDateTime != 0 -> returns also the modified date/time of
// the files in a SvPtrarr --> // the files in a std::vector<String*> -->
// !! objects must be deleted from the caller!! // !! objects must be deleted from the caller!!
bool UCB_GetFileListOfFolder( const String& rURL, bool UCB_GetFileListOfFolder( const String& rURL,
std::vector<String*>& rList, std::vector<String*>& rList,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment