diff options
Diffstat (limited to 'shell/source/win32/shlxthandler/classfactory.cxx')
-rw-r--r-- | shell/source/win32/shlxthandler/classfactory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/shlxthandler/classfactory.cxx b/shell/source/win32/shlxthandler/classfactory.cxx index e7384d36b577..95da69252089 100644 --- a/shell/source/win32/shlxthandler/classfactory.cxx +++ b/shell/source/win32/shlxthandler/classfactory.cxx @@ -99,7 +99,7 @@ HRESULT STDMETHODCALLTYPE CClassFactory::CreateInstance( pUnk = static_cast<IQueryInfo*>(new CInfoTip()); else if (CLSID_COLUMN_HANDLER == m_Clsid) - pUnk = static_cast<IColumnProvider*>(new CColumnInfo()); + pUnk = new CColumnInfo(); else if (CLSID_THUMBVIEWER_HANDLER == m_Clsid) pUnk = static_cast<IExtractImage*>(new CThumbviewer()); |