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
c5ca63a0
Kaydet (Commit)
c5ca63a0
authored
Tem 19, 2015
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_uInt16 to sal_Int32/size_t
Change-Id: Icb8765339412bedf1e424a766bc99274ab96ceab
üst
40c34e62
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
edtspell.cxx
editeng/source/editeng/edtspell.cxx
+3
-3
edtspell.hxx
editeng/source/editeng/edtspell.hxx
+3
-3
No files found.
editeng/source/editeng/edtspell.cxx
Dosyayı görüntüle @
c5ca63a0
...
...
@@ -284,7 +284,7 @@ void WrongList::TextDeleted( size_t nPos, size_t nLength )
size_t
nEndPos
=
nPos
+
nLength
;
if
(
IsValid
())
{
sal_uInt16
nNewInvalidStart
=
nPos
?
nPos
-
1
:
0
;
const
size_t
nNewInvalidStart
=
nPos
?
nPos
-
1
:
0
;
mnInvalidStart
=
nNewInvalidStart
;
mnInvalidEnd
=
nNewInvalidStart
+
1
;
}
...
...
@@ -546,7 +546,7 @@ bool WrongList::DbgIsBuggy() const
EdtAutoCorrDoc
::
EdtAutoCorrDoc
(
EditEngine
*
pE
,
ContentNode
*
pN
,
sal_
uInt16
nCrsr
,
sal_Unicode
cIns
)
:
EditEngine
*
pE
,
ContentNode
*
pN
,
sal_
Int32
nCrsr
,
sal_Unicode
cIns
)
:
mpEditEngine
(
pE
),
pCurNode
(
pN
),
nCursor
(
nCrsr
),
...
...
@@ -593,7 +593,7 @@ bool EdtAutoCorrDoc::Replace(sal_Int32 nPos, const OUString& rTxt)
bool
EdtAutoCorrDoc
::
ReplaceRange
(
sal_Int32
nPos
,
sal_Int32
nSourceLength
,
const
OUString
&
rTxt
)
{
// Actually a Replace introduce => corresponds to UNDO
sal_
uInt16
nEnd
=
nPos
+
nSourceLength
;
sal_
Int32
nEnd
=
nPos
+
nSourceLength
;
if
(
nEnd
>
pCurNode
->
Len
()
)
nEnd
=
pCurNode
->
Len
();
...
...
editeng/source/editeng/edtspell.hxx
Dosyayı görüntüle @
c5ca63a0
...
...
@@ -123,7 +123,7 @@ class EdtAutoCorrDoc : public SvxAutoCorrDoc
{
EditEngine
*
mpEditEngine
;
ContentNode
*
pCurNode
;
sal_
uInt16
nCursor
;
sal_
Int32
nCursor
;
bool
bAllowUndoAction
;
bool
bUndoAction
;
...
...
@@ -132,7 +132,7 @@ protected:
void
ImplStartUndoAction
();
public
:
EdtAutoCorrDoc
(
EditEngine
*
pE
,
ContentNode
*
pCurNode
,
sal_
uInt16
nCrsr
,
sal_Unicode
cIns
);
EdtAutoCorrDoc
(
EditEngine
*
pE
,
ContentNode
*
pCurNode
,
sal_
Int32
nCrsr
,
sal_Unicode
cIns
);
virtual
~
EdtAutoCorrDoc
();
virtual
bool
Delete
(
sal_Int32
nStt
,
sal_Int32
nEnd
)
SAL_OVERRIDE
;
...
...
@@ -150,7 +150,7 @@ public:
virtual
LanguageType
GetLanguage
(
sal_Int32
nPos
,
bool
bPrevPara
=
false
)
const
SAL_OVERRIDE
;
sal_
uInt16
GetCursor
()
const
{
return
nCursor
;
}
sal_
Int32
GetCursor
()
const
{
return
nCursor
;
}
};
...
...
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