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
ff004d7d
Kaydet (Commit)
ff004d7d
authored
Ara 31, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1398229 Logically dead code
Change-Id: I8d192d27497ddb4d736b6b3fe38dfa9463bba43a
üst
da0d7cfb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
imagemgr.cxx
svtools/source/misc/imagemgr.cxx
+2
-5
No files found.
svtools/source/misc/imagemgr.cxx
Dosyayı görüntüle @
ff004d7d
...
...
@@ -485,10 +485,6 @@ static sal_uInt16 GetFolderDescriptionId_Impl( const OUString& rURL )
static
Image
GetImageFromList_Impl
(
sal_uInt16
nImageId
,
bool
bBig
)
{
if
(
!
bBig
&&
IMG_FOLDER
==
nImageId
)
// return our new small folder image (256 colors)
return
Image
(
SvtResId
(
IMG_SVT_FOLDER
)
);
switch
(
nImageId
)
{
case
IMG_IMPRESS
:
...
...
@@ -544,7 +540,8 @@ static Image GetImageFromList_Impl( sal_uInt16 nImageId, bool bBig )
case
IMG_TABLE
:
return
Image
(
BitmapEx
(
SvtResId
(
bBig
?
BMP_TABLE_LC
:
BMP_TABLE_SC
)));
case
IMG_FOLDER
:
return
Image
(
BitmapEx
(
SvtResId
(
bBig
?
BMP_FOLDER_LC
:
BMP_FOLDER_SC
)));
// if not bBig, then return our new small folder image (256 colors)
return
bBig
?
Image
(
BitmapEx
(
SvtResId
(
BMP_FOLDER_LC
)))
:
Image
(
SvtResId
(
IMG_SVT_FOLDER
));
case
IMG_DXF
:
return
Image
(
BitmapEx
(
SvtResId
(
bBig
?
BMP_DXF_LC
:
BMP_DXF_SC
)));
case
IMG_MET
:
...
...
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