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
eba8515c
Kaydet (Commit)
eba8515c
authored
Mar 13, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:loopvartoosmall
Change-Id: Ide32700aab3427a8bf18c806968822cdf3f91bf2
üst
fdff69bd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
textdat2.hxx
vcl/source/edit/textdat2.hxx
+1
-1
textdata.cxx
vcl/source/edit/textdata.cxx
+1
-1
texteng.cxx
vcl/source/edit/texteng.cxx
+2
-2
No files found.
vcl/source/edit/textdat2.hxx
Dosyayı görüntüle @
eba8515c
...
...
@@ -90,7 +90,7 @@ public:
void
Reset
();
sal_uInt16
FindPortion
(
sal_Int32
nCharPos
,
sal_Int32
&
rPortionStart
,
bool
bPreferStartingPortion
=
false
);
void
DeleteFromPortion
(
s
al_uInt16
nDelFrom
);
void
DeleteFromPortion
(
s
ize_t
nDelFrom
);
};
struct
TEWritingDirectionInfo
...
...
vcl/source/edit/textdata.cxx
Dosyayı görüntüle @
eba8515c
...
...
@@ -113,7 +113,7 @@ void TETextPortionList::Reset()
maPortions
.
clear
();
}
void
TETextPortionList
::
DeleteFromPortion
(
s
al_uInt16
nDelFrom
)
void
TETextPortionList
::
DeleteFromPortion
(
s
ize_t
nDelFrom
)
{
SAL_WARN_IF
(
(
nDelFrom
>=
maPortions
.
size
()
)
&&
(
(
nDelFrom
!=
0
)
||
(
maPortions
.
size
()
!=
0
)
),
"vcl"
,
"DeleteFromPortion: Out of range"
);
for
(
auto
it
=
maPortions
.
begin
()
+
nDelFrom
;
it
!=
maPortions
.
end
();
++
it
)
...
...
vcl/source/edit/texteng.cxx
Dosyayı görüntüle @
eba8515c
...
...
@@ -1774,8 +1774,8 @@ void TextEngine::CreateTextPortions( sal_uInt32 nPara, sal_Int32 nStartPos )
// Unfortunately, the number of TextPortions does not have to be
// equal to aPositions.Count(), because of linebreaks
sal_Int32
nPortionStart
=
0
;
s
al_uInt16
nInvPortion
=
0
;
s
al_uInt16
nP
;
s
ize_t
nInvPortion
=
0
;
s
ize_t
nP
;
for
(
nP
=
0
;
nP
<
pTEParaPortion
->
GetTextPortions
().
size
();
nP
++
)
{
TETextPortion
*
pTmpPortion
=
pTEParaPortion
->
GetTextPortions
()[
nP
];
...
...
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