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
79a19871
Kaydet (Commit)
79a19871
authored
Eki 15, 2003
tarafından
Noel Power
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i21260#
Change use of script:// protocol to new vnd.sun.star.script://....
üst
f9acf292
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
ScriptBrowseNode.java
...om/sun/star/script/framework/browse/ScriptBrowseNode.java
+3
-3
basprov.cxx
scripting/source/basprov/basprov.cxx
+3
-3
ScriptURI.cxx
scripting/source/storage/ScriptURI.cxx
+5
-5
No files found.
scripting/java/com/sun/star/script/framework/browse/ScriptBrowseNode.java
Dosyayı görüntüle @
79a19871
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: ScriptBrowseNode.java,v $
*
* $Revision: 1.
4
$
* $Revision: 1.
5
$
*
* last change: $Author: npower $ $Date: 2003-10-15
09:23:03
$
* last change: $Author: npower $ $Date: 2003-10-15
15:03:41
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -78,7 +78,7 @@ public class ScriptBrowseNode extends PropertySet implements XBrowseNode {
public
boolean
deletable
=
false
;
public
ScriptBrowseNode
(
ScriptEntry
entry
,
String
location
)
{
uri
=
"script://"
+
entry
.
getLanguageName
()
+
uri
=
"
vnd.sun.star.
script://"
+
entry
.
getLanguageName
()
+
"?"
+
"language="
+
entry
.
getLanguage
()
+
"&location="
+
location
;
...
...
scripting/source/basprov/basprov.cxx
Dosyayı görüntüle @
79a19871
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: basprov.cxx,v $
*
* $Revision: 1.
4
$
* $Revision: 1.
5
$
*
* last change: $Author: npower $ $Date: 2003-10-15
08:35:32
$
* last change: $Author: npower $ $Date: 2003-10-15
15:03:41
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -336,7 +336,7 @@ namespace basprov
// parse scriptURI
// TODO: use URI parsing class
::
rtl
::
OUString
aSchema
(
::
rtl
::
OUString
::
createFromAscii
(
"script://"
)
);
::
rtl
::
OUString
aSchema
(
::
rtl
::
OUString
::
createFromAscii
(
"
vnd.sun.star.
script://"
)
);
sal_Int32
nSchemaLen
=
aSchema
.
getLength
();
sal_Int32
nLen
=
scriptURI
.
indexOf
(
'?'
);
::
rtl
::
OUString
aDescription
;
...
...
scripting/source/storage/ScriptURI.cxx
Dosyayı görüntüle @
79a19871
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: ScriptURI.cxx,v $
*
* $Revision: 1.
7
$
* $Revision: 1.
8
$
*
* last change: $Author: npower $ $Date: 2003-10-15
08:39:0
2 $
* last change: $Author: npower $ $Date: 2003-10-15
15:03:4
2 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -77,7 +77,7 @@ using namespace ::com::sun::star::lang;
namespace
scripting_impl
{
static
const
OUString
schema
=
OUString
::
createFromAscii
(
"script://"
);
static
const
OUString
schema
=
OUString
::
createFromAscii
(
"
vnd.sun.star.
script://"
);
/**
* Constructor
...
...
@@ -168,7 +168,7 @@ void ScriptURI::set_values( scripting_impl::Uri values )
m_valid
=
values
.
valid
;
m_location
=
values
.
location
;
m_language
=
values
.
language
;
// format is
script:
://[function_name]?language=[languge]&location=[location]
// format is
vnd.sun.star.script
://[function_name]?language=[languge]&location=[location]
// LogicalName is now not used anymore, further more the ScriptURI class
// will be retired also and a new UNO service will be used. Additionally the
// parcel-description will also need to be modified to remove logical name
...
...
@@ -193,7 +193,7 @@ Uri ScriptURI::parseIt()
scripting_impl
::
Uri
results
;
results
.
valid
=
sal_True
;
//attempt to parse
// check that it starts
script://
// check that it starts
vnd.sun.star.script
// better check for OBO errors here
if
(
m_uri
.
indexOf
(
schema
)
!=
0
)
{
...
...
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