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
3ca14117
Kaydet (Commit)
3ca14117
authored
Mar 27, 2014
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#62155 - don't crash if we can't create an instance of a calc addin.
Change-Id: I478d7777949683a91e7adf9fa6b54e9d01ced676
üst
26f6ff08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
addincol.cxx
sc/source/core/tool/addincol.cxx
+12
-4
No files found.
sc/source/core/tool/addincol.cxx
Dosyayı görüntüle @
3ca14117
...
...
@@ -593,11 +593,19 @@ void ScUnoAddInCollection::LoadComponent( const ScUnoAddInFuncData& rFuncData )
{
OUString
aServiceName
=
aFullName
.
copy
(
0
,
nPos
);
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xServiceFactory
=
comphelper
::
getProcessServiceFactory
();
uno
::
Reference
<
uno
::
XInterface
>
xInterface
(
xServiceFactory
->
createInstance
(
aServiceName
)
);
try
{
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xServiceFactory
=
comphelper
::
getProcessServiceFactory
();
uno
::
Reference
<
uno
::
XInterface
>
xInterface
(
xServiceFactory
->
createInstance
(
aServiceName
)
);
if
(
xInterface
.
is
())
UpdateFromAddIn
(
xInterface
,
aServiceName
);
if
(
xInterface
.
is
())
UpdateFromAddIn
(
xInterface
,
aServiceName
);
}
catch
(
const
uno
::
Exception
&
)
{
SAL_WARN
(
"sc"
,
"Failed to create addin component '"
<<
aServiceName
<<
"'"
);
}
}
}
...
...
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