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
c6c13593
Kaydet (Commit)
c6c13593
authored
May 26, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1019311 Unchecked return value
Change-Id: I682ca0b62e6eb0d02113218de97d1440089b782c
üst
e947342b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
cpputype.cxx
codemaker/source/cppumaker/cpputype.cxx
+4
-4
No files found.
codemaker/source/cppumaker/cpputype.cxx
Dosyayı görüntüle @
c6c13593
...
...
@@ -155,7 +155,7 @@ public:
void
dump
(
CppuOptions
const
&
options
);
void
dumpFile
(
bool
dumpFile
(
OUString
const
&
uri
,
OUString
const
&
name
,
bool
hpp
,
CppuOptions
const
&
options
);
...
...
@@ -388,7 +388,7 @@ void CppuType::dump(CppuOptions const & options) {
options
.
isValid
(
"-O"
)
?
b2u
(
options
.
getOption
(
"-O"
))
:
""
,
options
);
}
void
CppuType
::
dumpFile
(
bool
CppuType
::
dumpFile
(
OUString
const
&
uri
,
OUString
const
&
name
,
bool
hpp
,
CppuOptions
const
&
options
)
{
...
...
@@ -400,7 +400,7 @@ void CppuType::dumpFile(
}
bool
exists
=
fileExists
(
u2b
(
fileUri
));
if
(
exists
&&
options
.
isValid
(
"-G"
))
{
return
;
return
false
;
}
FileStream
out
;
out
.
createTempFile
(
getTempDir
(
u2b
(
fileUri
)));
...
...
@@ -427,7 +427,7 @@ void CppuType::dumpFile(
throw
;
}
out
.
close
();
makeValidTypeFile
(
return
makeValidTypeFile
(
u2b
(
fileUri
),
u2b
(
tmpUri
),
exists
&&
options
.
isValid
(
"-Gc"
));
}
...
...
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