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
5e4dc857
Kaydet (Commit)
5e4dc857
authored
Ock 19, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
svx: ExternalToolEdit: don't terminate if SystemShellExecute throws
Change-Id: Ia527a2c9467e2ab097cf688164f4176a52fa1d36
üst
c8ae30a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
extedit.cxx
svx/source/core/extedit.cxx
+11
-3
No files found.
svx/source/core/extedit.cxx
Dosyayı görüntüle @
5e4dc857
...
...
@@ -87,9 +87,17 @@ public:
void
ExternalToolEditThread
::
execute
()
{
Reference
<
XSystemShellExecute
>
xSystemShellExecute
(
SystemShellExecute
::
create
(
::
comphelper
::
getProcessComponentContext
()
)
);
xSystemShellExecute
->
execute
(
m_aFileName
,
OUString
(),
SystemShellExecuteFlags
::
URIS_ONLY
);
try
{
Reference
<
XSystemShellExecute
>
const
xSystemShellExecute
(
SystemShellExecute
::
create
(
::
comphelper
::
getProcessComponentContext
()));
xSystemShellExecute
->
execute
(
m_aFileName
,
OUString
(),
SystemShellExecuteFlags
::
URIS_ONLY
);
}
catch
(
uno
::
Exception
const
&
e
)
{
SAL_WARN
(
"svx"
,
"ExternalToolEditThread: exception: "
<<
e
.
Message
);
}
}
void
ExternalToolEdit
::
Edit
(
GraphicObject
const
*
const
pGraphicObject
)
...
...
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