summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/app.hrc2
-rw-r--r--sfx2/source/appl/app.src6
-rw-r--r--sfx2/source/appl/openuriexternally.cxx6
3 files changed, 6 insertions, 8 deletions
diff --git a/sfx2/source/appl/app.hrc b/sfx2/source/appl/app.hrc
index 1e7ea05db24f..bb7552ded846 100644
--- a/sfx2/source/appl/app.hrc
+++ b/sfx2/source/appl/app.hrc
@@ -23,7 +23,7 @@
// #defines *****************************************************************
-#define MSG_ERR_NO_WEBBROWSER_FOUND (RID_SFX_APP_START+7)
+#define STR_NO_WEBBROWSER_FOUND (RID_SFX_APP_START+7)
#define MSG_ERR_NO_ABS_URI_REF (RID_SFX_APP_START+8)
#define MSG_CANT_QUIT (RID_SFX_APP_START+10)
#define STR_ISMODIFIED (RID_SFX_APP_START+11)
diff --git a/sfx2/source/appl/app.src b/sfx2/source/appl/app.src
index 5528f8f25e84..b6c6b96e637e 100644
--- a/sfx2/source/appl/app.src
+++ b/sfx2/source/appl/app.src
@@ -60,11 +60,9 @@ QueryBox MSG_QUERY_LASTVERSION
Message [ en-US ] = "Cancel all changes?" ;
};
-ErrorBox MSG_ERR_NO_WEBBROWSER_FOUND
+String STR_NO_WEBBROWSER_FOUND
{
- BUTTONS = WB_OK ;
- DEFBUTTON = WB_DEF_OK ;
- Message[ en-US ] = "%PRODUCTNAME could not find a web browser on your system. Please check your Desktop Preferences or install a web browser (for example, Firefox) in the default location requested during the browser installation." ;
+ Text [ en-US ] = "%PRODUCTNAME could not find a web browser on your system. Please check your Desktop Preferences or install a web browser (for example, Firefox) in the default location requested during the browser installation." ;
};
ErrorBox MSG_ERR_NO_ABS_URI_REF
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;