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
cdf78387
Kaydet (Commit)
cdf78387
authored
May 15, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Work around signed/unsigned warning (old GCC versions), and adapt loop type
Change-Id: I48a0c1b9f754381ae6dec546ab9443040df8210c
üst
50cb1667
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
tblrwcl.cxx
sw/source/core/doc/tblrwcl.cxx
+6
-5
No files found.
sw/source/core/doc/tblrwcl.cxx
Dosyayı görüntüle @
cdf78387
...
...
@@ -3488,17 +3488,18 @@ void _CheckBoxWidth( const SwTableLine& rLine, SwTwips nSize )
SwTwips
nAktSize
=
0
;
// See if the tables have a correct width
for
(
sal_uInt16
n
=
0
;
n
<
rBoxes
.
size
();
++
n
)
for
(
SwTableBoxes
::
const_iterator
i
(
rBoxes
.
begin
());
i
!=
rBoxes
.
end
();
++
i
)
{
const
SwTableBox
*
pBox
=
rBoxes
[
n
]
;
const
SwTableBox
*
pBox
=
*
i
;
const
SwTwips
nBoxW
=
pBox
->
GetFrmFmt
()
->
GetFrmSize
().
GetWidth
();
nAktSize
+=
nBoxW
;
for
(
sal_uInt16
i
=
0
;
i
<
pBox
->
GetTabLines
().
Count
();
++
i
)
_CheckBoxWidth
(
*
pBox
->
GetTabLines
()[
i
],
nBoxW
);
for
(
sal_uInt16
j
=
0
;
j
<
pBox
->
GetTabLines
().
Count
();
++
j
)
_CheckBoxWidth
(
*
pBox
->
GetTabLines
()[
j
],
nBoxW
);
}
if
(
Abs
(
nAktSize
-
nSize
)
>
(
COLFUZZY
*
rBoxes
.
size
()))
if
(
sal
::
static_int_cast
<
unsigned
long
>
(
Abs
(
nAktSize
-
nSize
))
>
(
COLFUZZY
*
rBoxes
.
size
()))
{
OSL_FAIL
(
"Line's Boxes are too small or too large"
);
}
...
...
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