summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-15 21:32:37 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-15 23:30:26 +0200
commit18b0e91e6cc273c4a7adab3ed89059cd296075bd (patch)
treedfee1c43346f4ee487b09c913e78187a89c5f084 /cui
parentb5483af985ed8c49b0bb9ebcd096cc9530e35a38 (diff)
ErrorBox RID_SVXERR_OPT_PROXYPORTS to String
Change-Id: I1ab70b37d54c11023c161f76363a36acad78de62
Diffstat (limited to 'cui')
-rw-r--r--cui/source/inc/cuires.hrc2
-rw-r--r--cui/source/options/optinet2.cxx3
-rw-r--r--cui/source/options/optinet2.src5
3 files changed, 5 insertions, 5 deletions
diff --git a/cui/source/inc/cuires.hrc b/cui/source/inc/cuires.hrc
index 81f4736fcceb..fbf9629f58d3 100644
--- a/cui/source/inc/cuires.hrc
+++ b/cui/source/inc/cuires.hrc
@@ -135,7 +135,7 @@
#define RID_SVXSTR_COLOR_CONFIG_SAVE2 (RID_SVX_START + 854)
#define RID_SVXSTR_COLOR_CONFIG_DELETE (RID_SVX_START + 855)
#define RID_SVXSTR_OPT_DOUBLE_DICTS (RID_SVX_START + 320)
-#define RID_SVXERR_OPT_PROXYPORTS (RID_SVX_START + 224)
+#define RID_SVXSTR_OPT_PROXYPORTS (RID_SVX_START + 224)
#define RID_SVXERR_JRE_NOT_RECOGNIZED (RID_SVX_START + 256)
#define RID_SVXERR_JRE_FAILED_VERSION (RID_SVX_START + 257)
#define RID_SVXSTR_PATH_NAME_START (RID_SVX_START + 1003)
diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx
index 00dbf792ae57..46d36f80bbff 100644
--- a/cui/source/options/optinet2.cxx
+++ b/cui/source/options/optinet2.cxx
@@ -35,6 +35,7 @@
#include <sfx2/objsh.hxx>
#include <unotools/bootstrap.hxx>
#include <vcl/help.hxx>
+#include <vcl/layout.hxx>
#include <sfx2/viewfrm.hxx>
#include <unotools/pathoptions.hxx>
#include <unotools/securityoptions.hxx>
@@ -132,7 +133,7 @@ void SvxNoSpaceEdit::Modify()
if ( !comphelper::string::isdigitAsciiString(aValue) || (long)aValue.toInt32() > USHRT_MAX )
// the maximum value of a port number is USHRT_MAX
- ErrorBox( this, CUI_RES( RID_SVXERR_OPT_PROXYPORTS ) ).Execute();
+ MessageDialog( this, CUI_RES( RID_SVXSTR_OPT_PROXYPORTS ) ).Execute();
}
}
diff --git a/cui/source/options/optinet2.src b/cui/source/options/optinet2.src
index ffb829b41c3e..e1a9ee0f7800 100644
--- a/cui/source/options/optinet2.src
+++ b/cui/source/options/optinet2.src
@@ -21,10 +21,9 @@
#include "helpid.hrc"
#include <cuires.hrc>
-ErrorBox RID_SVXERR_OPT_PROXYPORTS
+String RID_SVXSTR_OPT_PROXYPORTS
{
- BUTTONS = WB_OK ;
- Message [ en-US ] = "Invalid value!\n\nThe maximum value for a port number is 65535.";
+ Text [ en-US ] = "Invalid value!\n\nThe maximum value for a port number is 65535.";
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */