diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-18 12:20:46 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-18 12:20:46 +0100 |
commit | 7dca2226394b8e07fe915e811bc02315580dd5b9 (patch) | |
tree | c416633980c70ff01a37185e9887bb896ff86880 /sfx2/source/doc | |
parent | fd08abb5941f6815f8a49ae50e7fc93d93609543 (diff) |
Set Referer for auto-reload
Change-Id: Ie6b664bcd2021820a5baf158582fce7a07c112af
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r-- | sfx2/source/doc/objmisc.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index 590f53c145a8..8751f42fe57a 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -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; |