summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-12 08:44:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-12 08:53:58 +0100
commitf7f274d5a7afc619b18a9ad0da52a1478dae5fa6 (patch)
tree2939c2072c084e7f3360a592f09642313623ef51 /cui
parent89deacaa20c322361559ba78d5c4712d30bfefca (diff)
help has no entry for HID_WARN_NAME_DUPLICATE
Change-Id: I03c168f61adaae6ff98fab40923f64e5c8f9cc00
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/tpbitmap.cxx5
1 files changed, 1 insertions, 4 deletions
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 )