summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
Diffstat (limited to 'cui')
-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 b16642e7b72f..8c9ac35ce3b4 100644
--- a/cui/source/dialogs/showcols.cxx
+++ b/cui/source/dialogs/showcols.cxx
@@ -89,7 +89,7 @@ void FmShowColsDialog::SetColumns(const ::com::sun::star::uno::Reference< ::com:
for (sal_uInt16 i=0; i<xCols->getCount(); ++i)
{
sCurName = "";
- ::cppu::extractInterface(xCurCol, xCols->getByIndex(i));
+ xCurCol.set(xCols->getByIndex(i), css::uno::UNO_QUERY);
sal_Bool bIsHidden = sal_False;
try
{