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
7dca2226
Kaydet (Commit)
7dca2226
authored
Kas 18, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Set Referer for auto-reload
Change-Id: Ie6b664bcd2021820a5baf158582fce7a07c112af
üst
fd08abb5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
objmisc.cxx
sfx2/source/doc/objmisc.cxx
+4
-0
viewfrm.cxx
sfx2/source/view/viewfrm.cxx
+7
-1
No files found.
sfx2/source/doc/objmisc.cxx
Dosyayı görüntüle @
7dca2226
...
...
@@ -1445,6 +1445,10 @@ void AutoReloadTimer_Impl::Timeout()
aSet
.
Put
(
SfxBoolItem
(
SID_AUTOLOAD
,
sal_True
)
);
if
(
!
aUrl
.
isEmpty
()
)
aSet
.
Put
(
SfxStringItem
(
SID_FILE_NAME
,
aUrl
)
);
if
(
pObjSh
->
HasName
())
{
aSet
.
Put
(
SfxStringItem
(
SID_REFERER
,
pObjSh
->
GetMedium
()
->
GetName
()));
}
SfxRequest
aReq
(
SID_RELOAD
,
0
,
aSet
);
pObjSh
->
Get_Impl
()
->
pReloadTimer
=
0
;
delete
this
;
...
...
sfx2/source/view/viewfrm.cxx
Dosyayı görüntüle @
7dca2226
...
...
@@ -639,7 +639,13 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq )
pNewSet
->
Put
(
*
pURLItem
);
// Filter Detection
SfxMedium
aMedium
(
pURLItem
->
GetValue
(),
SFX_STREAM_READWRITE
);
OUString
referer
;
SFX_REQUEST_ARG
(
rReq
,
refererItem
,
SfxStringItem
,
SID_REFERER
,
false
);
if
(
refererItem
!=
0
)
{
referer
=
refererItem
->
GetValue
();
}
SfxMedium
aMedium
(
pURLItem
->
GetValue
(),
referer
,
SFX_STREAM_READWRITE
);
SfxFilterMatcher
().
GuessFilter
(
aMedium
,
&
pFilter
);
if
(
pFilter
)
pNewSet
->
Put
(
SfxStringItem
(
SID_FILTER_NAME
,
pFilter
->
GetName
()
)
);
...
...
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