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
52a949e5
Kaydet (Commit)
52a949e5
authored
Eyl 10, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert Link<> to typed
Change-Id: Ia8dd531759ab4d609d1c3eeb31283612c0d70219
üst
240d1f28
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
stg.cxx
sot/source/sdstor/stg.cxx
+1
-1
stgio.cxx
sot/source/sdstor/stgio.cxx
+4
-4
stgio.hxx
sot/source/sdstor/stgio.hxx
+2
-2
No files found.
sot/source/sdstor/stg.cxx
Dosyayı görüntüle @
52a949e5
...
@@ -895,7 +895,7 @@ OUString Storage::GetUserName()
...
@@ -895,7 +895,7 @@ OUString Storage::GetUserName()
bool
Storage
::
ValidateFAT
()
bool
Storage
::
ValidateFAT
()
{
{
Link
<>
aLink
=
StgIo
::
GetErrorLink
();
Link
<
StgLinkArg
&
,
void
>
aLink
=
StgIo
::
GetErrorLink
();
ErrCode
nErr
=
pIo
->
ValidateFATs
();
ErrCode
nErr
=
pIo
->
ValidateFATs
();
StgIo
::
SetErrorLink
(
aLink
);
StgIo
::
SetErrorLink
(
aLink
);
return
nErr
==
ERRCODE_NONE
;
return
nErr
==
ERRCODE_NONE
;
...
...
sot/source/sdstor/stgio.cxx
Dosyayı görüntüle @
52a949e5
...
@@ -336,14 +336,14 @@ sal_uLong Validator::FindUnrefedChains()
...
@@ -336,14 +336,14 @@ sal_uLong Validator::FindUnrefedChains()
return
FAT_OK
;
return
FAT_OK
;
}
}
namespace
{
struct
ErrorLink
:
public
rtl
::
Static
<
Link
<>
,
ErrorLink
>
{};
}
namespace
{
struct
ErrorLink
:
public
rtl
::
Static
<
Link
<
StgLinkArg
&
,
void
>
,
ErrorLink
>
{};
}
void
StgIo
::
SetErrorLink
(
const
Link
<>&
rLink
)
void
StgIo
::
SetErrorLink
(
const
Link
<
StgLinkArg
&
,
void
>&
rLink
)
{
{
ErrorLink
::
get
()
=
rLink
;
ErrorLink
::
get
()
=
rLink
;
}
}
const
Link
<>&
StgIo
::
GetErrorLink
()
const
Link
<
StgLinkArg
&
,
void
>&
StgIo
::
GetErrorLink
()
{
{
return
ErrorLink
::
get
();
return
ErrorLink
::
get
();
}
}
...
@@ -379,7 +379,7 @@ sal_uLong StgIo::ValidateFATs()
...
@@ -379,7 +379,7 @@ sal_uLong StgIo::ValidateFATs()
StgLinkArg
aArg
;
StgLinkArg
aArg
;
aArg
.
aFile
=
pFileStrm
->
GetFileName
();
aArg
.
aFile
=
pFileStrm
->
GetFileName
();
aArg
.
nErr
=
nErr
;
aArg
.
nErr
=
nErr
;
ErrorLink
::
get
().
Call
(
&
aArg
);
ErrorLink
::
get
().
Call
(
aArg
);
bCopied
=
true
;
bCopied
=
true
;
}
}
// DBG_ASSERT( nErr == FAT_OK ,"Storage kaputt");
// DBG_ASSERT( nErr == FAT_OK ,"Storage kaputt");
...
...
sot/source/sdstor/stgio.hxx
Dosyayı görüntüle @
52a949e5
...
@@ -64,8 +64,8 @@ public:
...
@@ -64,8 +64,8 @@ public:
bool
Init
();
// set up an empty file
bool
Init
();
// set up an empty file
bool
CommitAll
();
// commit everything (root commit)
bool
CommitAll
();
// commit everything (root commit)
static
void
SetErrorLink
(
const
Link
<>&
);
static
void
SetErrorLink
(
const
Link
<
StgLinkArg
&
,
void
>&
);
static
const
Link
<>&
GetErrorLink
();
static
const
Link
<
StgLinkArg
&
,
void
>&
GetErrorLink
();
sal_uLong
ValidateFATs
(
);
sal_uLong
ValidateFATs
(
);
};
};
...
...
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