Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
82ddade7
Kaydet (Commit)
82ddade7
authored
Agu 22, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
QueryBox RID_QB_SPELL_CONTINUE -> MessageDialog + string
Change-Id: Ie08970cefccdb1339e162bb5f4d3318efc6c61a5
üst
302cb1d0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
dialog.hrc
sw/inc/dialog.hrc
+1
-1
dialog.src
sw/source/ui/dialog/dialog.src
+2
-4
SwSpellDialogChildWindow.cxx
sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx
+4
-3
No files found.
sw/inc/dialog.hrc
Dosyayı görüntüle @
82ddade7
...
...
@@ -24,7 +24,7 @@
// Dialoge ******************************************************************
#define
RID_QB_SPELL_CONTINUE
(RC_DIALOG_BEGIN + 11)
#define
STR_QUERY_SPELL_CONTINUE
(RC_DIALOG_BEGIN + 11)
#define STR_SPELLING_COMPLETED (RC_DIALOG_BEGIN + 12)
// Strings ******************************************************************
...
...
sw/source/ui/dialog/dialog.src
Dosyayı görüntüle @
82ddade7
...
...
@@ -35,11 +35,9 @@ String STR_PATH_NOT_FOUND
Text [ en-US ] = "The directory '%1' does not exist." ;
};
QueryBox RID_QB
_SPELL_CONTINUE
String STR_QUERY
_SPELL_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?" ;
};
String STR_SPELLING_COMPLETED
{
...
...
sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx
Dosyayı görüntüle @
82ddade7
...
...
@@ -18,7 +18,7 @@
*/
#include <SwSpellDialogChildWindow.hxx>
#include <vcl/
msgbox
.hxx>
#include <vcl/
layout
.hxx>
#include <editeng/svxacorr.hxx>
#include <editeng/acorrcfg.hxx>
#include <svx/svxids.hrc>
...
...
@@ -391,7 +391,8 @@ The code below would only be part of the solution.
if
(
m_pSpellState
->
m_xStartRange
.
is
())
{
LockFocusNotification
(
true
);
sal_uInt16
nRet
=
QueryBox
(
GetWindow
(),
SW_RES
(
RID_QB_SPELL_CONTINUE
)).
Execute
();
sal_uInt16
nRet
=
MessageDialog
(
GetWindow
(),
SW_RES
(
STR_QUERY_SPELL_CONTINUE
),
VCL_MESSAGE_QUESTION
,
VCL_BUTTONS_YES_NO
).
Execute
();
if
(
RET_YES
==
nRet
)
{
SwUnoInternalPaM
aPam
(
*
pWrtShell
->
GetDoc
());
...
...
@@ -420,7 +421,7 @@ The code below would only be part of the solution.
OUString
sInfo
(
SW_RES
(
STR_SPELLING_COMPLETED
));
// #i84610#
Window
*
pTemp
=
GetWindow
();
// temporary needed for g++ 3.3.5
InfoBox
(
pTemp
,
sInfo
).
Execute
();
MessageDialog
(
pTemp
,
sInfo
,
VCL_MESSAGE_INFO
).
Execute
();
LockFocusNotification
(
false
);
// take care that the now valid selection is stored
LoseFocus
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment