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
8ca0f985
Kaydet (Commit)
8ca0f985
authored
Haz 04, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#705375 Mixing enum types
Change-Id: Ic7cb53d8fe427b4c28b890b64fa4437846b5b493
üst
ff998ca8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fontdialog.cxx
extensions/source/propctrlr/fontdialog.cxx
+2
-2
No files found.
extensions/source/propctrlr/fontdialog.cxx
Dosyayı görüntüle @
8ca0f985
...
@@ -343,7 +343,7 @@ namespace pcr
...
@@ -343,7 +343,7 @@ namespace pcr
const
SvxWeightItem
&
rWeightItem
=
const
SvxWeightItem
&
rWeightItem
=
static_cast
<
const
SvxWeightItem
&>
(
_rSet
.
Get
(
CFID_WEIGHT
));
static_cast
<
const
SvxWeightItem
&>
(
_rSet
.
Get
(
CFID_WEIGHT
));
float
nWeight
=
VCLUnoHelper
::
ConvertFontWeight
(
rWeightItem
.
GetWeight
());
float
nWeight
=
VCLUnoHelper
::
ConvertFontWeight
(
rWeightItem
.
GetWeight
());
lcl_pushBackPropertyValue
(
_out_properties
,
PROPERTY_FONT_WEIGHT
,
makeAny
(
nWeight
));
lcl_pushBackPropertyValue
(
_out_properties
,
PROPERTY_FONT_WEIGHT
,
makeAny
(
nWeight
));
}
}
...
@@ -356,7 +356,7 @@ namespace pcr
...
@@ -356,7 +356,7 @@ namespace pcr
const
SvxPostureItem
&
rPostureItem
=
const
SvxPostureItem
&
rPostureItem
=
static_cast
<
const
SvxPostureItem
&>
(
_rSet
.
Get
(
CFID_POSTURE
));
static_cast
<
const
SvxPostureItem
&>
(
_rSet
.
Get
(
CFID_POSTURE
));
::
com
::
sun
::
star
::
awt
::
FontSlant
eSlant
=
(
::
com
::
sun
::
star
::
awt
::
FontSlant
)
rPostureItem
.
GetPosture
(
);
::
com
::
sun
::
star
::
awt
::
FontSlant
eSlant
=
VCLUnoHelper
::
ConvertFontSlant
(
rPostureItem
.
GetPosture
()
);
lcl_pushBackPropertyValue
(
_out_properties
,
PROPERTY_FONT_SLANT
,
makeAny
((
sal_Int16
)
eSlant
));
lcl_pushBackPropertyValue
(
_out_properties
,
PROPERTY_FONT_SLANT
,
makeAny
((
sal_Int16
)
eSlant
));
}
}
...
...
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