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
9949dc91
Kaydet (Commit)
9949dc91
authored
Tem 06, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ofz#889: UriReferenceFactory unavailable
Change-Id: Id041976e273c0ee2c1862c7a27dd39cfac12aaaf
üst
d28b5faa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
macrofld.cxx
sw/source/core/fields/macrofld.cxx
+11
-10
No files found.
sw/source/core/fields/macrofld.cxx
Dosyayı görüntüle @
9949dc91
...
@@ -207,16 +207,17 @@ void SwMacroField::CreateMacroString(
...
@@ -207,16 +207,17 @@ void SwMacroField::CreateMacroString(
bool
SwMacroField
::
isScriptURL
(
const
OUString
&
str
)
bool
SwMacroField
::
isScriptURL
(
const
OUString
&
str
)
{
{
uno
::
Reference
<
uno
::
XComponentContext
>
xContext
=
try
::
comphelper
::
getProcessComponentContext
();
{
uno
::
Reference
<
uno
::
XComponentContext
>
xContext
=
::
comphelper
::
getProcessComponentContext
();
uno
::
Reference
<
uri
::
XUriReferenceFactory
>
uno
::
Reference
<
uri
::
XUriReferenceFactory
>
xFactory
=
uri
::
UriReferenceFactory
::
create
(
xContext
);
xFactory
=
uri
::
UriReferenceFactory
::
create
(
xContext
);
uno
::
Reference
<
uri
::
XVndSunStarScriptUrl
>
xUrl
(
xFactory
->
parse
(
str
),
uno
::
UNO_QUERY
);
return
xUrl
.
is
();
uno
::
Reference
<
uri
::
XVndSunStarScriptUrl
>
}
xUrl
(
xFactory
->
parse
(
str
),
uno
::
UNO_QUERY
);
catch
(...)
{
return
xUrl
.
is
();
}
return
false
;
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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