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
fffb674c
Kaydet (Commit)
fffb674c
authored
Ock 14, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1371289 avoid the need for an assignment
Change-Id: I7f9b8d21652c79642f9a2f916ad0609c8abd430b
üst
2b407adc
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
13 deletions
+13
-13
pq_statement.cxx
connectivity/source/drivers/postgresql/pq_statement.cxx
+1
-1
pq_xcolumns.cxx
connectivity/source/drivers/postgresql/pq_xcolumns.cxx
+3
-3
pq_xtables.cxx
connectivity/source/drivers/postgresql/pq_xtables.cxx
+2
-2
unicode.cxx
i18nutil/source/utility/unicode.cxx
+5
-5
formulacell.cxx
sc/source/core/data/formulacell.cxx
+1
-1
xmlexprt.cxx
sc/source/filter/xml/xmlexprt.cxx
+1
-1
No files found.
connectivity/source/drivers/postgresql/pq_statement.cxx
Dosyayı görüntüle @
fffb674c
...
...
@@ -797,7 +797,7 @@ Reference< XResultSet > getGeneratedValuesFromLastInsert(
{
// it even was no autovalue, no sense to continue as we can't query the
// inserted row
buf
.
setLength
(
0
);
buf
.
truncate
(
);
break
;
}
}
...
...
connectivity/source/drivers/postgresql/pq_xcolumns.cxx
Dosyayı görüntüle @
fffb674c
...
...
@@ -404,7 +404,7 @@ void alterColumnByDescriptor(
OUString
pastDefaultValue
=
extractStringProperty
(
past
,
st
.
DEFAULT_VALUE
);
if
(
futureDefaultValue
!=
pastDefaultValue
)
{
buf
=
OUStringBuffer
(
128
);
buf
.
truncate
(
);
buf
.
append
(
"ALTER TABLE"
);
bufferQuoteQualifiedIdentifier
(
buf
,
schemaName
,
tableName
,
settings
);
buf
.
append
(
"ALTER COLUMN"
);
...
...
@@ -422,7 +422,7 @@ void alterColumnByDescriptor(
sal_Int32
pastNullable
=
extractIntProperty
(
past
,
st
.
IS_NULLABLE
);
if
(
futureNullable
!=
pastNullable
)
{
buf
=
OUStringBuffer
(
128
);
buf
.
truncate
(
);
buf
.
append
(
"ALTER TABLE"
);
bufferQuoteQualifiedIdentifier
(
buf
,
schemaName
,
tableName
,
settings
);
buf
.
append
(
"ALTER COLUMN"
);
...
...
@@ -449,7 +449,7 @@ void alterColumnByDescriptor(
if
(
futureComment
!=
pastComment
)
{
buf
=
OUStringBuffer
(
128
);
buf
.
truncate
(
);
buf
.
append
(
"COMMENT ON COLUMN"
);
bufferQuoteQualifiedIdentifier
(
buf
,
schemaName
,
tableName
,
futureColumnName
,
settings
);
buf
.
append
(
"IS "
);
...
...
connectivity/source/drivers/postgresql/pq_xtables.cxx
Dosyayı görüntüle @
fffb674c
...
...
@@ -270,7 +270,7 @@ void Tables::appendByDescriptor(
OUString
description
=
extractStringProperty
(
descriptor
,
st
.
DESCRIPTION
);
if
(
!
description
.
isEmpty
()
)
{
buf
=
OUStringBuffer
(
128
);
buf
.
truncate
(
);
buf
.
append
(
"COMMENT ON TABLE"
);
bufferQuoteQualifiedIdentifier
(
buf
,
schema
,
name
,
m_pSettings
);
buf
.
append
(
"IS "
);
...
...
@@ -292,7 +292,7 @@ void Tables::appendByDescriptor(
description
=
extractStringProperty
(
column
,
st
.
DESCRIPTION
);
if
(
!
description
.
isEmpty
()
)
{
buf
=
OUStringBuffer
(
128
);
buf
.
truncate
(
);
buf
.
append
(
"COMMENT ON COLUMN "
);
bufferQuoteQualifiedIdentifier
(
buf
,
schema
,
name
,
extractStringProperty
(
column
,
st
.
NAME
),
m_pSettings
);
...
...
i18nutil/source/utility/unicode.cxx
Dosyayı görüntüle @
fffb674c
...
...
@@ -1192,21 +1192,21 @@ OUString ToggleUnicodeCodepoint::StringToReplace()
mbAllowMoreChars
=
false
;
//validate unicode notation.
OUString
Buffer
sIn
;
OUString
sIn
;
sal_uInt32
nUnicode
=
0
;
sal_Int32
nUPlus
=
maInput
.
indexOf
(
"U+"
);
//if U+ notation used, strip off all extra chars added not in U+ notation
if
(
nUPlus
!=
-
1
)
{
maInput
=
maInput
.
copy
(
nUPlus
);
sIn
=
maInput
.
copy
(
2
);
sIn
=
maInput
.
copy
(
2
)
.
toString
()
;
nUPlus
=
sIn
.
indexOf
(
"U+"
);
}
else
sIn
=
maInput
;
sIn
=
maInput
.
toString
()
;
while
(
nUPlus
!=
-
1
)
{
nUnicode
=
sIn
.
copy
(
0
,
nUPlus
).
to
String
().
to
UInt32
(
16
);
nUnicode
=
sIn
.
copy
(
0
,
nUPlus
).
toUInt32
(
16
);
//prevent creating control characters or invalid Unicode values
if
(
!
rtl
::
isUnicodeCodePoint
(
nUnicode
)
||
nUnicode
<
0x20
)
maInput
=
sIn
.
copy
(
nUPlus
);
...
...
@@ -1214,7 +1214,7 @@ OUString ToggleUnicodeCodepoint::StringToReplace()
nUPlus
=
sIn
.
indexOf
(
"U+"
);
}
nUnicode
=
sIn
.
to
String
().
to
UInt32
(
16
);
nUnicode
=
sIn
.
toUInt32
(
16
);
if
(
!
rtl
::
isUnicodeCodePoint
(
nUnicode
)
||
nUnicode
<
0x20
)
maInput
.
truncate
().
append
(
sIn
[
sIn
.
getLength
()
-
1
]
);
return
maInput
.
toString
();
...
...
sc/source/core/data/formulacell.cxx
Dosyayı görüntüle @
fffb674c
...
...
@@ -978,7 +978,7 @@ void ScFormulaCell::GetFormula( OUStringBuffer& rBuffer,
{
if
(
pCode
->
GetCodeError
()
!=
FormulaError
::
NONE
&&
!
pCode
->
GetLen
()
)
{
rBuffer
=
OUStringBuffer
(
ScGlobal
::
GetErrorString
(
pCode
->
GetCodeError
()
));
rBuffer
=
ScGlobal
::
GetErrorString
(
pCode
->
GetCodeError
(
));
return
;
}
else
if
(
cMatrixFlag
==
MM_REFERENCE
)
...
...
sc/source/filter/xml/xmlexprt.cxx
Dosyayı görüntüle @
fffb674c
...
...
@@ -4449,7 +4449,7 @@ void ScXMLExport::ExportConditionalFormat(SCTAB nTab)
::
sax
::
Converter
::
convertColor
(
aBuffer
,
pFormatData
->
maPositiveColor
.
GetColor
());
AddAttribute
(
XML_NAMESPACE_CALC_EXT
,
XML_POSITIVE_COLOR
,
aBuffer
.
makeStringAndClear
());
aBuffer
=
OUStringBuffer
();
aBuffer
.
truncate
();
::
sax
::
Converter
::
convertColor
(
aBuffer
,
pFormatData
->
maAxisColor
.
GetColor
());
AddAttribute
(
XML_NAMESPACE_CALC_EXT
,
XML_AXIS_COLOR
,
aBuffer
.
makeStringAndClear
());
SvXMLElementExport
aElementDataBar
(
*
this
,
XML_NAMESPACE_CALC_EXT
,
XML_DATA_BAR
,
true
,
true
);
...
...
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