summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2000-09-21 14:04:59 +0000
committerOliver Specht <os@openoffice.org>2000-09-21 14:04:59 +0000
commitedfc89675f439d9f7bbe36d9506d47d8ed13d541 (patch)
treeec35d96c501af2645bf3f174aa7406c1fb06f433
parentbef009e00c450ee90658f34eb98a8f311fcf74f5 (diff)
#78795# OpenDoc: supply target frame item
-rw-r--r--sw/source/ui/utlui/glbltree.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/ui/utlui/glbltree.cxx b/sw/source/ui/utlui/glbltree.cxx
index 9c7023baa710..b89a9dc685e1 100644
--- a/sw/source/ui/utlui/glbltree.cxx
+++ b/sw/source/ui/utlui/glbltree.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: glbltree.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: os $ $Date: 2000-09-21 13:39:17 $
+ * last change: $Author: os $ $Date: 2000-09-21 15:04:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1425,10 +1425,11 @@ void SwGlobalTree::OpenDoc(const SwGlblDocContent* pCont)
SfxStringItem aURL(SID_FILE_NAME,
sFileName);
SfxBoolItem aReadOnly(SID_DOC_READONLY, FALSE);
+ SfxStringItem aTargetFrameName( SID_TARGETNAME, String::CreateFromAscii("_blank") );
SfxStringItem aReferer(SID_REFERER, pActiveShell->GetView().GetDocShell()->GetTitle());
pActiveShell->GetView().GetViewFrame()->GetDispatcher()->
Execute(SID_OPENDOC, SFX_CALLMODE_ASYNCHRON,
- &aURL, &aReadOnly, &aReferer, 0);
+ &aURL, &aReadOnly, &aReferer, &aTargetFrameName, 0);
}
}