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
f2810ae4
Kaydet (Commit)
f2810ae4
authored
Nis 05, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#706523 Uncaught exception
Change-Id: I20515693bed76163433421f7fd05b319ed472a54
üst
a9d67869
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
formgeometryhandler.cxx
extensions/source/propctrlr/formgeometryhandler.cxx
+4
-1
propertyhandler.cxx
extensions/source/propctrlr/propertyhandler.cxx
+5
-0
propertyhandler.hxx
extensions/source/propctrlr/propertyhandler.hxx
+5
-0
No files found.
extensions/source/propctrlr/formgeometryhandler.cxx
Dosyayı görüntüle @
f2810ae4
...
@@ -521,7 +521,7 @@ namespace pcr
...
@@ -521,7 +521,7 @@ namespace pcr
throw
NullPointerException
();
throw
NullPointerException
();
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
PropertyId
nActuatingPropId
(
impl_getPropertyId_throw
(
_rActuatingPropertyName
)
);
PropertyId
nActuatingPropId
(
impl_getPropertyId_
no
throw
(
_rActuatingPropertyName
)
);
switch
(
nActuatingPropId
)
switch
(
nActuatingPropId
)
{
{
...
@@ -532,6 +532,9 @@ namespace pcr
...
@@ -532,6 +532,9 @@ namespace pcr
_rxInspectorUI
->
enablePropertyUI
(
PROPERTY_POSITIONX
,
eAnchorType
!=
TextContentAnchorType_AS_CHARACTER
);
_rxInspectorUI
->
enablePropertyUI
(
PROPERTY_POSITIONX
,
eAnchorType
!=
TextContentAnchorType_AS_CHARACTER
);
}
}
break
;
break
;
case
-
1
:
throw
RuntimeException
();
break
;
default
:
default
:
OSL_FAIL
(
"FormGeometryHandler::actuatingPropertyChanged: not registered for this property!"
);
OSL_FAIL
(
"FormGeometryHandler::actuatingPropertyChanged: not registered for this property!"
);
break
;
break
;
...
...
extensions/source/propctrlr/propertyhandler.cxx
Dosyayı görüntüle @
f2810ae4
...
@@ -320,6 +320,11 @@ namespace pcr
...
@@ -320,6 +320,11 @@ namespace pcr
return
nPropId
;
return
nPropId
;
}
}
PropertyId
PropertyHandler
::
impl_getPropertyId_nothrow
(
const
OUString
&
_rPropertyName
)
const
{
return
m_pInfoService
->
getPropertyId
(
_rPropertyName
);
}
void
PropertyHandler
::
impl_setContextDocumentModified_nothrow
()
const
void
PropertyHandler
::
impl_setContextDocumentModified_nothrow
()
const
{
{
Reference
<
XModifiable
>
xModifiable
(
impl_getContextDocument_nothrow
(),
UNO_QUERY
);
Reference
<
XModifiable
>
xModifiable
(
impl_getContextDocument_nothrow
(),
UNO_QUERY
);
...
...
extensions/source/propctrlr/propertyhandler.hxx
Dosyayı görüntüle @
f2810ae4
...
@@ -146,6 +146,11 @@ namespace pcr
...
@@ -146,6 +146,11 @@ namespace pcr
*/
*/
PropertyId
impl_getPropertyId_throw
(
const
OUString
&
_rPropertyName
)
const
;
PropertyId
impl_getPropertyId_throw
(
const
OUString
&
_rPropertyName
)
const
;
/** retrieves the property id for a given property name
@returns -1
if the property name is not known to our ->m_pInfoService
*/
PropertyId
impl_getPropertyId_nothrow
(
const
OUString
&
_rPropertyName
)
const
;
// helper for implementing doDescribeSupportedProperties
// helper for implementing doDescribeSupportedProperties
/** adds a description for the given string property to the given property vector
/** adds a description for the given string property to the given property vector
...
...
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