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
4512de03
Kaydet (Commit)
4512de03
authored
Ock 25, 2012
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SvxBorderLine::GuessLinesWidths: use SAL_N_ELEMENTS
üst
b8f24c52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
borderline.cxx
editeng/source/items/borderline.cxx
+2
-4
No files found.
editeng/source/items/borderline.cxx
Dosyayı görüntüle @
4512de03
...
@@ -263,16 +263,14 @@ void SvxBorderLine::GuessLinesWidths( SvxBorderStyle nStyle, sal_uInt16 nOut, sa
...
@@ -263,16 +263,14 @@ void SvxBorderLine::GuessLinesWidths( SvxBorderStyle nStyle, sal_uInt16 nOut, sa
THICKTHIN_LARGEGAP
THICKTHIN_LARGEGAP
};
};
size_t
const
len
=
SAL_N_ELEMENTS
(
aDoubleStyles
);
int
i
=
0
,
len
=
sizeof
(
aDoubleStyles
)
/
sizeof
(
SvxBorderStyle
);
long
nWidth
=
0
;
long
nWidth
=
0
;
SvxBorderStyle
nTestStyle
(
NO_STYLE
);
SvxBorderStyle
nTestStyle
(
NO_STYLE
);
while
(
i
<
len
&&
nWidth
==
0
)
for
(
size_t
i
=
0
;
i
<
len
&&
nWidth
==
0
;
++
i
)
{
{
nTestStyle
=
aDoubleStyles
[
i
];
nTestStyle
=
aDoubleStyles
[
i
];
BorderWidthImpl
aWidthImpl
=
getWidthImpl
(
nTestStyle
);
BorderWidthImpl
aWidthImpl
=
getWidthImpl
(
nTestStyle
);
nWidth
=
aWidthImpl
.
GuessWidth
(
nOut
,
nIn
,
nDist
);
nWidth
=
aWidthImpl
.
GuessWidth
(
nOut
,
nIn
,
nDist
);
i
++
;
}
}
// If anything matched, then set it
// If anything matched, then set it
...
...
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