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
93122eb0
Kaydet (Commit)
93122eb0
authored
Ara 03, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
uno::Sequence->std::vector in vcl::Throbber
Change-Id: I9240cd2240940e03e895a7544c9f51a29b048355
üst
2b17ec21
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
14 deletions
+3
-14
throbber.hxx
include/vcl/throbber.hxx
+0
-1
animatedimagespeer.cxx
toolkit/source/awt/animatedimagespeer.cxx
+3
-3
throbber.cxx
vcl/source/control/throbber.cxx
+0
-10
No files found.
include/vcl/throbber.hxx
Dosyayı görüntüle @
93122eb0
...
...
@@ -62,7 +62,6 @@ public:
void
stop
();
bool
isRunning
()
const
;
void
setImageList
(
const
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
graphic
::
XGraphic
>
>&
ImageList
);
void
setImageList
(
::
std
::
vector
<
Image
>
const
&
i_images
);
// default images
...
...
toolkit/source/awt/animatedimagespeer.cxx
Dosyayı görüntüle @
93122eb0
...
...
@@ -244,12 +244,12 @@ namespace toolkit
}
// found a set?
Sequence
<
Reference
<
XGraphic
>
>
aImages
;
std
::
vector
<
Image
>
aImages
;
if
(
(
nPreferredSet
>=
0
)
&&
(
size_t
(
nPreferredSet
)
<
nImageSetCount
)
)
{
// => set the images
::
std
::
vector
<
CachedImage
>
const
&
rImageSet
(
i_data
.
aCachedImageSets
[
nPreferredSet
]
);
aImages
.
re
alloc
(
rImageSet
.
size
()
);
aImages
.
re
size
(
rImageSet
.
size
()
);
sal_Int32
imageIndex
=
0
;
for
(
::
std
::
vector
<
CachedImage
>::
const_iterator
cachedImage
=
rImageSet
.
begin
();
cachedImage
!=
rImageSet
.
end
();
...
...
@@ -257,7 +257,7 @@ namespace toolkit
)
{
lcl_ensureImage_throw
(
xGraphicProvider
,
isHighContrast
,
*
cachedImage
);
aImages
[
imageIndex
]
=
cachedImage
->
xGraphic
;
aImages
[
imageIndex
]
=
Image
(
cachedImage
->
xGraphic
)
;
}
}
pThrobber
->
setImageList
(
aImages
);
...
...
vcl/source/control/throbber.cxx
Dosyayı görüntüle @
93122eb0
...
...
@@ -192,16 +192,6 @@ void Throbber::setImageList( ::std::vector< Image > const& i_images )
SetImage
(
aInitialImage
);
}
void
Throbber
::
setImageList
(
const
Sequence
<
Reference
<
XGraphic
>
>&
rImageList
)
{
::
std
::
vector
<
Image
>
aImages
(
rImageList
.
getLength
()
);
for
(
sal_Int32
i
=
0
;
i
<
rImageList
.
getLength
();
++
i
)
{
aImages
[
i
]
=
Image
(
rImageList
[
i
]);
}
setImageList
(
aImages
);
}
::
std
::
vector
<
OUString
>
Throbber
::
getDefaultImageURLs
(
const
ImageSet
i_imageSet
)
{
::
std
::
vector
<
OUString
>
aImageURLs
;
...
...
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