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
12bdbfbc
Kaydet (Commit)
12bdbfbc
authored
Kas 24, 2013
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
STRING_LEN is no more the maximum string length + some cleanups
Change-Id: Idbdfb4dd39ce5e419f7b9338db39ddda186d014d
üst
2dda972c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
docedt.cxx
sw/source/core/doc/docedt.cxx
+4
-6
No files found.
sw/source/core/doc/docedt.cxx
Dosyayı görüntüle @
12bdbfbc
...
...
@@ -1223,22 +1223,20 @@ static std::vector<sal_uInt16> * lcl_RangesToVector(sal_uInt16 * pRanges)
static
bool
lcl_StrLenOverFlow
(
const
SwPaM
&
rPam
)
{
// If we try to merge two paragraph we have to test if afterwards
// If we try to merge two paragraph
s
we have to test if afterwards
// the string doesn't exceed the allowed string length
bool
bRet
=
false
;
if
(
rPam
.
GetPoint
()
->
nNode
!=
rPam
.
GetMark
()
->
nNode
)
{
const
SwPosition
*
pStt
=
rPam
.
Start
(),
*
pEnd
=
rPam
.
End
();
const
SwTxtNode
*
pEndNd
=
pEnd
->
nNode
.
GetNode
().
GetTxtNode
();
if
(
(
0
!=
pEndNd
)
&&
pStt
->
nNode
.
GetNode
().
IsTxtNode
()
)
{
sal_uInt64
nSum
=
pStt
->
nContent
.
GetIndex
()
+
const
sal_uInt64
nSum
=
pStt
->
nContent
.
GetIndex
()
+
pEndNd
->
GetTxt
().
getLength
()
-
pEnd
->
nContent
.
GetIndex
();
if
(
nSum
>
STRING_LEN
)
bRet
=
true
;
return
nSum
>
static_cast
<
sal_uInt64
>
(
SAL_MAX_INT32
);
}
}
return
bRet
;
return
false
;
}
void
sw_GetJoinFlags
(
SwPaM
&
rPam
,
sal_Bool
&
rJoinTxt
,
sal_Bool
&
rJoinPrev
)
...
...
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