summaryrefslogtreecommitdiffstats
path: root/sfx2/source/appl/openuriexternally.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-15 20:55:14 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-15 23:30:22 +0200
commitc584f344b7f810c297da616befdc354b86fbf8b8 (patch)
tree113ef5cdd487982c4c6112dcb7f36ed7112534b1 /sfx2/source/appl/openuriexternally.cxx
parentErrorBox EBX_ERR_PRINTDISABLED to String (diff)
downloadcore-c584f344b7f810c297da616befdc354b86fbf8b8.tar.gz
core-c584f344b7f810c297da616befdc354b86fbf8b8.zip
ErrorBox MSG_ERR_NO_WEBBROWSER_FOUND to String
Change-Id: Ifbc3dbc48fc291881eeb4306379da2599b6d9e95
Diffstat (limited to 'sfx2/source/appl/openuriexternally.cxx')
-rw-r--r--sfx2/source/appl/openuriexternally.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/openuriexternally.cxx b/sfx2/source/appl/openuriexternally.cxx
index 04da015a3c7d..32dfb79fc97b 100644
--- a/sfx2/source/appl/openuriexternally.cxx
+++ b/sfx2/source/appl/openuriexternally.cxx
@@ -21,7 +21,7 @@
#include <rtl/ustring.hxx>
#include <sfx2/app.hxx>
#include <sfx2/sfxresid.hxx>
-#include <vcl/msgbox.hxx>
+#include <vcl/layout.hxx>
#include <vcl/svapp.hxx>
#include "openuriexternally.hxx"
@@ -56,9 +56,9 @@ bool sfx2::openUriExternally(
throw;
}
SolarMutexGuard g;
- ErrorBox(
+ MessageDialog(
SfxGetpApp()->GetTopWindow(),
- SfxResId(MSG_ERR_NO_WEBBROWSER_FOUND)).
+ SfxResId(STR_NO_WEBBROWSER_FOUND)).
Execute();
}
return false;