diff options
Diffstat (limited to 'svtools/source/contnr/viewdataentry.cxx')
-rw-r--r-- | svtools/source/contnr/viewdataentry.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/svtools/source/contnr/viewdataentry.cxx b/svtools/source/contnr/viewdataentry.cxx index 5288466f8d79..9c3d2d3b7889 100644 --- a/svtools/source/contnr/viewdataentry.cxx +++ b/svtools/source/contnr/viewdataentry.cxx @@ -86,6 +86,14 @@ void SvViewDataEntry::SetCursored( bool bCursored ) nFlags |= SVLISTENTRYFLAG_CURSORED; } +void SvViewDataEntry::SetSelected( bool bSelected ) +{ + if ( !bSelected ) + nFlags &= (~SVLISTENTRYFLAG_SELECTED); + else + nFlags |= SVLISTENTRYFLAG_SELECTED; +} + sal_uInt16 SvViewDataEntry::GetFlags() const { return nFlags; |