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
2dc82157
Kaydet (Commit)
2dc82157
authored
Ara 24, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
HasImageAtPos takes an id not a pos
so rename it Change-Id: Id83a11d31d1d51f414e6a98ebb71a227c7fe448f
üst
40578897
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
image.hxx
include/vcl/image.hxx
+1
-1
imagemgr.cxx
svtools/source/misc/imagemgr.cxx
+1
-1
ImageList.cxx
vcl/source/image/ImageList.cxx
+1
-1
No files found.
include/vcl/image.hxx
Dosyayı görüntüle @
2dc82157
...
...
@@ -101,7 +101,7 @@ public:
Image
GetImage
(
const
OUString
&
rImageName
)
const
;
sal_uInt16
GetImagePos
(
sal_uInt16
nId
)
const
;
bool
HasImage
AtPos
(
sal_uInt16
nId
)
const
;
bool
HasImage
ForId
(
sal_uInt16
nId
)
const
;
sal_uInt16
GetImagePos
(
const
OUString
&
rImageName
)
const
;
sal_uInt16
GetImageId
(
sal_uInt16
nPos
)
const
;
...
...
svtools/source/misc/imagemgr.cxx
Dosyayı görüntüle @
2dc82157
...
...
@@ -517,7 +517,7 @@ static Image GetImageFromList_Impl( sal_uInt16 nImageId, bool bBig )
pList
=
xSmallImageList
.
get
();
}
if
(
pList
->
HasImage
AtPos
(
nImageId
)
)
if
(
pList
->
HasImage
ForId
(
nImageId
)
)
return
pList
->
GetImage
(
nImageId
);
return
Image
();
}
...
...
vcl/source/image/ImageList.cxx
Dosyayı görüntüle @
2dc82157
...
...
@@ -287,7 +287,7 @@ sal_uInt16 ImageList::GetImagePos( sal_uInt16 nId ) const
return
IMAGELIST_IMAGE_NOTFOUND
;
}
bool
ImageList
::
HasImage
AtPos
(
sal_uInt16
nId
)
const
bool
ImageList
::
HasImage
ForId
(
sal_uInt16
nId
)
const
{
return
GetImagePos
(
nId
)
!=
IMAGELIST_IMAGE_NOTFOUND
;
}
...
...
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