summaryrefslogtreecommitdiff
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 e01337bc5f58..b27fa36930b3 100644
--- a/cui/source/dialogs/showcols.cxx
+++ b/cui/source/dialogs/showcols.cxx
@@ -110,7 +110,7 @@ void FmShowColsDialog::SetColumns(const css::uno::Reference< css::container::XIn
// if the col is hidden, put it into the list
if (bIsHidden)
- m_pList->SetEntryData( m_pList->InsertEntry(sCurName), reinterpret_cast<void*>((sal_Int64)i) );
+ m_pList->SetEntryData( m_pList->InsertEntry(sCurName), reinterpret_cast<void*>(static_cast<sal_Int64>(i)) );
}
}