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
961ffaa7
Kaydet (Commit)
961ffaa7
authored
Şub 18, 2013
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
acorrect.cxx: try to make even MSVC happy
Change-Id: Ie17347cc0a90bf93399027f6e816f56cd89c1678
üst
e52c898a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
acorrect.cxx
sw/source/core/edit/acorrect.cxx
+4
-4
No files found.
sw/source/core/edit/acorrect.cxx
Dosyayı görüntüle @
961ffaa7
...
...
@@ -190,8 +190,8 @@ sal_Bool SwAutoCorrDoc::ReplaceRange( xub_StrLen nPos, xub_StrLen nSourceLength,
_PaMIntoCrsrShellRing
aTmp
(
rEditSh
,
rCrsr
,
*
pPam
);
pPam
->
SetMark
();
pPam
->
GetPoint
()
->
nContent
=
std
::
min
(
pNd
->
GetTxt
().
getLength
(),
nPos
+
nSourceLength
);
pPam
->
GetPoint
()
->
nContent
=
std
::
min
<
sal_Int32
>
(
pNd
->
GetTxt
().
getLength
(),
nPos
+
nSourceLength
);
pDoc
->
ReplaceRange
(
*
pPam
,
rTxt
,
false
);
pPam
->
Exchange
();
pPam
->
DeleteMark
();
...
...
@@ -202,8 +202,8 @@ sal_Bool SwAutoCorrDoc::ReplaceRange( xub_StrLen nPos, xub_StrLen nSourceLength,
if
(
nSourceLength
!=
rTxt
.
Len
()
)
{
pPam
->
SetMark
();
pPam
->
GetPoint
()
->
nContent
=
std
::
min
(
pNd
->
GetTxt
().
getLength
(),
nPos
+
nSourceLength
);
pPam
->
GetPoint
()
->
nContent
=
std
::
min
<
sal_Int32
>
(
pNd
->
GetTxt
().
getLength
(),
nPos
+
nSourceLength
);
pDoc
->
ReplaceRange
(
*
pPam
,
rTxt
,
false
);
pPam
->
Exchange
();
pPam
->
DeleteMark
();
...
...
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