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
45ae39b3
Kaydet (Commit)
45ae39b3
authored
Kas 05, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1215389 Uncaught exception
Change-Id: I107817e730ca0bd94d66ecf9719c3a6eb273e4f1
üst
32ae77e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
13 deletions
+21
-13
vcldemo.cxx
vcl/workben/vcldemo.cxx
+21
-13
No files found.
vcl/workben/vcldemo.cxx
Dosyayı görüntüle @
45ae39b3
...
@@ -43,19 +43,27 @@ void Main();
...
@@ -43,19 +43,27 @@ void Main();
SAL_IMPLEMENT_MAIN
()
SAL_IMPLEMENT_MAIN
()
{
{
tools
::
extendApplicationEnvironment
();
try
{
Reference
<
XComponentContext
>
xContext
=
defaultBootstrap_InitialComponentContext
();
tools
::
extendApplicationEnvironment
();
Reference
<
XMultiServiceFactory
>
xServiceManager
(
xContext
->
getServiceManager
(),
UNO_QUERY
);
Reference
<
XComponentContext
>
xContext
=
defaultBootstrap_InitialComponentContext
();
if
(
!
xServiceManager
.
is
()
)
Reference
<
XMultiServiceFactory
>
xServiceManager
(
xContext
->
getServiceManager
(),
UNO_QUERY
);
Application
::
Abort
(
"Failed to bootstrap"
);
if
(
!
xServiceManager
.
is
()
)
comphelper
::
setProcessServiceFactory
(
xServiceManager
);
Application
::
Abort
(
"Failed to bootstrap"
);
InitVCL
();
comphelper
::
setProcessServiceFactory
(
xServiceManager
);
::
Main
();
DeInitVCL
();
InitVCL
();
::
Main
();
DeInitVCL
();
}
catch
(
const
Exception
&
e
)
{
SAL_WARN
(
"vcl.app"
,
"Fatal exception: "
<<
e
.
Message
);
return
1
;
}
return
0
;
return
0
;
}
}
...
...
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