summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/control
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-02-19 16:00:52 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-02-19 17:39:16 +0100
commit5206992e6e9b22b48cea0a4a7626ee576c66492e (patch)
treedfc29178d2536d31d8de06556a32503feec3fe2b /dbaccess/source/ui/control
parent12180ed8d6d64f78d37c6ee070da5a1ab3684843 (diff)
Some uses of C++17 class template argument deduction
Change-Id: I47c469c0fcdff41d83729be9489c946e81ef3686 Reviewed-on: https://gerrit.libreoffice.org/68020 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dbaccess/source/ui/control')
-rw-r--r--dbaccess/source/ui/control/dbtreelistbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx
index 43b6ecb1fa0e..921130037653 100644
--- a/dbaccess/source/ui/control/dbtreelistbox.cxx
+++ b/dbaccess/source/ui/control/dbtreelistbox.cxx
@@ -485,7 +485,7 @@ VclPtr<PopupMenu> DBTreeListBox::CreateContextMenu()
if ( !m_xMenuController.is() )
return nullptr;
- rtl::Reference<VCLXPopupMenu> xPopupMenu( new VCLXPopupMenu );
+ rtl::Reference xPopupMenu( new VCLXPopupMenu );
m_xMenuController->setPopupMenu( xPopupMenu.get() );
VclPtr<PopupMenu> pContextMenu( static_cast< PopupMenu* >( xPopupMenu->GetMenu() ) );
pContextMenu->AddEventListener( LINK( this, DBTreeListBox, MenuEventListener ) );