summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/moduldl2.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx
index 58fda39bc18c..54b0a307d64d 100644
--- a/basctl/source/basicide/moduldl2.cxx
+++ b/basctl/source/basicide/moduldl2.cxx
@@ -229,15 +229,15 @@ void CheckBox::CheckEntryPos( sal_uLong nPos )
{
SvTreeListEntry* pEntry = GetEntry( nPos );
- if ( GetCheckButtonState( pEntry ) != SV_BUTTON_CHECKED )
- SetCheckButtonState( pEntry, SvButtonState(SV_BUTTON_CHECKED) );
+ if ( GetCheckButtonState( pEntry ) != SvButtonState::Checked )
+ SetCheckButtonState( pEntry, SvButtonState::Checked );
}
}
bool CheckBox::IsChecked( sal_uLong nPos ) const
{
if ( nPos < GetEntryCount() )
- return GetCheckButtonState(GetEntry(nPos)) == SV_BUTTON_CHECKED;
+ return GetCheckButtonState(GetEntry(nPos)) == SvButtonState::Checked;
return false;
}