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
fe17eb94
Kaydet (Commit)
fe17eb94
authored
Ara 15, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
scripting: Use appropriate OUString functions on string constants
Change-Id: I8ee8eb92ac95937893c894e67882e9df2c16a67d
üst
0d58e672
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
dlgevtatt.cxx
scripting/source/dlgprov/dlgevtatt.cxx
+1
-1
scripthandler.cxx
scripting/source/protocolhandler/scripthandler.cxx
+2
-2
URIHelper.cxx
scripting/source/provider/URIHelper.cxx
+4
-4
No files found.
scripting/source/dlgprov/dlgevtatt.cxx
Dosyayı görüntüle @
fe17eb94
...
...
@@ -527,7 +527,7 @@ namespace dlgprov
OUString
sScriptURL
;
OUString
sScriptCode
(
aScriptEvent
.
ScriptCode
);
if
(
aScriptEvent
.
ScriptType
.
equalsAscii
(
"StarBasic"
)
)
if
(
aScriptEvent
.
ScriptType
==
"StarBasic"
)
{
// StarBasic script: convert ScriptCode to scriptURL
sal_Int32
nIndex
=
sScriptCode
.
indexOf
(
':'
);
...
...
scripting/source/protocolhandler/scripthandler.cxx
Dosyayı görüntüle @
fe17eb94
...
...
@@ -203,8 +203,8 @@ void SAL_CALL ScriptProtocolHandler::dispatchWithNotification(
// Sometimes we get a propertyval with name = "Referer"
// this is not an argument to be passed to script, so
// ignore.
if
(
!
lArgs
[
index
].
Name
.
equalsAscii
(
"Referer"
)
||
lArgs
[
index
].
Name
.
isEmpty
()
)
if
(
lArgs
[
index
].
Name
!=
"Referer"
||
lArgs
[
index
].
Name
.
isEmpty
()
)
//TODO:???
{
inArgs
.
realloc
(
++
argCount
);
inArgs
[
argCount
-
1
]
=
lArgs
[
index
].
Value
;
...
...
scripting/source/provider/URIHelper.cxx
Dosyayı görüntüle @
fe17eb94
...
...
@@ -113,24 +113,24 @@ ScriptingFrameworkURIHelper::initBaseURI()
OUString
uri
,
test
;
bool
bAppendScriptsPart
=
false
;
if
(
m_sLocation
.
equalsAscii
(
USER
)
)
if
(
m_sLocation
==
USER
)
{
test
=
USER
;
uri
=
USER_URI
;
bAppendScriptsPart
=
true
;
}
else
if
(
m_sLocation
.
equalsAscii
(
USER_UNO_PACKAGES
)
)
else
if
(
m_sLocation
==
USER_UNO_PACKAGES
)
{
test
=
"uno_packages"
;
uri
=
OUString
(
USER_URI
)
+
USER_UNO_PACKAGES_DIR
;
}
else
if
(
m_sLocation
.
equalsAscii
(
SHARE
)
)
else
if
(
m_sLocation
==
SHARE
)
{
test
=
SHARE
;
uri
=
SHARE_URI
;
bAppendScriptsPart
=
true
;
}
else
if
(
m_sLocation
.
equalsAscii
(
SHARE_UNO_PACKAGES
)
)
else
if
(
m_sLocation
==
SHARE_UNO_PACKAGES
)
{
test
=
"uno_packages"
;
uri
=
SHARE_UNO_PACKAGES_URI
;
...
...
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