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
1d6cd014
Kaydet (Commit)
1d6cd014
authored
Agu 31, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: I957be579527123be25abca0b7dcb69295711abf8
üst
5f5ccfc0
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
24 additions
and
24 deletions
+24
-24
enumerablemap.cxx
comphelper/source/container/enumerablemap.cxx
+3
-3
configurationhelper.cxx
comphelper/source/misc/configurationhelper.cxx
+6
-6
logging.cxx
comphelper/source/misc/logging.cxx
+4
-4
namedvaluecollection.cxx
comphelper/source/misc/namedvaluecollection.cxx
+3
-3
officeresourcebundle.cxx
comphelper/source/misc/officeresourcebundle.cxx
+1
-1
propertycontainerhelper.cxx
comphelper/source/property/propertycontainerhelper.cxx
+5
-5
propertystatecontainer.cxx
comphelper/source/property/propertystatecontainer.cxx
+2
-2
No files found.
comphelper/source/container/enumerablemap.cxx
Dosyayı görüntüle @
1d6cd014
...
...
@@ -470,11 +470,11 @@ namespace comphelper
if
(
!
bValid
)
{
OUStringBuffer
aMessage
;
aMessage
.
append
Ascii
(
"Incompatible value type. Found '"
);
aMessage
.
append
(
"Incompatible value type. Found '"
);
aMessage
.
append
(
_value
.
getValueTypeName
()
);
aMessage
.
append
Ascii
(
"', where '"
);
aMessage
.
append
(
"', where '"
);
aMessage
.
append
(
m_aData
.
m_aValueType
.
getTypeName
()
);
aMessage
.
append
Ascii
(
"' (or compatible type) is expected."
);
aMessage
.
append
(
"' (or compatible type) is expected."
);
throw
IllegalTypeException
(
aMessage
.
makeStringAndClear
(),
*
const_cast
<
EnumerableMap
*
>
(
this
)
);
}
...
...
comphelper/source/misc/configurationhelper.cxx
Dosyayı görüntüle @
1d6cd014
...
...
@@ -87,9 +87,9 @@ css::uno::Any ConfigurationHelper::readRelativeKey(const css::uno::Reference< cs
if
(
!
xProps
.
is
())
{
OUStringBuffer
sMsg
(
256
);
sMsg
.
append
Ascii
(
"The requested path
\"
"
);
sMsg
.
append
(
"The requested path
\"
"
);
sMsg
.
append
(
sRelPath
);
sMsg
.
append
Ascii
(
"
\"
does not exists."
);
sMsg
.
append
(
"
\"
does not exists."
);
throw
css
::
container
::
NoSuchElementException
(
sMsg
.
makeStringAndClear
());
...
...
@@ -110,9 +110,9 @@ void ConfigurationHelper::writeRelativeKey(const css::uno::Reference< css::uno::
if
(
!
xProps
.
is
())
{
OUStringBuffer
sMsg
(
256
);
sMsg
.
append
Ascii
(
"The requested path
\"
"
);
sMsg
.
append
(
"The requested path
\"
"
);
sMsg
.
append
(
sRelPath
);
sMsg
.
append
Ascii
(
"
\"
does not exists."
);
sMsg
.
append
(
"
\"
does not exists."
);
throw
css
::
container
::
NoSuchElementException
(
sMsg
.
makeStringAndClear
());
...
...
@@ -131,9 +131,9 @@ css::uno::Reference< css::uno::XInterface > ConfigurationHelper::makeSureSetNode
if
(
!
xSet
.
is
())
{
OUStringBuffer
sMsg
(
256
);
sMsg
.
append
Ascii
(
"The requested path
\"
"
);
sMsg
.
append
(
"The requested path
\"
"
);
sMsg
.
append
(
sRelPathToSet
);
sMsg
.
append
Ascii
(
"
\"
does not exists."
);
sMsg
.
append
(
"
\"
does not exists."
);
throw
css
::
container
::
NoSuchElementException
(
sMsg
.
makeStringAndClear
());
...
...
comphelper/source/misc/logging.cxx
Dosyayı görüntüle @
1d6cd014
...
...
@@ -233,7 +233,7 @@ namespace comphelper
try
{
OUStringBuffer
aBuffer
;
aBuffer
.
append
Ascii
(
"string:"
);
aBuffer
.
append
(
"string:"
);
aBuffer
.
append
(
_nMessageResID
);
OSL_VERIFY
(
_rxBundle
->
getDirectElement
(
aBuffer
.
makeStringAndClear
()
)
>>=
sMessage
);
}
...
...
@@ -262,11 +262,11 @@ namespace comphelper
if
(
sMessage
.
isEmpty
()
)
{
OUStringBuffer
aBuffer
;
aBuffer
.
append
Ascii
(
"<invalid event resource: '"
);
aBuffer
.
append
(
"<invalid event resource: '"
);
aBuffer
.
append
(
m_pData
->
sBundleBaseName
);
aBuffer
.
append
Ascii
(
":"
);
aBuffer
.
append
(
":"
);
aBuffer
.
append
(
_nMessageResID
);
aBuffer
.
append
Ascii
(
"'>"
);
aBuffer
.
append
(
"'>"
);
sMessage
=
aBuffer
.
makeStringAndClear
();
}
return
sMessage
;
...
...
comphelper/source/misc/namedvaluecollection.cxx
Dosyayı görüntüle @
1d6cd014
...
...
@@ -252,11 +252,11 @@ namespace comphelper
// argument exists, but is of wrong type
OUStringBuffer
aBuffer
;
aBuffer
.
append
Ascii
(
"Invalid value type for '"
);
aBuffer
.
append
(
"Invalid value type for '"
);
aBuffer
.
append
(
_rValueName
);
aBuffer
.
append
Ascii
(
"'.
\n
Expected: "
);
aBuffer
.
append
(
"'.
\n
Expected: "
);
aBuffer
.
append
(
_rExpectedValueType
.
getTypeName
()
);
aBuffer
.
append
Ascii
(
"
\n
Found: "
);
aBuffer
.
append
(
"
\n
Found: "
);
aBuffer
.
append
(
pos
->
second
.
getValueType
().
getTypeName
()
);
throw
IllegalArgumentException
(
aBuffer
.
makeStringAndClear
(),
NULL
,
0
);
}
...
...
comphelper/source/misc/officeresourcebundle.cxx
Dosyayı görüntüle @
1d6cd014
...
...
@@ -97,7 +97,7 @@ namespace comphelper
OUString
ResourceBundle_Impl
::
impl_getStringResourceKey
(
sal_Int32
_resourceId
)
{
OUStringBuffer
key
;
key
.
append
Ascii
(
"string:"
);
key
.
append
(
"string:"
);
key
.
append
(
_resourceId
);
return
key
.
makeStringAndClear
();
}
...
...
comphelper/source/property/propertycontainerhelper.cxx
Dosyayı görüntüle @
1d6cd014
...
...
@@ -202,14 +202,14 @@ namespace
void
lcl_throwIllegalPropertyValueTypeException
(
const
PropertyDescription
&
_rProperty
,
const
Any
&
_rValue
)
{
OUStringBuffer
aErrorMessage
;
aErrorMessage
.
append
Ascii
(
"The given value cannot be converted to the required property type."
);
aErrorMessage
.
append
Ascii
(
"
\n
(property name
\"
"
);
aErrorMessage
.
append
(
"The given value cannot be converted to the required property type."
);
aErrorMessage
.
append
(
"
\n
(property name
\"
"
);
aErrorMessage
.
append
(
_rProperty
.
aProperty
.
Name
);
aErrorMessage
.
append
Ascii
(
"
\"
, found value type
\"
"
);
aErrorMessage
.
append
(
"
\"
, found value type
\"
"
);
aErrorMessage
.
append
(
_rValue
.
getValueType
().
getTypeName
()
);
aErrorMessage
.
append
Ascii
(
"
\"
, required property type
\"
"
);
aErrorMessage
.
append
(
"
\"
, required property type
\"
"
);
aErrorMessage
.
append
(
_rProperty
.
aProperty
.
Type
.
getTypeName
()
);
aErrorMessage
.
append
Ascii
(
"
\"
)"
);
aErrorMessage
.
append
(
"
\"
)"
);
throw
IllegalArgumentException
(
aErrorMessage
.
makeStringAndClear
(),
NULL
,
4
);
}
}
...
...
comphelper/source/property/propertystatecontainer.cxx
Dosyayı görüntüle @
1d6cd014
...
...
@@ -38,9 +38,9 @@ namespace comphelper
// strings only would suffice, and could be realized with an UNO service, so we do not
// need the dependency to the Tools project)
OUStringBuffer
sMessage
;
sMessage
.
append
Ascii
(
"The property
\"
"
);
sMessage
.
append
(
"The property
\"
"
);
sMessage
.
append
(
_rPropertyName
);
sMessage
.
append
Ascii
(
"
\"
is unknown."
);
sMessage
.
append
(
"
\"
is unknown."
);
return
sMessage
.
makeStringAndClear
();
}
}
...
...
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