summaryrefslogtreecommitdiffstats
path: root/cui/source/options/optopencl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/optopencl.cxx')
-rw-r--r--cui/source/options/optopencl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optopencl.cxx b/cui/source/options/optopencl.cxx
index cbc8a38cf2ab..9910d962566b 100644
--- a/cui/source/options/optopencl.cxx
+++ b/cui/source/options/optopencl.cxx
@@ -247,7 +247,7 @@ IMPL_LINK(ListEntryDialog, OSSelectHdl, ListBox*, pListBox)
if (mpOS->GetSelectEntryPos() == 0)
maEntry.maOS.clear();
else
- maEntry.maOS = mpOS->GetEntry(mpOS->GetSelectEntryPos());
+ maEntry.maOS = mpOS->GetSelectEntry();
}
return 0;