QueryBox RID_SVXQB_* -> MessageDialog + string
Change-Id: I37aeefe36953c80a1218e2634153906dd5cb3c1e
This commit is contained in:
@@ -19,19 +19,14 @@
|
||||
|
||||
#include <editeng/editrids.hrc>
|
||||
|
||||
QueryBox RID_SVXQB_CONTINUE
|
||||
String RID_SVXSTR_QUERY_CONTINUE
|
||||
{
|
||||
BUTTONS = WB_YES_NO ;
|
||||
DEFBUTTON = WB_DEF_YES ;
|
||||
Message [ en-US ] = "Continue checking at beginning of document?" ;
|
||||
Text [ en-US ] = "Continue checking at beginning of document?" ;
|
||||
};
|
||||
QueryBox RID_SVXQB_BW_CONTINUE
|
||||
String RID_SVXSTR_QUERY_BW_CONTINUE
|
||||
{
|
||||
BUTTONS = WB_YES_NO ;
|
||||
DEFBUTTON = WB_DEF_YES ;
|
||||
Message [ en-US ] = "Continue checking at end of document?" ;
|
||||
Text [ en-US ] = "Continue checking at end of document?" ;
|
||||
};
|
||||
|
||||
String RID_SVXSTR_HMERR_THESAURUS
|
||||
{
|
||||
Text [ en-US ] = "No thesaurus is available for the selected language. \nPlease check your installation and install the desired language\n" ;
|
||||
|
@@ -20,12 +20,10 @@
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <vcl/wrkwin.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <vcl/msgbox.hxx>
|
||||
#include <vcl/layout.hxx>
|
||||
#include <svtools/langtab.hxx>
|
||||
|
||||
#ifndef __RSC
|
||||
#include <tools/errinf.hxx>
|
||||
#endif
|
||||
#include <editeng/unolingu.hxx>
|
||||
#include <linguistic/lngprops.hxx>
|
||||
#include <com/sun/star/frame/XStorable.hpp>
|
||||
@@ -317,7 +315,8 @@ void SvxSpellWrapper::StartThesaurus( const OUString &rWord, sal_uInt16 nLanguag
|
||||
Reference< XThesaurus > xThes( SvxGetThesaurus() );
|
||||
if (!xThes.is())
|
||||
{
|
||||
InfoBox( pWin, EE_RESSTR( RID_SVXSTR_HMERR_THESAURUS ) ).Execute();
|
||||
MessageDialog(pWin, EE_RESSTR(RID_SVXSTR_HMERR_THESAURUS),
|
||||
VCL_MESSAGE_QUESTION, VCL_BUTTONS_YES_NO).Execute();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -462,8 +461,8 @@ bool SvxSpellWrapper::SpellNext( )
|
||||
// a BODY_area done, ask for the other BODY_area
|
||||
WAIT_OFF();
|
||||
|
||||
sal_uInt16 nResId = bReverse ? RID_SVXQB_BW_CONTINUE : RID_SVXQB_CONTINUE;
|
||||
QueryBox aBox( pWin, EditResId( nResId ) );
|
||||
sal_uInt16 nResId = bReverse ? RID_SVXSTR_QUERY_BW_CONTINUE : RID_SVXSTR_QUERY_CONTINUE;
|
||||
MessageDialog aBox(pWin, EditResId(nResId), VCL_MESSAGE_QUESTION, VCL_BUTTONS_YES_NO);
|
||||
if ( aBox.Execute() != RET_YES )
|
||||
{
|
||||
// sacrifice the other area if necessary ask for special area
|
||||
|
@@ -345,10 +345,8 @@
|
||||
#define RID_SVXSTR_DIC_ERR_UNKNOWN (RID_EDIT_START + 297)
|
||||
#define RID_SVXSTR_DIC_ERR_FULL (RID_EDIT_START + 298)
|
||||
#define RID_SVXSTR_DIC_ERR_READONLY (RID_EDIT_START + 299)
|
||||
|
||||
// ResIds fuer HM-QueryBoxen und Error-Strings
|
||||
#define RID_SVXQB_BW_CONTINUE (RID_EDIT_START + 300)
|
||||
#define RID_SVXQB_CONTINUE (RID_EDIT_START + 301)
|
||||
#define RID_SVXSTR_QUERY_BW_CONTINUE (RID_EDIT_START + 300)
|
||||
#define RID_SVXSTR_QUERY_CONTINUE (RID_EDIT_START + 301)
|
||||
|
||||
// EditEngine
|
||||
#define RID_EDITUNDO_DEL (RID_EDIT_START + 302)
|
||||
|
Reference in New Issue
Block a user