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
0535f42e
Kaydet (Commit)
0535f42e
authored
Eyl 17, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert Link<> to typed
Change-Id: Ic3ce7783614d90a34f9c4414bbc7df9774091805
üst
a609822d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
11 deletions
+9
-11
ImageControl.cxx
forms/source/component/ImageControl.cxx
+1
-2
ImageControl.hxx
forms/source/component/ImageControl.hxx
+1
-1
clickableimage.cxx
forms/source/component/clickableimage.cxx
+1
-2
clickableimage.hxx
forms/source/component/clickableimage.hxx
+1
-1
imgprod.hxx
forms/source/component/imgprod.hxx
+5
-5
No files found.
forms/source/component/ImageControl.cxx
Dosyayı görüntüle @
0535f42e
...
...
@@ -665,7 +665,7 @@ void SAL_CALL OImageControlModel::startProduction( ) throw (RuntimeException, s
}
IMPL_LINK
(
OImageControlModel
,
OnImageImportDone
,
::
Graphic
*
,
i_pGraphic
)
IMPL_LINK
_TYPED
(
OImageControlModel
,
OnImageImportDone
,
::
Graphic
*
,
i_pGraphic
,
void
)
{
const
Reference
<
XGraphic
>
xGraphic
(
i_pGraphic
!=
NULL
?
Image
(
i_pGraphic
->
GetBitmapEx
()
).
GetXGraphic
()
:
NULL
);
m_bExternalGraphic
=
false
;
...
...
@@ -678,7 +678,6 @@ IMPL_LINK( OImageControlModel, OnImageImportDone, ::Graphic*, i_pGraphic )
DBG_UNHANDLED_EXCEPTION
();
}
m_bExternalGraphic
=
true
;
return
1L
;
}
...
...
forms/source/component/ImageControl.hxx
Dosyayı görüntüle @
0535f42e
...
...
@@ -142,7 +142,7 @@ protected:
*/
bool
impl_updateStreamForURL_lck
(
const
OUString
&
_rURL
,
ValueChangeInstigator
_eInstigator
);
DECL_LINK
(
OnImageImportDone
,
::
Graphic
*
);
DECL_LINK
_TYPED
(
OnImageImportDone
,
::
Graphic
*
,
void
);
};
typedef
::
cppu
::
ImplHelper2
<
::
com
::
sun
::
star
::
awt
::
XMouseListener
...
...
forms/source/component/clickableimage.cxx
Dosyayı görüntüle @
0535f42e
...
...
@@ -856,7 +856,7 @@ namespace frm
}
}
IMPL_LINK
(
OClickableImageBaseModel
,
OnImageImportDone
,
Graphic
*
,
i_pGraphic
)
IMPL_LINK
_TYPED
(
OClickableImageBaseModel
,
OnImageImportDone
,
Graphic
*
,
i_pGraphic
,
void
)
{
const
Reference
<
XGraphic
>
xGraphic
(
i_pGraphic
!=
NULL
?
Graphic
(
i_pGraphic
->
GetBitmapEx
()).
GetXGraphic
()
:
NULL
);
if
(
!
xGraphic
.
is
()
)
...
...
@@ -868,7 +868,6 @@ namespace frm
m_xGraphicObject
=
css
::
graphic
::
GraphicObject
::
create
(
m_xContext
);
m_xGraphicObject
->
setGraphic
(
xGraphic
);
}
return
1L
;
}
...
...
forms/source/component/clickableimage.hxx
Dosyayı görüntüle @
0535f42e
...
...
@@ -153,7 +153,7 @@ namespace frm
// to be called from within the cloning-ctor of your derived class
void
implInitializeImageURL
(
);
DECL_LINK
(
OnImageImportDone
,
::
Graphic
*
);
DECL_LINK
_TYPED
(
OnImageImportDone
,
::
Graphic
*
,
void
);
};
class
ImageModelMethodGuard
:
public
::
osl
::
MutexGuard
...
...
forms/source/component/imgprod.hxx
Dosyayı görüntüle @
0535f42e
...
...
@@ -52,15 +52,15 @@ private:
typedef
boost
::
ptr_vector
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XImageConsumer
>
>
ConsumerList_t
;
OUString
maURL
;
OUString
maURL
;
ConsumerList_t
maConsList
;
Graphic
*
mpGraphic
;
SvStream
*
mpStm
;
sal_uInt32
mnTransIndex
;
bool
mbConsInit
;
Link
<
>
maDoneHdl
;
bool
mbConsInit
;
Link
<
Graphic
*
,
void
>
maDoneHdl
;
bool
ImplImportGraphic
(
Graphic
&
rGraphic
);
bool
ImplImportGraphic
(
Graphic
&
rGraphic
);
void
ImplUpdateData
(
const
Graphic
&
rGraphic
);
void
ImplInitConsumer
(
const
Graphic
&
rGraphic
);
void
ImplUpdateConsumer
(
const
Graphic
&
rGraphic
);
...
...
@@ -75,7 +75,7 @@ public:
void
NewDataAvailable
();
void
SetDoneHdl
(
const
Link
<>&
i_rHdl
)
{
maDoneHdl
=
i_rHdl
;
}
void
SetDoneHdl
(
const
Link
<
Graphic
*
,
void
>&
i_rHdl
)
{
maDoneHdl
=
i_rHdl
;
}
// ::com::sun::star::uno::XInterface
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
const
::
com
::
sun
::
star
::
uno
::
Type
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
...
...
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