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
01865259
Kaydet (Commit)
01865259
authored
Mar 28, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#982312 Logically dead code
Change-Id: I2b40ac902812ad27dc06bd20603414dff3358eef
üst
7f074dbf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
ctrltool.cxx
svtools/source/control/ctrltool.cxx
+1
-6
No files found.
svtools/source/control/ctrltool.cxx
Dosyayı görüntüle @
01865259
...
@@ -518,7 +518,6 @@ OUString FontList::GetFontMapText( const FontInfo& rInfo ) const
...
@@ -518,7 +518,6 @@ OUString FontList::GetFontMapText( const FontInfo& rInfo ) const
if
(
!
rStyleName
.
isEmpty
())
if
(
!
rStyleName
.
isEmpty
())
{
{
bool
bNotSynthetic
=
false
;
bool
bNotSynthetic
=
false
;
bool
bNoneAvailable
=
false
;
FontWeight
eWeight
=
rInfo
.
GetWeight
();
FontWeight
eWeight
=
rInfo
.
GetWeight
();
FontItalic
eItalic
=
rInfo
.
GetItalic
();
FontItalic
eItalic
=
rInfo
.
GetItalic
();
ImplFontListFontInfo
*
pFontInfo
=
pData
->
mpFirst
;
ImplFontListFontInfo
*
pFontInfo
=
pData
->
mpFirst
;
...
@@ -534,11 +533,7 @@ OUString FontList::GetFontMapText( const FontInfo& rInfo ) const
...
@@ -534,11 +533,7 @@ OUString FontList::GetFontMapText( const FontInfo& rInfo ) const
pFontInfo
=
pFontInfo
->
mpNext
;
pFontInfo
=
pFontInfo
->
mpNext
;
}
}
if
(
bNoneAvailable
)
if
(
!
bNotSynthetic
)
{
return
OUString
();
}
else
if
(
!
bNotSynthetic
)
{
{
if
(
maMapStyleNotAvailable
.
isEmpty
())
if
(
maMapStyleNotAvailable
.
isEmpty
())
((
FontList
*
)
this
)
->
maMapStyleNotAvailable
=
SVT_RESSTR
(
STR_SVT_FONTMAP_STYLENOTAVAILABLE
);
((
FontList
*
)
this
)
->
maMapStyleNotAvailable
=
SVT_RESSTR
(
STR_SVT_FONTMAP_STYLENOTAVAILABLE
);
...
...
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