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
cb1ec05a
Kaydet (Commit)
cb1ec05a
authored
Haz 19, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: fdo#65931 why are we futzing with leading on the preview anyway
Change-Id: I0eff88f165a737dfd9a2f348f04b17b6a6212e6f
üst
a1936e41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
drpcps.cxx
sw/source/ui/chrdlg/drpcps.cxx
+4
-6
No files found.
sw/source/ui/chrdlg/drpcps.cxx
Dosyayı görüntüle @
cb1ec05a
...
...
@@ -71,7 +71,6 @@ class SwDropCapsPict : public Control
long
mnLineH
;
long
mnTextH
;
sal_uInt16
mnDistance
;
sal_Int32
mnLeading
;
Printer
*
mpPrinter
;
bool
mbDelPrinter
;
/// The _ScriptInfo structure holds information on where we change from one
...
...
@@ -243,7 +242,6 @@ void SwDropCapsPict::UpdatePaintSettings( void )
// gray lines
mnTotLineH
=
(
GetOutputSizePixel
().
Height
()
-
2
*
BORDER
)
/
LINES
;
mnLineH
=
mnTotLineH
-
2
;
mnLeading
=
GetFontMetric
().
GetIntLeading
();
Font
aFont
;
{
...
...
@@ -302,11 +300,11 @@ void SwDropCapsPict::UpdatePaintSettings( void )
maCJKFont
.
SetFillColor
(
GetSettings
().
GetStyleSettings
().
GetWindowColor
());
maCTLFont
.
SetFillColor
(
GetSettings
().
GetStyleSettings
().
GetWindowColor
());
maCJKFont
.
SetSize
(
Size
(
0
,
maCJKFont
.
GetSize
().
Height
()
+
mnLeading
));
maCTLFont
.
SetSize
(
Size
(
0
,
maCTLFont
.
GetSize
().
Height
()
+
mnLeading
));
maCJKFont
.
SetSize
(
Size
(
0
,
maCJKFont
.
GetSize
().
Height
()));
maCTLFont
.
SetSize
(
Size
(
0
,
maCTLFont
.
GetSize
().
Height
()));
SetFont
(
aFont
);
aFont
.
SetSize
(
Size
(
0
,
aFont
.
GetSize
().
Height
()
+
mnLeading
));
aFont
.
SetSize
(
Size
(
0
,
aFont
.
GetSize
().
Height
()));
SetFont
(
aFont
);
maFont
=
aFont
;
...
...
@@ -356,7 +354,7 @@ void SwDropCapsPict::Paint(const Rectangle &/*rRect*/)
DrawRect
(
Rectangle
(
Point
(
BORDER
,
nY0
),
aTextSize
)
);
// draw Text
DrawPrev
(
Point
(
BORDER
,
nY0
-
mnLeading
)
);
DrawPrev
(
Point
(
BORDER
,
nY0
)
);
}
SetClipRegion
();
...
...
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