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
d5ccb733
Kaydet (Commit)
d5ccb733
authored
Agu 04, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
catch by const reference
üst
85143ce6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
25 deletions
+41
-25
controlmodelcontainerbase.cxx
toolkit/source/controls/controlmodelcontainerbase.cxx
+41
-25
No files found.
toolkit/source/controls/controlmodelcontainerbase.cxx
Dosyayı görüntüle @
d5ccb733
...
...
@@ -126,7 +126,7 @@ struct DisposeControlModel : public ::std::unary_function< Reference< XControlMo
{
::
comphelper
::
disposeComponent
(
_rxModel
);
}
catch
(
const
Exception
&
)
catch
(
const
Exception
&
)
{
OSL_TRACE
(
"DisposeControlModel::(): caught an exception while disposing a component!"
);
}
...
...
@@ -657,11 +657,16 @@ void ControlModelContainerBase::removeByName( const ::rtl::OUString& aName ) thr
mbGroupsUpToDate
=
sal_False
;
if
(
xPS
.
is
()
)
{
try
{
xPS
->
setPropertyValue
(
PROPERTY_RESOURCERESOLVER
,
makeAny
(
Reference
<
resource
::
XStringResourceResolver
>
()
)
);
}
catch
(
const
Exception
&
)
{
DBG_UNHANDLED_EXCEPTION
();
}
catch
(
const
Exception
&
)
{
DBG_UNHANDLED_EXCEPTION
();
}
}
// our "tab controller model" has potentially changed -> notify this
implNotifyTabModelChange
(
aName
);
...
...
@@ -849,7 +854,7 @@ namespace
Reference
<
XPropertySet
>
xModelProps
(
_rxModel
,
UNO_QUERY
);
xModelProps
->
getPropertyValue
(
getStepPropertyName
()
)
>>=
nStep
;
}
catch
(
const
Exception
&
)
catch
(
const
Exception
&
)
{
OSL_TRACE
(
"lcl_getDialogStep: caught an exception while determining the dialog page!"
);
}
...
...
@@ -1206,11 +1211,11 @@ void ResourceListener::startListening(
m_bListening
=
true
;
// --- SAFE ---
}
catch
(
RuntimeException
&
)
catch
(
const
RuntimeException
&
)
{
throw
;
}
catch
(
Exception
&
)
catch
(
const
Exception
&
)
{
}
}
...
...
@@ -1241,11 +1246,11 @@ void ResourceListener::stopListening()
xModifyBroadcaster
->
removeModifyListener
(
xThis
);
}
catch
(
RuntimeException
&
)
catch
(
const
RuntimeException
&
)
{
throw
;
}
catch
(
Exception
&
)
catch
(
const
Exception
&
)
{
}
}
...
...
@@ -1270,11 +1275,11 @@ throw ( RuntimeException )
{
xListener
->
modified
(
aEvent
);
}
catch
(
RuntimeException
&
)
catch
(
const
RuntimeException
&
)
{
throw
;
}
catch
(
Exception
&
)
catch
(
const
Exception
&
)
{
}
}
...
...
@@ -1312,11 +1317,11 @@ throw ( RuntimeException )
{
xListener
->
disposing
(
Source
);
}
catch
(
RuntimeException
&
)
catch
(
const
RuntimeException
&
)
{
throw
;
}
catch
(
Exception
&
)
catch
(
const
Exception
&
)
{
}
}
...
...
@@ -1342,11 +1347,11 @@ throw ( RuntimeException )
{
xModifyBroadcaster
->
removeModifyListener
(
xThis
);
}
catch
(
RuntimeException
&
)
catch
(
const
RuntimeException
&
)
{
throw
;
}
catch
(
Exception
&
)
catch
(
const
Exception
&
)
{
}
}
...
...
@@ -1412,7 +1417,7 @@ void ControlContainerBase::ImplRemoveControl( Reference< XControlModel >& rxMode
Reference
<
XComponent
>
const
xControlComp
(
xCtrl
,
UNO_QUERY_THROW
);
xControlComp
->
dispose
();
}
catch
(
Exception
const
&
)
catch
(
const
Exception
&
)
{
DBG_UNHANDLED_EXCEPTION
();
}
...
...
@@ -1608,8 +1613,11 @@ void ControlContainerBase::elementInserted( const ContainerEvent& Event ) throw(
{
ImplInsertControl
(
xModel
,
aName
);
}
catch
(
const
RuntimeException
&
e
)
{
throw
;
}
catch
(
const
Exception
&
)
catch
(
const
RuntimeException
&
)
{
throw
;
}
catch
(
const
Exception
&
)
{
DBG_UNHANDLED_EXCEPTION
();
}
...
...
@@ -1626,8 +1634,11 @@ void ControlContainerBase::elementRemoved( const ContainerEvent& Event ) throw(R
{
ImplRemoveControl
(
xModel
);
}
catch
(
const
RuntimeException
&
e
)
{
throw
;
}
catch
(
const
Exception
&
)
catch
(
const
RuntimeException
&
)
{
throw
;
}
catch
(
const
Exception
&
)
{
DBG_UNHANDLED_EXCEPTION
();
}
...
...
@@ -1645,8 +1656,11 @@ void ControlContainerBase::elementReplaced( const ContainerEvent& Event ) throw(
if
(
xModel
.
is
()
)
ImplRemoveControl
(
xModel
);
}
catch
(
const
RuntimeException
&
e
)
{
throw
;
}
catch
(
const
Exception
&
)
catch
(
const
RuntimeException
&
)
{
throw
;
}
catch
(
const
Exception
&
)
{
DBG_UNHANDLED_EXCEPTION
();
}
...
...
@@ -1659,8 +1673,11 @@ void ControlContainerBase::elementReplaced( const ContainerEvent& Event ) throw(
{
ImplInsertControl
(
xModel
,
aName
);
}
catch
(
const
RuntimeException
&
e
)
{
throw
;
}
catch
(
const
Exception
&
)
catch
(
const
RuntimeException
&
)
{
throw
;
}
catch
(
const
Exception
&
)
{
DBG_UNHANDLED_EXCEPTION
();
}
...
...
@@ -1792,8 +1809,7 @@ void lcl_ApplyResolverToNestedContainees( const Reference< resource::XStringRes
else
xPropertySet
->
setPropertyValue
(
aPropName
,
xNewStringResourceResolver
);
}
/*catch ( NoSuchElementException& )*/
// that's nonsense, this is never thrown above ...
catch
(
const
Exception
&
)
catch
(
const
Exception
&
)
{
}
...
...
@@ -1859,7 +1875,7 @@ uno::Reference< graphic::XGraphic > ControlContainerBase::Impl_getGraphicFromURL
xGraphic
=
xProvider
->
queryGraphic
(
aMediaProperties
);
}
}
catch
(
const
Exception
&
)
catch
(
const
Exception
&
)
{
DBG_UNHANDLED_EXCEPTION
();
}
...
...
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