diff options
Diffstat (limited to 'dbaccess/source/ui/control/ColumnControlWindow.cxx')
-rw-r--r-- | dbaccess/source/ui/control/ColumnControlWindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/control/ColumnControlWindow.cxx b/dbaccess/source/ui/control/ColumnControlWindow.cxx index 82624b22406c..122cec748dcf 100644 --- a/dbaccess/source/ui/control/ColumnControlWindow.cxx +++ b/dbaccess/source/ui/control/ColumnControlWindow.cxx @@ -156,7 +156,7 @@ TOTypeInfoSP OColumnControlWindow::getDefaultTyp() const { if ( !m_pTypeInfo.get() ) { - m_pTypeInfo = TOTypeInfoSP(new OTypeInfo()); + m_pTypeInfo = std::make_shared<OTypeInfo>(); m_pTypeInfo->aUIName = m_sTypeNames.getToken(TYPE_OTHER, ';'); } return m_pTypeInfo; |