summaryrefslogtreecommitdiffstats
path: root/cui/source/dialogs/showcols.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/dialogs/showcols.cxx')
-rw-r--r--cui/source/dialogs/showcols.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/showcols.cxx b/cui/source/dialogs/showcols.cxx
index 50b35c157f6c..d2c950b8f6a2 100644
--- a/cui/source/dialogs/showcols.cxx
+++ b/cui/source/dialogs/showcols.cxx
@@ -59,7 +59,7 @@ IMPL_LINK_NOARG(FmShowColsDialog, OnClickedOk, Button*, void)
css::uno::Reference< css::beans::XPropertySet > xCol;
for (sal_Int32 i=0; i < m_pList->GetSelectEntryCount(); ++i)
{
- m_xColumns->getByIndex(sal::static_int_cast<sal_Int32>(reinterpret_cast<sal_uIntPtr>(m_pList->GetEntryData(m_pList->GetSelectEntryPos(i))))) >>= xCol;
+ m_xColumns->getByIndex(sal::static_int_cast<sal_Int32>(reinterpret_cast<sal_uIntPtr>(m_pList->GetEntryData(m_pList->GetSelectedEntryPos(i))))) >>= xCol;
if (xCol.is())
{
try