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
b15c5c49
Kaydet (Commit)
b15c5c49
authored
May 06, 2017
tarafından
Chris Sherlock
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#43157: convert store from OSL_ASSERT to assert
Change-Id: I7500a0021b33a50ca2e73220b2f8fa2f5ac16e22
üst
7c6c4bbc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
storbios.cxx
store/source/storbios.cxx
+1
-1
store.cxx
store/source/store.cxx
+2
-2
No files found.
store/source/storbios.cxx
Dosyayı görüntüle @
b15c5c49
...
...
@@ -497,7 +497,7 @@ OStorePageBIOS::AceCache::create (sal_uInt32 addr)
if
(
ace
!=
nullptr
)
{
// verify invariant state.
OSL_ASSERT
((
ace
->
m_next
==
ace
)
&&
(
ace
->
m_prev
==
ace
));
assert
((
ace
->
m_next
==
ace
)
&&
(
ace
->
m_prev
==
ace
));
// initialize.
ace
->
m_addr
=
addr
;
...
...
store/source/store.cxx
Dosyayı görüntüle @
b15c5c49
...
...
@@ -113,7 +113,7 @@ storeError SAL_CALL store_createMemoryFile (
storeError
eErrCode
=
MemoryLockBytes_createInstance
(
xLockBytes
);
if
(
eErrCode
!=
store_E_None
)
return
eErrCode
;
OSL_ASSERT
(
xLockBytes
.
is
());
assert
(
xLockBytes
.
is
());
Reference
<
OStorePageManager
>
xManager
(
new
OStorePageManager
());
if
(
!
xManager
.
is
())
...
...
@@ -151,7 +151,7 @@ storeError SAL_CALL store_openFile (
storeError
eErrCode
=
FileLockBytes_createInstance
(
xLockBytes
,
pFilename
,
eAccessMode
);
if
(
eErrCode
!=
store_E_None
)
return
eErrCode
;
OSL_ASSERT
(
xLockBytes
.
is
());
assert
(
xLockBytes
.
is
());
Reference
<
OStorePageManager
>
xManager
(
new
OStorePageManager
());
if
(
!
xManager
.
is
())
...
...
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