summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/opengrf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/opengrf.cxx')
-rw-r--r--sfx2/source/appl/opengrf.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/opengrf.cxx b/sfx2/source/appl/opengrf.cxx
index 00a31a4f3ca9..dc0e09231b40 100644
--- a/sfx2/source/appl/opengrf.cxx
+++ b/sfx2/source/appl/opengrf.cxx
@@ -39,7 +39,7 @@
#include <svl/urihelper.hxx>
#include <vcl/transfer.hxx>
#include <sot/formats.hxx>
-#include <vcl/button.hxx>
+#include <vcl/stdtext.hxx>
#include <vcl/graphicfilter.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
@@ -164,8 +164,8 @@ ErrCode SvxOpenGraphicDialog::Execute()
std::unique_ptr<weld::MessageDialog> xWarn(Application::CreateMessageDialog(nullptr,
VclMessageType::Warning, VclButtonsType::NONE,
SfxResId(SvxOpenGrfErr2ResId(nImpRet))));
- xWarn->add_button(Button::GetStandardText(StandardButtonType::Retry), RET_RETRY);
- xWarn->add_button(Button::GetStandardText(StandardButtonType::Cancel), RET_CANCEL);
+ xWarn->add_button(GetStandardText(StandardButtonType::Retry), RET_RETRY);
+ xWarn->add_button(GetStandardText(StandardButtonType::Cancel), RET_CANCEL);
bQuitLoop = xWarn->run() != RET_RETRY;
}
else