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
6b5fb7ef
Kaydet (Commit)
6b5fb7ef
authored
Tem 26, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#706301 Uncaught exception
Change-Id: I6c81df21c7c8713e3d409fb9418e6d6bcca48d68
üst
b418b70f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
DTable.cxx
connectivity/source/drivers/dbase/DTable.cxx
+13
-2
No files found.
connectivity/source/drivers/dbase/DTable.cxx
Dosyayı görüntüle @
6b5fb7ef
...
...
@@ -1102,8 +1102,19 @@ bool ODbaseTable::CreateImpl()
if
(
!
CreateMemoFile
(
aURL
))
{
aURL
.
setExtension
(
aExt
);
// kill dbf file
Content
aMemoContent
(
aURL
.
GetMainURL
(
INetURLObject
::
NO_DECODE
),
Reference
<
XCommandEnvironment
>
(),
comphelper
::
getProcessComponentContext
());
aMemoContent
.
executeCommand
(
"delete"
,
css
::
uno
::
Any
(
true
)
);
try
{
Content
aMemoContent
(
aURL
.
GetMainURL
(
INetURLObject
::
NO_DECODE
),
Reference
<
XCommandEnvironment
>
(),
comphelper
::
getProcessComponentContext
());
aMemoContent
.
executeCommand
(
"delete"
,
css
::
uno
::
Any
(
true
)
);
}
catch
(
const
ContentCreationException
&
)
{
const
OUString
sError
(
getConnection
()
->
getResources
().
getResourceStringWithSubstitution
(
STR_COULD_NOT_DELETE_FILE
,
"$name$"
,
aName
)
);
::
dbtools
::
throwGenericSQLException
(
sError
,
*
this
);
}
return
false
;
}
m_aHeader
.
db_typ
=
dBaseIIIMemo
;
...
...
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