summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-06 16:04:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-06 20:55:11 +0200
commit1dc6a3aeec6d0f67990c2e18c31f094fc3edeba7 (patch)
tree2c3dd727151c4a699dd0df42dfef9f6cb7004f3b /svx/source
parentfca8704954c9e38719ac0158ba66edd8d85522ed (diff)
drop some now unnecessary include
Change-Id: I9db3d9a172a41c70ed343efd76f4c7c8f88b3a3f Reviewed-on: https://gerrit.libreoffice.org/61471 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/dialog/ClassificationEditView.cxx1
-rw-r--r--svx/source/form/databaselocationinput.cxx3
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/ClassificationEditView.cxx b/svx/source/dialog/ClassificationEditView.cxx
index 3fda7b5dc6c9..99989843fa45 100644
--- a/svx/source/dialog/ClassificationEditView.cxx
+++ b/svx/source/dialog/ClassificationEditView.cxx
@@ -11,6 +11,7 @@
#include <svx/ClassificationEditView.hxx>
#include <svx/ClassificationField.hxx>
+#include <vcl/builder.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <svl/itemset.hxx>
diff --git a/svx/source/form/databaselocationinput.cxx b/svx/source/form/databaselocationinput.cxx
index ad45af630a2a..96851ff2c655 100644
--- a/svx/source/form/databaselocationinput.cxx
+++ b/svx/source/form/databaselocationinput.cxx
@@ -122,8 +122,7 @@ namespace svx
{
if ( ::utl::UCBContentHelper::Exists( sURL ) )
{
- vcl::Window* pWin = m_rLocationInput.GetSystemWindow();
- std::unique_ptr<weld::MessageDialog> xQueryBox(Application::CreateMessageDialog(pWin ? pWin->GetFrameWeld() : nullptr,
+ std::unique_ptr<weld::MessageDialog> xQueryBox(Application::CreateMessageDialog(m_rLocationInput.GetFrameWeld(),
VclMessageType::Question, VclButtonsType::YesNo,
SvxResId(RID_STR_ALREADYEXISTOVERWRITE)));
if (xQueryBox->run() != RET_YES)