summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/basides1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/basides1.cxx')
-rw-r--r--basctl/source/basicide/basides1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index 4a952cad67ff..1a620ce03a41 100644
--- a/basctl/source/basicide/basides1.cxx
+++ b/basctl/source/basicide/basides1.cxx
@@ -826,10 +826,10 @@ void Shell::GetState(SfxItemSet &rSet)
break;
case SID_SEARCH_OPTIONS:
{
- sal_uInt16 nOptions = 0;
+ SearchOptionFlags nOptions = SearchOptionFlags::NONE;
if( pCurWin )
nOptions = pCurWin->GetSearchOptions();
- rSet.Put( SfxUInt16Item( SID_SEARCH_OPTIONS, nOptions ) );
+ rSet.Put( SfxUInt16Item( SID_SEARCH_OPTIONS, static_cast<sal_uInt16>(nOptions) ) );
}
break;
case SID_BASICIDE_LIBSELECTOR: