diff options
Diffstat (limited to 'dbaccess/source/ui/app/AppController.cxx')
-rw-r--r-- | dbaccess/source/ui/app/AppController.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx index c7850b23752c..b6d7c7541af2 100644 --- a/dbaccess/source/ui/app/AppController.cxx +++ b/dbaccess/source/ui/app/AppController.cxx @@ -2331,9 +2331,9 @@ bool OApplicationController::interceptUserInput( const NotifyEvent& _rEvent ) return OGenericUnoController::interceptUserInput( _rEvent ); } -PopupMenu* OApplicationController::getContextMenu( Control& /*_rControl*/ ) const +VclPtr<PopupMenu> OApplicationController::getContextMenu( Control& /*_rControl*/ ) const { - return new PopupMenu( ModuleRes( RID_MENU_APP_EDIT ) ); + return VclPtr<PopupMenu>::Create( ModuleRes( RID_MENU_APP_EDIT ) ); } IController& OApplicationController::getCommandController() |