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
3558f9c0
Kaydet (Commit)
3558f9c0
authored
May 17, 2014
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part17
Change-Id: Ie6dbe87599c9cf53c7b9cc6becb9438e62cdb537
üst
0d8908b3
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
77 additions
and
77 deletions
+77
-77
descriptor.cxx
svtools/source/graphic/descriptor.cxx
+19
-19
graphic.cxx
svtools/source/graphic/graphic.cxx
+5
-5
provider.cxx
svtools/source/graphic/provider.cxx
+3
-3
renderer.cxx
svtools/source/graphic/renderer.cxx
+16
-16
hatchwindow.cxx
svtools/source/hatchwindow/hatchwindow.cxx
+1
-1
unoiface.cxx
svtools/source/uno/unoiface.cxx
+8
-8
unoimap.cxx
svtools/source/uno/unoimap.cxx
+25
-25
No files found.
svtools/source/graphic/descriptor.cxx
Dosyayı görüntüle @
3558f9c0
...
...
@@ -198,15 +198,15 @@ uno::Any SAL_CALL GraphicDescriptor::queryAggregation( const uno::Type & rType )
{
uno
::
Any
aAny
;
if
(
rType
==
::
getCppuType
((
const
uno
::
Reference
<
lang
::
XServiceInfo
>*
)
0
)
)
if
(
rType
==
cppu
::
UnoType
<
lang
::
XServiceInfo
>::
get
()
)
aAny
<<=
uno
::
Reference
<
lang
::
XServiceInfo
>
(
this
);
else
if
(
rType
==
::
getCppuType
((
const
uno
::
Reference
<
lang
::
XTypeProvider
>*
)
0
)
)
else
if
(
rType
==
cppu
::
UnoType
<
lang
::
XTypeProvider
>::
get
()
)
aAny
<<=
uno
::
Reference
<
lang
::
XTypeProvider
>
(
this
);
else
if
(
rType
==
::
getCppuType
((
const
uno
::
Reference
<
beans
::
XPropertySet
>*
)
0
)
)
else
if
(
rType
==
cppu
::
UnoType
<
beans
::
XPropertySet
>::
get
()
)
aAny
<<=
uno
::
Reference
<
beans
::
XPropertySet
>
(
this
);
else
if
(
rType
==
::
getCppuType
((
const
uno
::
Reference
<
beans
::
XPropertyState
>*
)
0
)
)
else
if
(
rType
==
cppu
::
UnoType
<
beans
::
XPropertyState
>::
get
()
)
aAny
<<=
uno
::
Reference
<
beans
::
XPropertyState
>
(
this
);
else
if
(
rType
==
::
getCppuType
((
const
uno
::
Reference
<
beans
::
XMultiPropertySet
>*
)
0
)
)
else
if
(
rType
==
cppu
::
UnoType
<
beans
::
XMultiPropertySet
>::
get
()
)
aAny
<<=
uno
::
Reference
<
beans
::
XMultiPropertySet
>
(
this
);
else
aAny
<<=
OWeakAggObject
::
queryAggregation
(
rType
);
...
...
@@ -268,12 +268,12 @@ uno::Sequence< uno::Type > SAL_CALL GraphicDescriptor::getTypes()
uno
::
Sequence
<
uno
::
Type
>
aTypes
(
6
);
uno
::
Type
*
pTypes
=
aTypes
.
getArray
();
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
uno
::
XAggregation
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
lang
::
XServiceInfo
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
lang
::
XTypeProvider
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
beans
::
XPropertySet
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
beans
::
XPropertyState
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
beans
::
XMultiPropertySet
>*
)
0
);
*
pTypes
++
=
cppu
::
UnoType
<
uno
::
XAggregation
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
lang
::
XServiceInfo
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
lang
::
XTypeProvider
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
beans
::
XPropertySet
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
beans
::
XPropertyState
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
beans
::
XMultiPropertySet
>::
get
(
);
return
aTypes
;
}
...
...
@@ -293,14 +293,14 @@ uno::Sequence< sal_Int8 > SAL_CALL GraphicDescriptor::getImplementationId()
static
::
comphelper
::
PropertyMapEntry
const
aEntries
[]
=
{
{
OUString
(
"GraphicType"
),
UNOGRAPHIC_GRAPHICTYPE
,
::
getCppuType
(
(
const
sal_Int8
*
)(
0
)
),
beans
::
PropertyAttribute
::
READONLY
,
0
},
{
OUString
(
"MimeType"
),
UNOGRAPHIC_MIMETYPE
,
::
getCppuType
(
(
const
OUString
*
)(
0
)
),
beans
::
PropertyAttribute
::
READONLY
,
0
},
{
OUString
(
"SizePixel"
),
UNOGRAPHIC_SIZEPIXEL
,
::
getCppuType
(
(
const
awt
::
Size
*
)(
0
)
),
beans
::
PropertyAttribute
::
READONLY
,
0
},
{
OUString
(
"Size100thMM"
),
UNOGRAPHIC_SIZE100THMM
,
::
getCppuType
(
(
const
awt
::
Size
*
)(
0
)
),
beans
::
PropertyAttribute
::
READONLY
,
0
},
{
OUString
(
"BitsPerPixel"
),
UNOGRAPHIC_BITSPERPIXEL
,
::
getCppuType
(
(
const
sal_uInt8
*
)(
0
)
),
beans
::
PropertyAttribute
::
READONLY
,
0
},
{
OUString
(
"Transparent"
),
UNOGRAPHIC_TRANSPARENT
,
::
getCppuType
(
(
const
sal_Bool
*
)(
0
)
),
beans
::
PropertyAttribute
::
READONLY
,
0
},
{
OUString
(
"Alpha"
),
UNOGRAPHIC_ALPHA
,
::
getCppuType
(
(
const
sal_Bool
*
)(
0
)
),
beans
::
PropertyAttribute
::
READONLY
,
0
},
{
OUString
(
"Animated"
),
UNOGRAPHIC_ANIMATED
,
::
getCppuType
(
(
const
sal_Bool
*
)(
0
)
),
beans
::
PropertyAttribute
::
READONLY
,
0
},
{
OUString
(
"GraphicType"
),
UNOGRAPHIC_GRAPHICTYPE
,
cppu
::
UnoType
<
sal_Int8
>::
get
(
),
beans
::
PropertyAttribute
::
READONLY
,
0
},
{
OUString
(
"MimeType"
),
UNOGRAPHIC_MIMETYPE
,
cppu
::
UnoType
<
OUString
>::
get
(
),
beans
::
PropertyAttribute
::
READONLY
,
0
},
{
OUString
(
"SizePixel"
),
UNOGRAPHIC_SIZEPIXEL
,
cppu
::
UnoType
<
awt
::
Size
>::
get
(
),
beans
::
PropertyAttribute
::
READONLY
,
0
},
{
OUString
(
"Size100thMM"
),
UNOGRAPHIC_SIZE100THMM
,
cppu
::
UnoType
<
awt
::
Size
>::
get
(
),
beans
::
PropertyAttribute
::
READONLY
,
0
},
{
OUString
(
"BitsPerPixel"
),
UNOGRAPHIC_BITSPERPIXEL
,
cppu
::
UnoType
<
sal_uInt8
>::
get
(
),
beans
::
PropertyAttribute
::
READONLY
,
0
},
{
OUString
(
"Transparent"
),
UNOGRAPHIC_TRANSPARENT
,
cppu
::
UnoType
<
sal_Bool
>::
get
(
),
beans
::
PropertyAttribute
::
READONLY
,
0
},
{
OUString
(
"Alpha"
),
UNOGRAPHIC_ALPHA
,
cppu
::
UnoType
<
sal_Bool
>::
get
(
),
beans
::
PropertyAttribute
::
READONLY
,
0
},
{
OUString
(
"Animated"
),
UNOGRAPHIC_ANIMATED
,
cppu
::
UnoType
<
sal_Bool
>::
get
(
),
beans
::
PropertyAttribute
::
READONLY
,
0
},
{
OUString
(),
0
,
css
::
uno
::
Type
(),
0
,
0
}
};
...
...
svtools/source/graphic/graphic.cxx
Dosyayı görüntüle @
3558f9c0
...
...
@@ -61,11 +61,11 @@ uno::Any SAL_CALL Graphic::queryAggregation( const uno::Type& rType )
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
uno
::
Any
aAny
;
if
(
rType
==
::
getCppuType
((
const
uno
::
Reference
<
graphic
::
XGraphic
>*
)
0
)
)
if
(
rType
==
cppu
::
UnoType
<
graphic
::
XGraphic
>::
get
()
)
aAny
<<=
uno
::
Reference
<
graphic
::
XGraphic
>
(
this
);
else
if
(
rType
==
::
getCppuType
((
const
uno
::
Reference
<
awt
::
XBitmap
>*
)
0
)
)
else
if
(
rType
==
cppu
::
UnoType
<
awt
::
XBitmap
>::
get
()
)
aAny
<<=
uno
::
Reference
<
awt
::
XBitmap
>
(
this
);
else
if
(
rType
==
::
getCppuType
((
const
uno
::
Reference
<
lang
::
XUnoTunnel
>*
)
0
)
)
else
if
(
rType
==
cppu
::
UnoType
<
lang
::
XUnoTunnel
>::
get
()
)
aAny
<<=
uno
::
Reference
<
lang
::
XUnoTunnel
>
(
this
);
else
aAny
<<=
::
unographic
::
GraphicDescriptor
::
queryAggregation
(
rType
);
...
...
@@ -151,8 +151,8 @@ uno::Sequence< uno::Type > SAL_CALL Graphic::getTypes()
sal_Int32
nOldCount
=
aRet
.
getLength
();
aRet
.
realloc
(
nOldCount
+
2
);
aRet
[
nOldCount
]
=
::
getCppuType
((
const
uno
::
Reference
<
graphic
::
XGraphic
>*
)
0
);
aRet
[
nOldCount
+
1
]
=
::
getCppuType
((
const
uno
::
Reference
<
awt
::
XBitmap
>*
)
0
);
aRet
[
nOldCount
]
=
cppu
::
UnoType
<
graphic
::
XGraphic
>::
get
(
);
aRet
[
nOldCount
+
1
]
=
cppu
::
UnoType
<
awt
::
XBitmap
>::
get
(
);
return
aRet
;
}
...
...
svtools/source/graphic/provider.cxx
Dosyayı görüntüle @
3558f9c0
...
...
@@ -84,9 +84,9 @@ uno::Sequence< uno::Type > SAL_CALL GraphicProvider::getTypes()
uno
::
Sequence
<
uno
::
Type
>
aTypes
(
3
);
uno
::
Type
*
pTypes
=
aTypes
.
getArray
();
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
lang
::
XServiceInfo
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
lang
::
XTypeProvider
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
graphic
::
XGraphicProvider
>*
)
0
);
*
pTypes
++
=
cppu
::
UnoType
<
lang
::
XServiceInfo
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
lang
::
XTypeProvider
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
graphic
::
XGraphicProvider
>::
get
(
);
return
aTypes
;
}
...
...
svtools/source/graphic/renderer.cxx
Dosyayı görüntüle @
3558f9c0
...
...
@@ -61,17 +61,17 @@ uno::Any SAL_CALL GraphicRendererVCL::queryAggregation( const uno::Type & rType
{
uno
::
Any
aAny
;
if
(
rType
==
::
getCppuType
((
const
uno
::
Reference
<
lang
::
XServiceInfo
>*
)
0
)
)
if
(
rType
==
cppu
::
UnoType
<
lang
::
XServiceInfo
>::
get
()
)
aAny
<<=
uno
::
Reference
<
lang
::
XServiceInfo
>
(
this
);
else
if
(
rType
==
::
getCppuType
((
const
uno
::
Reference
<
lang
::
XTypeProvider
>*
)
0
)
)
else
if
(
rType
==
cppu
::
UnoType
<
lang
::
XTypeProvider
>::
get
()
)
aAny
<<=
uno
::
Reference
<
lang
::
XTypeProvider
>
(
this
);
else
if
(
rType
==
::
getCppuType
((
const
uno
::
Reference
<
beans
::
XPropertySet
>*
)
0
)
)
else
if
(
rType
==
cppu
::
UnoType
<
beans
::
XPropertySet
>::
get
()
)
aAny
<<=
uno
::
Reference
<
beans
::
XPropertySet
>
(
this
);
else
if
(
rType
==
::
getCppuType
((
const
uno
::
Reference
<
beans
::
XPropertyState
>*
)
0
)
)
else
if
(
rType
==
cppu
::
UnoType
<
beans
::
XPropertyState
>::
get
()
)
aAny
<<=
uno
::
Reference
<
beans
::
XPropertyState
>
(
this
);
else
if
(
rType
==
::
getCppuType
((
const
uno
::
Reference
<
beans
::
XMultiPropertySet
>*
)
0
)
)
else
if
(
rType
==
cppu
::
UnoType
<
beans
::
XMultiPropertySet
>::
get
()
)
aAny
<<=
uno
::
Reference
<
beans
::
XMultiPropertySet
>
(
this
);
else
if
(
rType
==
::
getCppuType
((
const
uno
::
Reference
<
graphic
::
XGraphicRenderer
>*
)
0
)
)
else
if
(
rType
==
cppu
::
UnoType
<
graphic
::
XGraphicRenderer
>::
get
()
)
aAny
<<=
uno
::
Reference
<
graphic
::
XGraphicRenderer
>
(
this
);
else
aAny
<<=
OWeakAggObject
::
queryAggregation
(
rType
);
...
...
@@ -135,13 +135,13 @@ uno::Sequence< uno::Type > SAL_CALL GraphicRendererVCL::getTypes()
uno
::
Sequence
<
uno
::
Type
>
aTypes
(
7
);
uno
::
Type
*
pTypes
=
aTypes
.
getArray
();
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
uno
::
XAggregation
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
lang
::
XServiceInfo
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
lang
::
XTypeProvider
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
beans
::
XPropertySet
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
beans
::
XPropertyState
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
beans
::
XMultiPropertySet
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
graphic
::
XGraphicRenderer
>*
)
0
);
*
pTypes
++
=
cppu
::
UnoType
<
uno
::
XAggregation
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
lang
::
XServiceInfo
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
lang
::
XTypeProvider
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
beans
::
XPropertySet
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
beans
::
XPropertyState
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
beans
::
XMultiPropertySet
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
graphic
::
XGraphicRenderer
>::
get
(
);
return
aTypes
;
}
...
...
@@ -161,9 +161,9 @@ uno::Sequence< sal_Int8 > SAL_CALL GraphicRendererVCL::getImplementationId()
static
::
comphelper
::
PropertyMapEntry
const
aEntries
[]
=
{
{
OUString
(
"Device"
),
UNOGRAPHIC_DEVICE
,
::
getCppuType
(
(
const
uno
::
Any
*
)(
0
)
),
0
,
0
},
{
OUString
(
"DestinationRect"
),
UNOGRAPHIC_DESTINATIONRECT
,
::
getCppuType
(
(
const
awt
::
Rectangle
*
)(
0
)
),
0
,
0
},
{
OUString
(
"RenderData"
),
UNOGRAPHIC_RENDERDATA
,
::
getCppuType
(
(
const
uno
::
Any
*
)(
0
)
),
0
,
0
},
{
OUString
(
"Device"
),
UNOGRAPHIC_DEVICE
,
cppu
::
UnoType
<
uno
::
Any
>::
get
(
),
0
,
0
},
{
OUString
(
"DestinationRect"
),
UNOGRAPHIC_DESTINATIONRECT
,
cppu
::
UnoType
<
awt
::
Rectangle
>::
get
(
),
0
,
0
},
{
OUString
(
"RenderData"
),
UNOGRAPHIC_RENDERDATA
,
cppu
::
UnoType
<
uno
::
Any
>::
get
(
),
0
,
0
},
{
OUString
(),
0
,
css
::
uno
::
Type
(),
0
,
0
}
};
...
...
svtools/source/hatchwindow/hatchwindow.cxx
Dosyayı görüntüle @
3558f9c0
...
...
@@ -148,7 +148,7 @@ uno::Sequence< uno::Type > SAL_CALL VCLXHatchWindow::getTypes()
if
(
pTypeCollection
==
NULL
)
{
static
::
cppu
::
OTypeCollection
aTypeCollection
(
::
getCppuType
((
const
uno
::
Reference
<
embed
::
XHatchWindow
>*
)
NULL
),
cppu
::
UnoType
<
embed
::
XHatchWindow
>::
get
(
),
VCLXHatchWindow
::
getTypes
()
);
pTypeCollection
=
&
aTypeCollection
;
...
...
svtools/source/uno/unoiface.cxx
Dosyayı görüntüle @
3558f9c0
...
...
@@ -194,9 +194,9 @@ VCLXMultiLineEdit::~VCLXMultiLineEdit()
// ::com::sun::star::lang::XTypeProvider
IMPL_XTYPEPROVIDER_START
(
VCLXMultiLineEdit
)
getCppuType
(
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XTextComponent
>*
)
NULL
),
getCppuType
(
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XTextArea
>*
)
NULL
),
getCppuType
(
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XTextLayoutConstrains
>*
)
NULL
),
cppu
::
UnoType
<
com
::
sun
::
star
::
awt
::
XTextComponent
>::
get
(
),
cppu
::
UnoType
<
com
::
sun
::
star
::
awt
::
XTextArea
>::
get
(
),
cppu
::
UnoType
<
com
::
sun
::
star
::
awt
::
XTextLayoutConstrains
>::
get
(
),
VCLXWindow
::
getTypes
()
IMPL_XTYPEPROVIDER_END
...
...
@@ -557,8 +557,8 @@ VCLXFileControl::~VCLXFileControl()
// ::com::sun::star::lang::XTypeProvider
IMPL_XTYPEPROVIDER_START
(
VCLXFileControl
)
getCppuType
(
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XTextComponent
>*
)
NULL
),
getCppuType
(
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XTextLayoutConstrains
>*
)
NULL
),
cppu
::
UnoType
<
com
::
sun
::
star
::
awt
::
XTextComponent
>::
get
(
),
cppu
::
UnoType
<
com
::
sun
::
star
::
awt
::
XTextLayoutConstrains
>::
get
(
),
VCLXWindow
::
getTypes
()
IMPL_XTYPEPROVIDER_END
...
...
@@ -1677,7 +1677,7 @@ SVTXNumericField::~SVTXNumericField()
// ::com::sun::star::lang::XTypeProvider
IMPL_XTYPEPROVIDER_START
(
SVTXNumericField
)
getCppuType
(
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XNumericField
>*
)
NULL
),
cppu
::
UnoType
<
com
::
sun
::
star
::
awt
::
XNumericField
>::
get
(
),
SVTXFormattedField
::
getTypes
()
IMPL_XTYPEPROVIDER_END
...
...
@@ -1844,7 +1844,7 @@ SVTXCurrencyField::~SVTXCurrencyField()
// ::com::sun::star::lang::XTypeProvider
IMPL_XTYPEPROVIDER_START
(
SVTXCurrencyField
)
getCppuType
(
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XCurrencyField
>*
)
NULL
),
cppu
::
UnoType
<
com
::
sun
::
star
::
awt
::
XCurrencyField
>::
get
(
),
SVTXFormattedField
::
getTypes
()
IMPL_XTYPEPROVIDER_END
...
...
@@ -2133,7 +2133,7 @@ void VCLXProgressBar::ImplUpdateValue()
// ::com::sun::star::lang::XTypeProvider
IMPL_XTYPEPROVIDER_START
(
VCLXProgressBar
)
getCppuType
(
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XProgressBar
>*
)
NULL
),
cppu
::
UnoType
<
com
::
sun
::
star
::
awt
::
XProgressBar
>::
get
(
),
VCLXWindow
::
getTypes
()
IMPL_XTYPEPROVIDER_END
...
...
svtools/source/uno/unoimap.cxx
Dosyayı görüntüle @
3558f9c0
...
...
@@ -131,11 +131,11 @@ PropertySetInfo * SvUnoImageMapObject::createPropertySetInfo( sal_uInt16 nType )
{
static
PropertyMapEntry
const
aPolygonObj_Impl
[]
=
{
{
OUString
(
"URL"
),
HANDLE_URL
,
::
getCppuType
((
const
OUString
*
)
0
),
0
,
0
},
{
OUString
(
"Title"
),
HANDLE_TITLE
,
::
getCppuType
((
const
OUString
*
)
0
),
0
,
0
},
{
OUString
(
"Description"
),
HANDLE_DESCRIPTION
,
::
getCppuType
((
const
OUString
*
)
0
),
0
,
0
},
{
OUString
(
"Target"
),
HANDLE_TARGET
,
::
getCppuType
((
const
OUString
*
)
0
),
0
,
0
},
{
OUString
(
"Name"
),
HANDLE_NAME
,
::
getCppuType
((
const
OUString
*
)
0
),
0
,
0
},
{
OUString
(
"URL"
),
HANDLE_URL
,
cppu
::
UnoType
<
OUString
>::
get
(
),
0
,
0
},
{
OUString
(
"Title"
),
HANDLE_TITLE
,
cppu
::
UnoType
<
OUString
>::
get
(
),
0
,
0
},
{
OUString
(
"Description"
),
HANDLE_DESCRIPTION
,
cppu
::
UnoType
<
OUString
>::
get
(
),
0
,
0
},
{
OUString
(
"Target"
),
HANDLE_TARGET
,
cppu
::
UnoType
<
OUString
>::
get
(
),
0
,
0
},
{
OUString
(
"Name"
),
HANDLE_NAME
,
cppu
::
UnoType
<
OUString
>::
get
(
),
0
,
0
},
{
OUString
(
"IsActive"
),
HANDLE_ISACTIVE
,
::
getBooleanCppuType
(),
0
,
0
},
{
OUString
(
"Polygon"
),
HANDLE_POLYGON
,
::
getCppuType
((
const
PointSequence
*
)
0
),
0
,
0
},
{
OUString
(),
0
,
css
::
uno
::
Type
(),
0
,
0
}
...
...
@@ -147,14 +147,14 @@ PropertySetInfo * SvUnoImageMapObject::createPropertySetInfo( sal_uInt16 nType )
{
static
PropertyMapEntry
const
aCircleObj_Impl
[]
=
{
{
OUString
(
"URL"
),
HANDLE_URL
,
::
getCppuType
((
const
OUString
*
)
0
),
0
,
0
},
{
OUString
(
"Title"
),
HANDLE_TITLE
,
::
getCppuType
((
const
OUString
*
)
0
),
0
,
0
},
{
OUString
(
"Description"
),
HANDLE_DESCRIPTION
,
::
getCppuType
((
const
OUString
*
)
0
),
0
,
0
},
{
OUString
(
"Target"
),
HANDLE_TARGET
,
::
getCppuType
((
const
OUString
*
)
0
),
0
,
0
},
{
OUString
(
"Name"
),
HANDLE_NAME
,
::
getCppuType
((
const
OUString
*
)
0
),
0
,
0
},
{
OUString
(
"URL"
),
HANDLE_URL
,
cppu
::
UnoType
<
OUString
>::
get
(
),
0
,
0
},
{
OUString
(
"Title"
),
HANDLE_TITLE
,
cppu
::
UnoType
<
OUString
>::
get
(
),
0
,
0
},
{
OUString
(
"Description"
),
HANDLE_DESCRIPTION
,
cppu
::
UnoType
<
OUString
>::
get
(
),
0
,
0
},
{
OUString
(
"Target"
),
HANDLE_TARGET
,
cppu
::
UnoType
<
OUString
>::
get
(
),
0
,
0
},
{
OUString
(
"Name"
),
HANDLE_NAME
,
cppu
::
UnoType
<
OUString
>::
get
(
),
0
,
0
},
{
OUString
(
"IsActive"
),
HANDLE_ISACTIVE
,
::
getBooleanCppuType
(),
0
,
0
},
{
OUString
(
"Center"
),
HANDLE_CENTER
,
::
getCppuType
((
const
awt
::
Point
*
)
0
),
0
,
0
},
{
OUString
(
"Radius"
),
HANDLE_RADIUS
,
::
getCppuType
((
const
sal_Int32
*
)
0
),
0
,
0
},
{
OUString
(
"Center"
),
HANDLE_CENTER
,
cppu
::
UnoType
<
awt
::
Point
>::
get
(
),
0
,
0
},
{
OUString
(
"Radius"
),
HANDLE_RADIUS
,
cppu
::
UnoType
<
sal_Int32
>::
get
(
),
0
,
0
},
{
OUString
(),
0
,
css
::
uno
::
Type
(),
0
,
0
}
};
...
...
@@ -165,13 +165,13 @@ PropertySetInfo * SvUnoImageMapObject::createPropertySetInfo( sal_uInt16 nType )
{
static
PropertyMapEntry
const
aRectangleObj_Impl
[]
=
{
{
OUString
(
"URL"
),
HANDLE_URL
,
::
getCppuType
((
const
OUString
*
)
0
),
0
,
0
},
{
OUString
(
"Title"
),
HANDLE_TITLE
,
::
getCppuType
((
const
OUString
*
)
0
),
0
,
0
},
{
OUString
(
"Description"
),
HANDLE_DESCRIPTION
,
::
getCppuType
((
const
OUString
*
)
0
),
0
,
0
},
{
OUString
(
"Target"
),
HANDLE_TARGET
,
::
getCppuType
((
const
OUString
*
)
0
),
0
,
0
},
{
OUString
(
"Name"
),
HANDLE_NAME
,
::
getCppuType
((
const
OUString
*
)
0
),
0
,
0
},
{
OUString
(
"URL"
),
HANDLE_URL
,
cppu
::
UnoType
<
OUString
>::
get
(
),
0
,
0
},
{
OUString
(
"Title"
),
HANDLE_TITLE
,
cppu
::
UnoType
<
OUString
>::
get
(
),
0
,
0
},
{
OUString
(
"Description"
),
HANDLE_DESCRIPTION
,
cppu
::
UnoType
<
OUString
>::
get
(
),
0
,
0
},
{
OUString
(
"Target"
),
HANDLE_TARGET
,
cppu
::
UnoType
<
OUString
>::
get
(
),
0
,
0
},
{
OUString
(
"Name"
),
HANDLE_NAME
,
cppu
::
UnoType
<
OUString
>::
get
(
),
0
,
0
},
{
OUString
(
"IsActive"
),
HANDLE_ISACTIVE
,
::
getBooleanCppuType
(),
0
,
0
},
{
OUString
(
"Boundary"
),
HANDLE_BOUNDARY
,
::
getCppuType
((
const
awt
::
Rectangle
*
)
0
),
0
,
0
},
{
OUString
(
"Boundary"
),
HANDLE_BOUNDARY
,
cppu
::
UnoType
<
awt
::
Rectangle
>::
get
(
),
0
,
0
},
{
OUString
(),
0
,
css
::
uno
::
Type
(),
0
,
0
}
};
...
...
@@ -350,13 +350,13 @@ uno::Sequence< uno::Type > SAL_CALL SvUnoImageMapObject::getTypes()
uno
::
Sequence
<
uno
::
Type
>
aTypes
(
7
);
uno
::
Type
*
pTypes
=
aTypes
.
getArray
();
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
XAggregation
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
XEventsSupplier
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
XServiceInfo
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
XPropertySet
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
XMultiPropertySet
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
XTypeProvider
>*
)
0
);
*
pTypes
++
=
::
getCppuType
((
const
uno
::
Reference
<
XUnoTunnel
>*
)
0
);
*
pTypes
++
=
cppu
::
UnoType
<
XAggregation
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
XEventsSupplier
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
XServiceInfo
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
XPropertySet
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
XMultiPropertySet
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
XTypeProvider
>::
get
(
);
*
pTypes
++
=
cppu
::
UnoType
<
XUnoTunnel
>::
get
(
);
return
aTypes
;
}
...
...
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