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
6088eb60
Kaydet (Commit)
6088eb60
authored
Ara 12, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
unotools: Use appropriate OUString functions on string constants
Change-Id: I14d3a3187b8528e3ff9743245b869773c2eb5e98
üst
55cd108d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
eventcfg.cxx
unotools/source/config/eventcfg.cxx
+1
-1
saveopt.cxx
unotools/source/config/saveopt.cxx
+2
-2
tempfile.cxx
unotools/source/ucbhelper/tempfile.cxx
+1
-1
ucblockbytes.cxx
unotools/source/ucbhelper/ucblockbytes.cxx
+3
-3
No files found.
unotools/source/config/eventcfg.cxx
Dosyayı görüntüle @
6088eb60
...
@@ -240,7 +240,7 @@ void SAL_CALL GlobalEventConfig_Impl::replaceByName( const OUString& aName, cons
...
@@ -240,7 +240,7 @@ void SAL_CALL GlobalEventConfig_Impl::replaceByName( const OUString& aName, cons
sal_Int32
nPropCount
=
props
.
getLength
();
sal_Int32
nPropCount
=
props
.
getLength
();
for
(
sal_Int32
index
=
0
;
index
<
nPropCount
;
++
index
)
for
(
sal_Int32
index
=
0
;
index
<
nPropCount
;
++
index
)
{
{
if
(
props
[
index
].
Name
.
equalsAscii
(
"Script"
)
)
if
(
props
[
index
].
Name
==
"Script"
)
props
[
index
].
Value
>>=
macroURL
;
props
[
index
].
Value
>>=
macroURL
;
}
}
m_eventBindingHash
[
aName
]
=
macroURL
;
m_eventBindingHash
[
aName
]
=
macroURL
;
...
...
unotools/source/config/saveopt.cxx
Dosyayı görüntüle @
6088eb60
...
@@ -771,7 +771,7 @@ SvtLoadOptions_Impl::SvtLoadOptions_Impl()
...
@@ -771,7 +771,7 @@ SvtLoadOptions_Impl::SvtLoadOptions_Impl()
,
bLoadUserDefinedSettings
(
false
)
,
bLoadUserDefinedSettings
(
false
)
{
{
Sequence
<
OUString
>
aNames
(
1
);
Sequence
<
OUString
>
aNames
(
1
);
aNames
[
0
]
=
OUString
::
createFromAscii
(
cUserDefinedSettings
)
;
aNames
[
0
]
=
cUserDefinedSettings
;
Sequence
<
Any
>
aValues
=
GetProperties
(
aNames
);
Sequence
<
Any
>
aValues
=
GetProperties
(
aNames
);
EnableNotification
(
aNames
);
EnableNotification
(
aNames
);
const
Any
*
pValues
=
aValues
.
getConstArray
();
const
Any
*
pValues
=
aValues
.
getConstArray
();
...
@@ -787,7 +787,7 @@ SvtLoadOptions_Impl::~SvtLoadOptions_Impl()
...
@@ -787,7 +787,7 @@ SvtLoadOptions_Impl::~SvtLoadOptions_Impl()
void
SvtLoadOptions_Impl
::
Commit
()
void
SvtLoadOptions_Impl
::
Commit
()
{
{
Sequence
<
OUString
>
aNames
(
1
);
Sequence
<
OUString
>
aNames
(
1
);
aNames
[
0
]
=
OUString
::
createFromAscii
(
cUserDefinedSettings
)
;
aNames
[
0
]
=
cUserDefinedSettings
;
Sequence
<
Any
>
aValues
(
1
);
Sequence
<
Any
>
aValues
(
1
);
aValues
[
0
].
setValue
(
&
bLoadUserDefinedSettings
,
::
getBooleanCppuType
());
aValues
[
0
].
setValue
(
&
bLoadUserDefinedSettings
,
::
getBooleanCppuType
());
PutProperties
(
aNames
,
aValues
);
PutProperties
(
aNames
,
aValues
);
...
...
unotools/source/ucbhelper/tempfile.cxx
Dosyayı görüntüle @
6088eb60
...
@@ -58,7 +58,7 @@ OUString getParentName( const OUString& aFileName )
...
@@ -58,7 +58,7 @@ OUString getParentName( const OUString& aFileName )
if
(
aParent
.
endsWith
(
":"
)
&&
aParent
.
getLength
()
==
6
)
if
(
aParent
.
endsWith
(
":"
)
&&
aParent
.
getLength
()
==
6
)
aParent
+=
"/"
;
aParent
+=
"/"
;
if
(
aParent
.
equals
Ascii
(
"file://"
)
)
if
(
aParent
.
equals
IgnoreAsciiCase
(
"file://"
)
)
aParent
=
"file:///"
;
aParent
=
"file:///"
;
return
aParent
;
return
aParent
;
...
...
unotools/source/ucbhelper/ucblockbytes.cxx
Dosyayı görüntüle @
6088eb60
...
@@ -875,8 +875,8 @@ static bool UCBOpenContentSync(
...
@@ -875,8 +875,8 @@ static bool UCBOpenContentSync(
return
_UCBOpenContentSync
(
return
_UCBOpenContentSync
(
xLockBytes
,
xContent
,
rArg
,
xSink
,
xInteract
,
xProgress
,
xHandler
);
xLockBytes
,
xContent
,
rArg
,
xSink
,
xInteract
,
xProgress
,
xHandler
);
if
(
!
aScheme
.
equals
Ascii
(
"http"
)
&&
if
(
!
aScheme
.
equals
IgnoreAsciiCase
(
"http"
)
&&
!
aScheme
.
equals
Ascii
(
"https"
)
)
!
aScheme
.
equals
IgnoreAsciiCase
(
"https"
)
)
xLockBytes
->
SetStreamValid_Impl
();
xLockBytes
->
SetStreamValid_Impl
();
Reference
<
XPropertiesChangeListener
>
xListener
;
Reference
<
XPropertiesChangeListener
>
xListener
;
...
@@ -1112,7 +1112,7 @@ static bool _UCBOpenContentSync(
...
@@ -1112,7 +1112,7 @@ static bool _UCBOpenContentSync(
// http protocol must be handled in a special way: during the opening process the input stream may change
// http protocol must be handled in a special way: during the opening process the input stream may change
// only the last inputstream after notifying the document headers is valid
// only the last inputstream after notifying the document headers is valid
if
(
!
aScheme
.
equals
Ascii
(
"http"
)
)
if
(
!
aScheme
.
equals
IgnoreAsciiCase
(
"http"
)
)
xLockBytes
->
SetStreamValid_Impl
();
xLockBytes
->
SetStreamValid_Impl
();
Reference
<
XPropertiesChangeListener
>
xListener
=
new
UcbPropertiesChangeListener_Impl
(
xLockBytes
);
Reference
<
XPropertiesChangeListener
>
xListener
=
new
UcbPropertiesChangeListener_Impl
(
xLockBytes
);
...
...
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