summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewprt.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-09-17 09:41:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-09-17 13:41:48 +0200
commit28fc986025009473c9782b61d8c6062fa60085ba (patch)
tree08c19f552e49802b93537ea108b04f9fe13770e9 /sw/source/uibase/uiview/viewprt.cxx
parent65575016ab29b942aea482eab0b54afa262fb998 (diff)
move GetStandardText to stdtext.hxx
Change-Id: Iaf9b5107cf88390f62d5ca94bf985c77bcb8b7ad Reviewed-on: https://gerrit.libreoffice.org/79048 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/uiview/viewprt.cxx')
-rw-r--r--sw/source/uibase/uiview/viewprt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/viewprt.cxx b/sw/source/uibase/uiview/viewprt.cxx
index 799f7351e361..1aaa7750f5ac 100644
--- a/sw/source/uibase/uiview/viewprt.cxx
+++ b/sw/source/uibase/uiview/viewprt.cxx
@@ -25,8 +25,8 @@
#include <sfx2/app.hxx>
#include <sfx2/viewfrm.hxx>
#include <vcl/svapp.hxx>
+#include <vcl/stdtext.hxx>
#include <vcl/weld.hxx>
-#include <vcl/button.hxx>
#include <vcl/oldprintadaptor.hxx>
#include <sfx2/printer.hxx>
#include <sfx2/prnmon.hxx>
@@ -165,7 +165,7 @@ namespace
m_xQueryBox->add_button(SvxResId(RID_SVXSTR_QRY_PRINT_SELECTION), RET_OK);
m_xQueryBox->add_button(SvxResId(RID_SVXSTR_QRY_PRINT_ALL), 2);
- m_xQueryBox->add_button(Button::GetStandardText(StandardButtonType::Cancel), RET_CANCEL);
+ m_xQueryBox->add_button(GetStandardText(StandardButtonType::Cancel), RET_CANCEL);
m_xQueryBox->set_default_response(RET_OK);
}
short run() { return m_xQueryBox->run(); }