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
d4cb9c3a
Kaydet (Commit)
d4cb9c3a
authored
Tem 27, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
temp tinderbox fix
Change-Id: Id233762e6b8547078544c55b2932462a10749882
üst
01c12dd9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
docfile.cxx
sfx2/source/doc/docfile.cxx
+15
-7
No files found.
sfx2/source/doc/docfile.cxx
Dosyayı görüntüle @
d4cb9c3a
...
...
@@ -416,16 +416,24 @@ Reference < XContent > SfxMedium::GetContent() const
if
(
!
pImpl
->
aContent
.
get
().
is
()
)
{
Reference
<
css
::
ucb
::
XContent
>
xContent
;
Reference
<
css
::
ucb
::
XCommandEnvironment
>
xEnv
;
// tdf#95144 add a default css::ucb::XCommandEnvironment
// in order to have http and https protocol manage certificates correctly
css
::
uno
::
Reference
<
task
::
XInteractionHandler
>
xIH
(
css
::
task
::
InteractionHandler
::
createWithParent
(
comphelper
::
getProcessComponentContext
(),
nullptr
)
);
try
{
// tdf#95144 add a default css::ucb::XCommandEnvironment
// in order to have http and https protocol manage certificates correctly
css
::
uno
::
Reference
<
task
::
XInteractionHandler
>
xIH
(
css
::
task
::
InteractionHandler
::
createWithParent
(
comphelper
::
getProcessComponentContext
(),
nullptr
)
);
css
::
uno
::
Reference
<
css
::
ucb
::
XProgressHandler
>
xProgress
;
::
ucbhelper
::
CommandEnvironment
*
pCommandEnv
=
new
::
ucbhelper
::
CommandEnvironment
(
new
comphelper
::
SimpleFileAccessInteraction
(
xIH
),
xProgress
);
css
::
uno
::
Reference
<
css
::
ucb
::
XProgressHandler
>
xProgress
;
::
ucbhelper
::
CommandEnvironment
*
pCommandEnv
=
new
::
ucbhelper
::
CommandEnvironment
(
new
comphelper
::
SimpleFileAccessInteraction
(
xIH
),
xProgress
);
Reference
<
css
::
ucb
::
XCommandEnvironment
>
xEnv
(
static_cast
<
css
::
ucb
::
XCommandEnvironment
*
>
(
pCommandEnv
),
css
::
uno
::
UNO_QUERY
);
xEnv
=
Reference
<
css
::
ucb
::
XCommandEnvironment
>
(
static_cast
<
css
::
ucb
::
XCommandEnvironment
*
>
(
pCommandEnv
),
css
::
uno
::
UNO_QUERY
);
}
catch
(...)
{
//temp tinderbox fix
}
const
SfxUnoAnyItem
*
pItem
=
SfxItemSet
::
GetItem
<
SfxUnoAnyItem
>
(
pImpl
->
m_pSet
,
SID_CONTENT
,
false
);
if
(
pItem
)
...
...
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