summaryrefslogtreecommitdiff
path: root/basctl/source/basicide
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide')
-rw-r--r--basctl/source/basicide/baside2b.cxx6
-rw-r--r--basctl/source/basicide/basobj2.cxx2
-rw-r--r--basctl/source/basicide/layout.cxx2
-rw-r--r--basctl/source/basicide/macrodlg.cxx2
-rw-r--r--basctl/source/basicide/moduldl2.cxx2
5 files changed, 7 insertions, 7 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 2c98fdea94d5..658b9b9c1058 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -899,7 +899,7 @@ void EditorWindow::SetupAndShowCodeCompleteWnd( const std::vector< OUString >& a
// clear the listbox
pCodeCompleteWnd->ClearListBox();
// fill the listbox
- for(unsigned int l = 0; l < aEntryVect.size(); ++l)
+ for(size_t l = 0; l < aEntryVect.size(); ++l)
{
pCodeCompleteWnd->InsertEntry( aEntryVect[l] );
}
@@ -1013,7 +1013,7 @@ void EditorWindow::CreateEditEngine()
aSyntaxIdle.Stop();
bDoSyntaxHighlight = bWasDoSyntaxHighlight;
- for (sal_uInt16 nLine = 0; nLine < nLines; nLine++)
+ for (sal_Int32 nLine = 0; nLine < nLines; nLine++)
aSyntaxLineTable.insert(nLine);
ForceSyntaxTimeout();
@@ -2669,7 +2669,7 @@ void CodeCompleteListBox::InsertSelectedEntry()
void CodeCompleteListBox::SetMatchingEntries()
{
- for(sal_uInt16 i=0; i< GetEntryCount(); ++i)
+ for(sal_Int32 i=0; i< GetEntryCount(); ++i)
{
OUString sEntry = GetEntry(i);
if( sEntry.startsWithIgnoreAsciiCase( aFuncBuffer.toString() ) )
diff --git a/basctl/source/basicide/basobj2.cxx b/basctl/source/basicide/basobj2.cxx
index 987c1aa65ae8..ce19f5c3338e 100644
--- a/basctl/source/basicide/basobj2.cxx
+++ b/basctl/source/basicide/basobj2.cxx
@@ -72,7 +72,7 @@ void Organize( sal_Int16 tabId )
bool IsValidSbxName( const OUString& rName )
{
- for ( sal_uInt16 nChar = 0; nChar < rName.getLength(); nChar++ )
+ for ( sal_Int32 nChar = 0; nChar < rName.getLength(); nChar++ )
{
sal_Unicode c = rName[nChar];
bool bValid = (
diff --git a/basctl/source/basicide/layout.cxx b/basctl/source/basicide/layout.cxx
index 12ad6277055b..43813e267770 100644
--- a/basctl/source/basicide/layout.cxx
+++ b/basctl/source/basicide/layout.cxx
@@ -381,7 +381,7 @@ IMPL_LINK(Layout::SplittedSide, SplitHdl, Splitter*, pSplitter)
else
{
// Item::nStartPos, Item::nLength
- for (unsigned i = 1; i < vItems.size(); ++i)
+ for (size_t i = 1; i < vItems.size(); ++i)
{
if (vItems[i].pSplit.get() == pSplitter)
{
diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx
index 23e2597c413f..9c340239773e 100644
--- a/basctl/source/basicide/macrodlg.cxx
+++ b/basctl/source/basicide/macrodlg.cxx
@@ -586,7 +586,7 @@ IMPL_LINK( MacroChooser, EditModifyHdl, Edit *, pEdit )
{
OUString aEdtText( m_pMacroNameEdit->GetText() );
bool bFound = false;
- for ( sal_uInt16 n = 0; n < m_pMacroBox->GetEntryCount(); n++ )
+ for ( sal_uLong n = 0; n < m_pMacroBox->GetEntryCount(); n++ )
{
SvTreeListEntry* pEntry = m_pMacroBox->GetEntry( n );
DBG_ASSERT( pEntry, "Entry ?!" );
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx
index 70c4f583d4cc..822c0657f777 100644
--- a/basctl/source/basicide/moduldl2.cxx
+++ b/basctl/source/basicide/moduldl2.cxx
@@ -872,7 +872,7 @@ void LibPage::InsertLib()
bool bRemove = false;
bool bReplace = pLibDlg->IsReplace();
bool bReference = pLibDlg->IsReference();
- for ( sal_uInt16 nLib = 0; nLib < pLibDlg->GetLibBox().GetEntryCount(); nLib++ )
+ for ( sal_uLong nLib = 0; nLib < pLibDlg->GetLibBox().GetEntryCount(); nLib++ )
{
if ( pLibDlg->GetLibBox().IsChecked( nLib ) )
{