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
fd8f3284
Kaydet (Commit)
fd8f3284
authored
Haz 10, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up uses of Any::getValue() in cppcanvas
Change-Id: I9a69b35ee7dc2da3912a72361e0e742bf480e6be
üst
d453d74b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
uno_mtfrenderer.cxx
cppcanvas/source/uno/uno_mtfrenderer.cxx
+2
-1
No files found.
cppcanvas/source/uno/uno_mtfrenderer.cxx
Dosyayı görüntüle @
fd8f3284
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
#include <cppcanvas/vclfactory.hxx>
#include <cppcanvas/vclfactory.hxx>
#include <comphelper/servicedecl.hxx>
#include <comphelper/servicedecl.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/factory.hxx>
#include <o3tl/any.hxx>
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
;
...
@@ -34,7 +35,7 @@ void MtfRenderer::draw (double fScaleX, double fScaleY) throw (uno::RuntimeExcep
...
@@ -34,7 +35,7 @@ void MtfRenderer::draw (double fScaleX, double fScaleY) throw (uno::RuntimeExcep
void
MtfRenderer
::
setFastPropertyValue
(
sal_Int32
nHandle
,
const
uno
::
Any
&
aAny
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
void
MtfRenderer
::
setFastPropertyValue
(
sal_Int32
nHandle
,
const
uno
::
Any
&
aAny
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
{
if
(
nHandle
==
0
)
{
if
(
nHandle
==
0
)
{
mpMetafile
=
reinterpret_cast
<
GDIMetaFile
*>
(
*
static_cast
<
const
sal_Int64
*>
(
aAny
.
getValue
()
)
);
mpMetafile
=
reinterpret_cast
<
GDIMetaFile
*>
(
*
o3tl
::
doAccess
<
sal_Int64
>
(
aAny
)
);
}
}
}
}
...
...
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