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
3a92dc80
Kaydet (Commit)
3a92dc80
authored
Haz 22, 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 local var from Svptrarr to std::vector
Change-Id: I192bb3c923024b13346cfaa89f34bdddad8434cf
üst
afa691c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
tblrwcl.cxx
sw/source/core/doc/tblrwcl.cxx
+4
-5
No files found.
sw/source/core/doc/tblrwcl.cxx
Dosyayı görüntüle @
3a92dc80
...
...
@@ -1313,7 +1313,7 @@ sal_Bool SwTable::SplitCol( SwDoc* pDoc, const SwSelBoxes& rBoxes, sal_uInt16 nC
aFndBox
.
DelFrms
(
*
this
);
_CpyTabFrms
aFrmArr
;
SvPtrarr
aLastBoxArr
;
std
::
vector
<
SwTableBoxFmt
*>
aLastBoxArr
;
sal_uInt16
nFndPos
;
for
(
sal_uInt16
n
=
0
;
n
<
aSelBoxes
.
Count
();
++
n
)
{
...
...
@@ -1350,14 +1350,13 @@ sal_Bool SwTable::SplitCol( SwDoc* pDoc, const SwSelBoxes& rBoxes, sal_uInt16 nC
pLastBoxFmt
->
SetFmtAttr
(
SwFmtFrmSize
(
ATT_VAR_SIZE
,
nBoxSz
-
(
nNewBoxSz
*
nCnt
),
0
)
);
}
void
*
p
=
pLastBoxFmt
;
aLastBoxArr
.
Insert
(
p
,
nFndPos
);
aLastBoxArr
.
insert
(
aLastBoxArr
.
begin
()
+
nFndPos
,
pLastBoxFmt
);
}
else
{
aFindFrm
=
aFrmArr
[
nFndPos
];
pSelBox
->
ChgFrmFmt
(
(
SwTableBoxFmt
*
)
aFindFrm
.
pNewFrmFmt
);
pLastBoxFmt
=
(
SwTableBoxFmt
*
)
aLastBoxArr
[
nFndPos
];
pLastBoxFmt
=
aLastBoxArr
[
nFndPos
];
}
// Insert the Boxes at the Position
...
...
@@ -1386,7 +1385,7 @@ sal_Bool SwTable::SplitCol( SwDoc* pDoc, const SwSelBoxes& rBoxes, sal_uInt16 nC
rCTF
.
Value
.
pFrmFmt
==
aFindFrm
.
pNewFrmFmt
)
{
aFrmArr
.
Remove
(
i
);
aLastBoxArr
.
Remove
(
i
);
aLastBoxArr
.
erase
(
aLastBoxArr
.
begin
()
+
i
);
}
}
}
...
...
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