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
0e7804b8
Kaydet (Commit)
0e7804b8
authored
Ara 16, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
configmgr: Use appropriate OUString functions on string constants
Change-Id: I7345234957aab62e884c0e884ac0b3b8a21e9cc5
üst
b4a73f9d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
data.cxx
configmgr/source/data.cxx
+2
-2
propertynode.cxx
configmgr/source/propertynode.cxx
+3
-3
xcdparser.cxx
configmgr/source/xcdparser.cxx
+1
-1
No files found.
configmgr/source/data.cxx
Dosyayı görüntüle @
0e7804b8
...
@@ -127,7 +127,7 @@ sal_Int32 Data::parseSegment(
...
@@ -127,7 +127,7 @@ sal_Int32 Data::parseSegment(
}
}
if
(
templateName
!=
0
)
{
if
(
templateName
!=
0
)
{
if
(
i
-
index
==
1
&&
path
[
index
]
==
'*'
)
{
if
(
i
-
index
==
1
&&
path
[
index
]
==
'*'
)
{
*
templateName
=
""
;
templateName
->
clear
()
;
}
else
{
}
else
{
*
templateName
=
path
.
copy
(
index
,
i
-
index
);
*
templateName
=
path
.
copy
(
index
,
i
-
index
);
}
}
...
@@ -245,7 +245,7 @@ rtl::Reference< Node > Data::resolvePathRepresentation(
...
@@ -245,7 +245,7 @@ rtl::Reference< Node > Data::resolvePathRepresentation(
return
p
;
return
p
;
}
}
parent
=
p
;
parent
=
p
;
templateName
=
""
;
templateName
.
clear
()
;
n
=
parseSegment
(
n
=
parseSegment
(
pathRepresentation
,
n
,
&
seg
,
&
setElement
,
&
templateName
);
pathRepresentation
,
n
,
&
seg
,
&
setElement
,
&
templateName
);
if
(
n
==
-
1
)
{
if
(
n
==
-
1
)
{
...
...
configmgr/source/propertynode.cxx
Dosyayı görüntüle @
0e7804b8
...
@@ -56,7 +56,7 @@ css::uno::Any PropertyNode::getValue(Components & components) {
...
@@ -56,7 +56,7 @@ css::uno::Any PropertyNode::getValue(Components & components) {
if
(
val
.
IsPresent
)
{
if
(
val
.
IsPresent
)
{
value_
=
val
.
Value
;
//TODO: check value type
value_
=
val
.
Value
;
//TODO: check value type
}
}
externalDescriptor_
=
""
;
// must not throw
externalDescriptor_
.
clear
()
;
// must not throw
}
}
SAL_WARN_IF
(
SAL_WARN_IF
(
!
(
value_
.
hasValue
()
||
nillable_
),
"configmgr"
,
!
(
value_
.
hasValue
()
||
nillable_
),
"configmgr"
,
...
@@ -67,13 +67,13 @@ css::uno::Any PropertyNode::getValue(Components & components) {
...
@@ -67,13 +67,13 @@ css::uno::Any PropertyNode::getValue(Components & components) {
void
PropertyNode
::
setValue
(
int
layer
,
css
::
uno
::
Any
const
&
value
)
{
void
PropertyNode
::
setValue
(
int
layer
,
css
::
uno
::
Any
const
&
value
)
{
setLayer
(
layer
);
setLayer
(
layer
);
value_
=
value
;
value_
=
value
;
externalDescriptor_
=
""
;
externalDescriptor_
.
clear
()
;
}
}
com
::
sun
::
star
::
uno
::
Any
*
PropertyNode
::
getValuePtr
(
int
layer
)
com
::
sun
::
star
::
uno
::
Any
*
PropertyNode
::
getValuePtr
(
int
layer
)
{
{
setLayer
(
layer
);
setLayer
(
layer
);
externalDescriptor_
=
""
;
externalDescriptor_
.
clear
()
;
return
&
value_
;
return
&
value_
;
}
}
...
...
configmgr/source/xcdparser.cxx
Dosyayı görüntüle @
0e7804b8
...
@@ -113,7 +113,7 @@ bool XcdParser::startElement(
...
@@ -113,7 +113,7 @@ bool XcdParser::startElement(
return
false
;
return
false
;
}
}
state_
=
STATE_DEPENDENCY
;
state_
=
STATE_DEPENDENCY
;
dependencyFile_
=
""
;
dependencyFile_
.
clear
()
;
return
true
;
return
true
;
}
}
state_
=
STATE_COMPONENTS
;
state_
=
STATE_COMPONENTS
;
...
...
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