summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-02-26 16:53:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-02-27 11:22:49 +0100
commit082e69fefb7439fd4f3d543f0c402039e94c1e9c (patch)
tree8348cacdc54a15dae722b93fc198995756924fc0 /svx
parentf41a08183504a59d6ffc7a00ed7f24e6b19995ab (diff)
convert various MessBox to weld::MessageDialog
Change-Id: I4d2d0393c753114aeb9bb7e646dfdc810f6caa38 Reviewed-on: https://gerrit.libreoffice.org/50398 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/Library_svx.mk1
-rw-r--r--svx/source/dialog/prtqry.cxx40
2 files changed, 0 insertions, 41 deletions
diff --git a/svx/Library_svx.mk b/svx/Library_svx.mk
index ad1b1dc3a423..3c374744b314 100644
--- a/svx/Library_svx.mk
+++ b/svx/Library_svx.mk
@@ -143,7 +143,6 @@ $(eval $(call gb_Library_add_exception_objects,svx,\
svx/source/dialog/pagectrl \
svx/source/dialog/paraprev \
svx/source/dialog/passwd \
- svx/source/dialog/prtqry \
svx/source/dialog/relfld \
svx/source/dialog/rlrcitem \
svx/source/dialog/rubydialog \
diff --git a/svx/source/dialog/prtqry.cxx b/svx/source/dialog/prtqry.cxx
deleted file mode 100644
index 6be88dff8c31..000000000000
--- a/svx/source/dialog/prtqry.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-
-#include <svx/strings.hrc>
-#include <svx/prtqry.hxx>
-#include <svx/dialmgr.hxx>
-
-SvxPrtQryBox::SvxPrtQryBox(vcl::Window* pParent) :
- MessBox(pParent, MessBoxStyle::NONE, 0,
- SvxResId(RID_SVXSTR_QRY_PRINT_TITLE),
- SvxResId(RID_SVXSTR_QRY_PRINT_MSG))
-{
- SetImage(GetStandardQueryBoxImage());
-
- AddButton(SvxResId(RID_SVXSTR_QRY_PRINT_SELECTION), RET_OK,
- ButtonDialogFlags::Default | ButtonDialogFlags::OK | ButtonDialogFlags::Focus);
-
- AddButton(SvxResId(RID_SVXSTR_QRY_PRINT_ALL), 2);
- AddButton(StandardButtonType::Cancel, RET_CANCEL, ButtonDialogFlags::Cancel);
- SetButtonHelpText( RET_OK, OUString() );
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */