summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/galbrws2.cxx
diff options
context:
space:
mode:
authorManal Alhassoun <malhassoun@kacst.edu.sa>2014-01-01 13:32:52 +0300
committerCaolán McNamara <caolanm@redhat.com>2014-01-01 19:59:02 +0000
commitdee757ad33b763180336240f27811d0d4e5aa130 (patch)
tree2a57fc7010f0259f494f23fd652050c1a3fc38dc /svx/source/gallery2/galbrws2.cxx
parent3f1682f3c2f1605331bcf2f5df079a3f585e4ace (diff)
convert delete object and theme queryboxes to .ui
Change-Id: Id8d54c55ab1b8c7e618654874bc8b9af949ec970 Reviewed-on: https://gerrit.libreoffice.org/7245 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/gallery2/galbrws2.cxx')
-rw-r--r--svx/source/gallery2/galbrws2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx
index 2767816cfd42..3574b7a1164e 100644
--- a/svx/source/gallery2/galbrws2.cxx
+++ b/svx/source/gallery2/galbrws2.cxx
@@ -1195,7 +1195,7 @@ void GalleryBrowser2::Execute( sal_uInt16 nId )
case( MN_DELETE ):
{
if( !mpCurTheme->IsReadOnly() &&
- QueryBox(NULL, WB_YES_NO, GAL_RESSTR(RID_SVXSTR_GALLERY_DELETEOBJ)).Execute() == RET_YES )
+ MessageDialog(NULL, "QueryDeleteObjectDialog","svx/ui/querydeleteobjectdialog.ui").Execute() == RET_YES )
{
mpCurTheme->RemoveObject( mnCurActionPos );
}