summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-18 12:46:20 +0200
committerNoel Grandin <noel@peralex.com>2016-03-18 12:46:35 +0200
commitc91b103930f4f441ab333d6f3026d6c19d4b4d0f (patch)
treeb3bb0edd19ebf20bdca3c9b3605cec986d2e650f /basctl
parent1c73135493e844c04446f58e7001920381787317 (diff)
convert SvButtonState to scoped enum
Change-Id: I601f9e2fe33e85cf3f7dc52ee20d68202bd2b09d
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;
}