From f7f274d5a7afc619b18a9ad0da52a1478dae5fa6 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 12 Aug 2013 08:44:50 +0100 Subject: help has no entry for HID_WARN_NAME_DUPLICATE Change-Id: I03c168f61adaae6ff98fab40923f64e5c8f9cc00 --- cui/source/tabpages/tpbitmap.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cui') diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx index 5f6550bfe647..4c3f968a7a1d 100644 --- a/cui/source/tabpages/tpbitmap.cxx +++ b/cui/source/tabpages/tpbitmap.cxx @@ -503,7 +503,6 @@ IMPL_LINK_NOARG(SvxBitmapTabPage, ClickAddHdl_Impl) pWarnBox = new MessageDialog( GetParentDialog() ,"DuplicateNameDialog" ,"cui/ui/queryduplicatedialog.ui"); -// pWarnBox->SetHelpId( HID_WARN_NAME_DUPLICATE ); } if( pWarnBox->Execute() != RET_OK ) @@ -573,10 +572,9 @@ IMPL_LINK_NOARG(SvxBitmapTabPage, ClickImportHdl_Impl) if( !aDlg.Execute() ) { Graphic aGraphic; - int nError = 1; EnterWait(); - nError = aDlg.GetGraphic( aGraphic ); + int nError = aDlg.GetGraphic( aGraphic ); LeaveWait(); if( !nError ) @@ -614,7 +612,6 @@ IMPL_LINK_NOARG(SvxBitmapTabPage, ClickImportHdl_Impl) pWarnBox = new MessageDialog( GetParentDialog() ,"DuplicateNameDialog" ,"cui/ui/queryduplicatedialog.ui"); -// pWarnBox->SetHelpId( HID_WARN_NAME_DUPLICATE ); } if( pWarnBox->Execute() != RET_OK ) -- cgit