Kaydet (Commit) 18b0e91e authored tarafından Thomas Arnhold's avatar Thomas Arnhold

ErrorBox RID_SVXERR_OPT_PROXYPORTS to String

Change-Id: I1ab70b37d54c11023c161f76363a36acad78de62
üst b5483af9
......@@ -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)
......
......@@ -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();
}
}
......
......@@ -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: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment