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
46a2576c
Kaydet (Commit)
46a2576c
authored
Şub 13, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#737846 Uncaught exception
Change-Id: I9257ec4d9ccb7c602a9537230b61be944371d3ad
üst
d051a056
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
11 deletions
+40
-11
fmdpage.hxx
include/svx/fmdpage.hxx
+4
-2
unomaster.hxx
include/svx/unomaster.hxx
+12
-2
unopage.hxx
include/svx/unopage.hxx
+7
-3
unopage.cxx
sd/source/ui/unoidl/unopage.cxx
+8
-2
unopage.hxx
sd/source/ui/unoidl/unopage.hxx
+9
-2
No files found.
include/svx/fmdpage.hxx
Dosyayı görüntüle @
46a2576c
...
@@ -34,11 +34,13 @@ protected:
...
@@ -34,11 +34,13 @@ protected:
// Creating a SdrObject based on a Description. Cann be used by derived classes to
// Creating a SdrObject based on a Description. Cann be used by derived classes to
// support own ::com::sun::star::drawing::Shapes (for example Controls)
// support own ::com::sun::star::drawing::Shapes (for example Controls)
virtual
SdrObject
*
_CreateSdrObject
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>
&
xShape
)
throw
();
virtual
SdrObject
*
_CreateSdrObject
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>
&
xShape
)
throw
(
std
::
exception
);
// The following method is called when a SvxShape object should be created.
// The following method is called when a SvxShape object should be created.
// Derived classes can create a derivation or an object aggregating SvxShape.
// Derived classes can create a derivation or an object aggregating SvxShape.
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>
_CreateShape
(
SdrObject
*
pObj
)
const
throw
();
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>
_CreateShape
(
SdrObject
*
pObj
)
const
throw
(
std
::
exception
);
public
:
public
:
SvxFmDrawPage
(
SdrPage
*
pPage
);
SvxFmDrawPage
(
SdrPage
*
pPage
);
...
...
include/svx/unomaster.hxx
Dosyayı görüntüle @
46a2576c
...
@@ -36,8 +36,18 @@ public:
...
@@ -36,8 +36,18 @@ public:
virtual
sal_Bool
queryAggregation
(
const
com
::
sun
::
star
::
uno
::
Type
&
rType
,
com
::
sun
::
star
::
uno
::
Any
&
aAny
)
=
0
;
virtual
sal_Bool
queryAggregation
(
const
com
::
sun
::
star
::
uno
::
Type
&
rType
,
com
::
sun
::
star
::
uno
::
Any
&
aAny
)
=
0
;
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySetInfo
>
SAL_CALL
getPropertySetInfo
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
=
0
;
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySetInfo
>
SAL_CALL
getPropertySetInfo
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
=
0
;
virtual
void
SAL_CALL
setPropertyValue
(
const
OUString
&
aPropertyName
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
aValue
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
beans
::
PropertyVetoException
,
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
lang
::
WrappedTargetException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
=
0
;
virtual
void
SAL_CALL
setPropertyValue
(
const
OUString
&
aPropertyName
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
aValue
)
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
getPropertyValue
(
const
OUString
&
PropertyName
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
lang
::
WrappedTargetException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
=
0
;
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
beans
::
PropertyVetoException
,
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
lang
::
WrappedTargetException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
=
0
;
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
getPropertyValue
(
const
OUString
&
PropertyName
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
lang
::
WrappedTargetException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
=
0
;
virtual
::
com
::
sun
::
star
::
beans
::
PropertyState
SAL_CALL
getPropertyState
(
const
OUString
&
PropertyName
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
=
0
;
virtual
::
com
::
sun
::
star
::
beans
::
PropertyState
SAL_CALL
getPropertyState
(
const
OUString
&
PropertyName
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
=
0
;
virtual
void
SAL_CALL
setPropertyToDefault
(
const
OUString
&
PropertyName
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
=
0
;
virtual
void
SAL_CALL
setPropertyToDefault
(
const
OUString
&
PropertyName
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
=
0
;
...
...
include/svx/unopage.hxx
Dosyayı görüntüle @
46a2576c
...
@@ -91,13 +91,15 @@ class SVX_DLLPUBLIC SvxDrawPage : public ::cppu::WeakAggImplHelper5< ::com::sun:
...
@@ -91,13 +91,15 @@ class SVX_DLLPUBLIC SvxDrawPage : public ::cppu::WeakAggImplHelper5< ::com::sun:
// Creating a SdrObject using it's Description.
// Creating a SdrObject using it's Description.
// Can be used by derived classes to support their owen Shapes (e.g. Controls).
// Can be used by derived classes to support their owen Shapes (e.g. Controls).
virtual
SdrObject
*
_CreateSdrObject
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>&
xShape
)
throw
();
virtual
SdrObject
*
_CreateSdrObject
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>&
xShape
)
throw
(
std
::
exception
);
static
SvxShape
*
CreateShapeByTypeAndInventor
(
sal_uInt16
nType
,
sal_uInt32
nInventor
,
SdrObject
*
pObj
=
NULL
,
SvxDrawPage
*
pPage
=
NULL
,
OUString
const
&
referer
=
OUString
()
)
throw
();
static
SvxShape
*
CreateShapeByTypeAndInventor
(
sal_uInt16
nType
,
sal_uInt32
nInventor
,
SdrObject
*
pObj
=
NULL
,
SvxDrawPage
*
pPage
=
NULL
,
OUString
const
&
referer
=
OUString
()
)
throw
();
// The following method is called if a SvxShape object is to be created.
// The following method is called if a SvxShape object is to be created.
// Derived classes can create a derivation or an SvxShape aggregating object.
// Derived classes can create a derivation or an SvxShape aggregating object.
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>
_CreateShape
(
SdrObject
*
pObj
)
const
throw
();
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>
_CreateShape
(
SdrObject
*
pObj
)
const
throw
(
std
::
exception
);
UNO3_GETIMPLEMENTATION_DECL
(
SvxDrawPage
)
UNO3_GETIMPLEMENTATION_DECL
(
SvxDrawPage
)
...
@@ -109,7 +111,9 @@ class SVX_DLLPUBLIC SvxDrawPage : public ::cppu::WeakAggImplHelper5< ::com::sun:
...
@@ -109,7 +111,9 @@ class SVX_DLLPUBLIC SvxDrawPage : public ::cppu::WeakAggImplHelper5< ::com::sun:
// XShapes
// XShapes
virtual
void
SAL_CALL
add
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>&
xShape
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
add
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>&
xShape
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
remove
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>&
xShape
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
remove
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>&
xShape
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
);
// XElementAccess
// XElementAccess
virtual
::
com
::
sun
::
star
::
uno
::
Type
SAL_CALL
getElementType
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
com
::
sun
::
star
::
uno
::
Type
SAL_CALL
getElementType
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
...
...
sd/source/ui/unoidl/unopage.cxx
Dosyayı görüntüle @
46a2576c
...
@@ -559,7 +559,12 @@ Reference< beans::XPropertySetInfo > SAL_CALL SdGenericDrawPage::getPropertySetI
...
@@ -559,7 +559,12 @@ Reference< beans::XPropertySetInfo > SAL_CALL SdGenericDrawPage::getPropertySetI
}
}
void
SAL_CALL
SdGenericDrawPage
::
setPropertyValue
(
const
OUString
&
aPropertyName
,
const
Any
&
aValue
)
void
SAL_CALL
SdGenericDrawPage
::
setPropertyValue
(
const
OUString
&
aPropertyName
,
const
Any
&
aValue
)
throw
(
beans
::
UnknownPropertyException
,
beans
::
PropertyVetoException
,
lang
::
IllegalArgumentException
,
lang
::
WrappedTargetException
,
uno
::
RuntimeException
)
throw
(
beans
::
UnknownPropertyException
,
beans
::
PropertyVetoException
,
lang
::
IllegalArgumentException
,
lang
::
WrappedTargetException
,
uno
::
RuntimeException
,
std
::
exception
)
{
{
::
SolarMutexGuard
aGuard
;
::
SolarMutexGuard
aGuard
;
...
@@ -1336,7 +1341,8 @@ void SAL_CALL SdGenericDrawPage::firePropertiesChangeEvent( const Sequence< OUSt
...
@@ -1336,7 +1341,8 @@ void SAL_CALL SdGenericDrawPage::firePropertiesChangeEvent( const Sequence< OUSt
{
{
}
}
Reference
<
drawing
::
XShape
>
SdGenericDrawPage
::
_CreateShape
(
SdrObject
*
pObj
)
const
throw
()
Reference
<
drawing
::
XShape
>
SdGenericDrawPage
::
_CreateShape
(
SdrObject
*
pObj
)
const
throw
(
std
::
exception
)
{
{
DBG_ASSERT
(
GetPage
(),
"SdGenericDrawPage::_CreateShape(), can't create shape for disposed page!"
);
DBG_ASSERT
(
GetPage
(),
"SdGenericDrawPage::_CreateShape(), can't create shape for disposed page!"
);
DBG_ASSERT
(
pObj
,
"SdGenericDrawPage::_CreateShape(), invalid call with pObj == 0!"
);
DBG_ASSERT
(
pObj
,
"SdGenericDrawPage::_CreateShape(), invalid call with pObj == 0!"
);
...
...
sd/source/ui/unoidl/unopage.hxx
Dosyayı görüntüle @
46a2576c
...
@@ -108,7 +108,8 @@ public:
...
@@ -108,7 +108,8 @@ public:
throw
(
std
::
exception
);
throw
(
std
::
exception
);
// SvxFmDrawPage
// SvxFmDrawPage
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>
_CreateShape
(
SdrObject
*
pObj
)
const
throw
();
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>
_CreateShape
(
SdrObject
*
pObj
)
const
throw
(
std
::
exception
);
// XInterface
// XInterface
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
const
::
com
::
sun
::
star
::
uno
::
Type
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
const
::
com
::
sun
::
star
::
uno
::
Type
&
rType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
...
@@ -124,7 +125,13 @@ public:
...
@@ -124,7 +125,13 @@ public:
// XPropertySet
// XPropertySet
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySetInfo
>
SAL_CALL
getPropertySetInfo
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySetInfo
>
SAL_CALL
getPropertySetInfo
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
setPropertyValue
(
const
OUString
&
aPropertyName
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
aValue
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
beans
::
PropertyVetoException
,
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
lang
::
WrappedTargetException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
setPropertyValue
(
const
OUString
&
aPropertyName
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
aValue
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
beans
::
PropertyVetoException
,
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
lang
::
WrappedTargetException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
);
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
getPropertyValue
(
const
OUString
&
PropertyName
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
lang
::
WrappedTargetException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
getPropertyValue
(
const
OUString
&
PropertyName
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
lang
::
WrappedTargetException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
addPropertyChangeListener
(
const
OUString
&
aPropertyName
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertyChangeListener
>&
xListener
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
lang
::
WrappedTargetException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
addPropertyChangeListener
(
const
OUString
&
aPropertyName
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertyChangeListener
>&
xListener
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
lang
::
WrappedTargetException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
removePropertyChangeListener
(
const
OUString
&
aPropertyName
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertyChangeListener
>&
aListener
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
lang
::
WrappedTargetException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
removePropertyChangeListener
(
const
OUString
&
aPropertyName
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertyChangeListener
>&
aListener
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
lang
::
WrappedTargetException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
...
...
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