summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/UITools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/misc/UITools.cxx')
-rw-r--r--dbaccess/source/ui/misc/UITools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx
index 84b2d6f9095a..257a10f3b8c0 100644
--- a/dbaccess/source/ui/misc/UITools.cxx
+++ b/dbaccess/source/ui/misc/UITools.cxx
@@ -436,7 +436,7 @@ void fillTypeInfo( const Reference< css::sdbc::XConnection>& _rxConnection,
// Loop on the result set until we reach end of file
while (xRs->next())
{
- TOTypeInfoSP pInfo(new OTypeInfo());
+ TOTypeInfoSP pInfo = std::make_shared<OTypeInfo>();
sal_Int32 nPos = 1;
if ( aTypes.empty() )
{