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
78a725de
Kaydet (Commit)
78a725de
authored
Haz 21, 2012
tarafından
Noel Grandin
Kaydeden (comit)
Michael Stahl
Haz 25, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Convert aChrTxtAtrArr from Svptrarr to std::vector
Change-Id: Ia0cf3659d3f96574c5725f60e0caec153c93f8b6
üst
95515561
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
20 deletions
+16
-20
wrtw8esh.cxx
sw/source/filter/ww8/wrtw8esh.cxx
+15
-19
wrtww8.hxx
sw/source/filter/ww8/wrtww8.hxx
+1
-1
No files found.
sw/source/filter/ww8/wrtw8esh.cxx
Dosyayı görüntüle @
78a725de
...
...
@@ -871,7 +871,7 @@ void MSWord_SdrAttrIter::NextPara( sal_uInt16 nPar )
// Attributwechsel an Pos 0 wird ignoriert, da davon ausgegangen
// wird, dass am Absatzanfang sowieso die Attribute neu ausgegeben
// werden.
aChrTxtAtrArr
.
Remove
(
0
,
aChrTxtAtrArr
.
Count
()
);
aChrTxtAtrArr
.
clear
(
);
aChrSetArr
.
clear
();
nAktSwPos
=
nTmpSwPos
=
0
;
...
...
@@ -920,30 +920,26 @@ xub_StrLen MSWord_SdrAttrIter::SearchNext( xub_StrLen nStartPos )
void
MSWord_SdrAttrIter
::
SetCharSet
(
const
EECharAttrib
&
rAttr
,
bool
bStart
)
{
void
*
p
=
0
;
rtl_TextEncoding
eChrSet
;
const
SfxPoolItem
&
rItem
=
*
rAttr
.
pAttr
;
switch
(
rItem
.
Which
()
)
if
(
rItem
.
Which
()
!=
EE_CHAR_FONTINFO
)
{
case
EE_CHAR_FONTINFO
:
p
=
(
void
*
)
&
rAttr
;
eChrSet
=
((
SvxFontItem
&
)
rItem
).
GetCharSet
();
break
;
return
;
}
if
(
p
)
if
(
bStart
)
{
sal_uInt16
nPos
;
if
(
bStart
)
{
nPos
=
aChrSetArr
.
size
();
aChrSetArr
.
push_back
(
eChrSet
);
aChrTxtAtrArr
.
Insert
(
p
,
nPos
);
}
else
if
(
USHRT_MAX
!=
(
nPos
=
aChrTxtAtrArr
.
GetPos
(
p
))
)
rtl_TextEncoding
eChrSet
=
((
SvxFontItem
&
)
rItem
).
GetCharSet
();
aChrSetArr
.
push_back
(
eChrSet
);
aChrTxtAtrArr
.
push_back
(
&
rAttr
);
}
else
{
std
::
vector
<
const
EECharAttrib
*>::
iterator
it
=
std
::
find
(
aChrTxtAtrArr
.
begin
(),
aChrTxtAtrArr
.
end
(),
&
rAttr
);
if
(
it
!=
aChrTxtAtrArr
.
end
()
)
{
aChrTxtAtrArr
.
Remove
(
nPos
);
aChrSetArr
.
erase
(
aChrSetArr
.
begin
()
+
nPos
);
aChrTxtAtrArr
.
erase
(
it
);
aChrSetArr
.
erase
(
aChrSetArr
.
begin
()
+
(
it
-
aChrTxtAtrArr
.
begin
())
);
}
}
}
...
...
sw/source/filter/ww8/wrtww8.hxx
Dosyayı görüntüle @
78a725de
...
...
@@ -1374,7 +1374,7 @@ private:
const
EditTextObject
*
pEditObj
;
const
SfxItemPool
*
pEditPool
;
std
::
vector
<
EECharAttrib
>
aTxtAtrArr
;
SvPtrarr
aChrTxtAtrArr
;
std
::
vector
<
const
EECharAttrib
*>
aChrTxtAtrArr
;
std
::
vector
<
rtl_TextEncoding
>
aChrSetArr
;
sal_uInt16
nPara
;
xub_StrLen
nAktSwPos
;
...
...
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