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
b323e635
Kaydet (Commit)
b323e635
authored
Nis 04, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up unreferenced functions
Change-Id: I1dbb864d030b61417f6d137fc967f158e9243ed7
üst
104096f1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
49 deletions
+13
-49
lockbyte.cxx
store/source/lockbyte.cxx
+7
-18
storbase.cxx
store/source/storbase.cxx
+3
-6
storbios.cxx
store/source/storbios.cxx
+0
-20
storcach.cxx
store/source/storcach.cxx
+3
-5
No files found.
store/source/lockbyte.cxx
Dosyayı görüntüle @
b323e635
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
#include "lockbyte.hxx"
#include "lockbyte.hxx"
#include "boost/noncopyable.hpp"
#include "sal/types.h"
#include "sal/types.h"
#include "osl/diagnose.h"
#include "osl/diagnose.h"
#include "osl/file.h"
#include "osl/file.h"
...
@@ -276,7 +277,8 @@ struct FileHandle
...
@@ -276,7 +277,8 @@ struct FileHandle
class
FileLockBytes
:
class
FileLockBytes
:
public
store
::
OStoreObject
,
public
store
::
OStoreObject
,
public
store
::
ILockBytes
public
store
::
ILockBytes
,
private
boost
::
noncopyable
{
{
/** Representation.
/** Representation.
*/
*/
...
@@ -301,11 +303,6 @@ class FileLockBytes :
...
@@ -301,11 +303,6 @@ class FileLockBytes :
virtual
storeError
flush_Impl
()
SAL_OVERRIDE
;
virtual
storeError
flush_Impl
()
SAL_OVERRIDE
;
/** Not implemented.
*/
FileLockBytes
(
FileLockBytes
const
&
);
FileLockBytes
&
operator
=
(
FileLockBytes
const
&
);
public
:
public
:
/** Construction.
/** Construction.
*/
*/
...
@@ -516,7 +513,8 @@ struct FileMapping
...
@@ -516,7 +513,8 @@ struct FileMapping
class
MappedLockBytes
:
class
MappedLockBytes
:
public
store
::
OStoreObject
,
public
store
::
OStoreObject
,
public
store
::
PageData
::
Allocator
,
public
store
::
PageData
::
Allocator
,
public
store
::
ILockBytes
public
store
::
ILockBytes
,
private
boost
::
noncopyable
{
{
/** Representation.
/** Representation.
*/
*/
...
@@ -545,11 +543,6 @@ class MappedLockBytes :
...
@@ -545,11 +543,6 @@ class MappedLockBytes :
virtual
storeError
flush_Impl
()
SAL_OVERRIDE
;
virtual
storeError
flush_Impl
()
SAL_OVERRIDE
;
/** Not implemented.
*/
MappedLockBytes
(
MappedLockBytes
const
&
);
MappedLockBytes
&
operator
=
(
MappedLockBytes
const
&
);
public
:
public
:
/** Construction.
/** Construction.
*/
*/
...
@@ -674,7 +667,8 @@ namespace store
...
@@ -674,7 +667,8 @@ namespace store
class
MemoryLockBytes
:
class
MemoryLockBytes
:
public
store
::
OStoreObject
,
public
store
::
OStoreObject
,
public
store
::
ILockBytes
public
store
::
ILockBytes
,
private
boost
::
noncopyable
{
{
/** Representation.
/** Representation.
*/
*/
...
@@ -697,11 +691,6 @@ class MemoryLockBytes :
...
@@ -697,11 +691,6 @@ class MemoryLockBytes :
virtual
storeError
flush_Impl
()
SAL_OVERRIDE
;
virtual
storeError
flush_Impl
()
SAL_OVERRIDE
;
/** Not implemented.
*/
MemoryLockBytes
(
MemoryLockBytes
const
&
);
MemoryLockBytes
&
operator
=
(
MemoryLockBytes
const
&
);
public
:
public
:
/** Construction.
/** Construction.
*/
*/
...
...
store/source/storbase.cxx
Dosyayı görüntüle @
b323e635
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
#include "storbase.hxx"
#include "storbase.hxx"
#include "boost/noncopyable.hpp"
#include "sal/types.h"
#include "sal/types.h"
#include "rtl/alloc.h"
#include "rtl/alloc.h"
#include "rtl/ref.hxx"
#include "rtl/ref.hxx"
...
@@ -73,7 +74,8 @@ namespace store
...
@@ -73,7 +74,8 @@ namespace store
class
PageData
::
Allocator_Impl
:
class
PageData
::
Allocator_Impl
:
public
store
::
OStoreObject
,
public
store
::
OStoreObject
,
public
store
::
PageData
::
Allocator
public
store
::
PageData
::
Allocator
,
private
boost
::
noncopyable
{
{
public
:
public
:
/** Construction (two phase).
/** Construction (two phase).
...
@@ -108,11 +110,6 @@ private:
...
@@ -108,11 +110,6 @@ private:
*/
*/
virtual
void
allocate_Impl
(
void
**
ppPage
,
sal_uInt16
*
pnSize
)
SAL_OVERRIDE
;
virtual
void
allocate_Impl
(
void
**
ppPage
,
sal_uInt16
*
pnSize
)
SAL_OVERRIDE
;
virtual
void
deallocate_Impl
(
void
*
pPage
)
SAL_OVERRIDE
;
virtual
void
deallocate_Impl
(
void
*
pPage
)
SAL_OVERRIDE
;
/** Not implemented.
*/
Allocator_Impl
(
Allocator_Impl
const
&
);
Allocator_Impl
&
operator
=
(
Allocator_Impl
const
&
);
};
};
}
// namespace store
}
// namespace store
...
...
store/source/storbios.cxx
Dosyayı görüntüle @
b323e635
...
@@ -76,26 +76,6 @@ struct OStoreSuperBlock
...
@@ -76,26 +76,6 @@ struct OStoreSuperBlock
m_aUnused
(
0
)
m_aUnused
(
0
)
{}
{}
OStoreSuperBlock
(
const
OStoreSuperBlock
&
rhs
)
:
m_aGuard
(
rhs
.
m_aGuard
),
m_aDescr
(
rhs
.
m_aDescr
),
m_nMarked
(
rhs
.
m_nMarked
),
m_aMarked
(
rhs
.
m_aMarked
),
m_nUnused
(
rhs
.
m_nUnused
),
m_aUnused
(
rhs
.
m_aUnused
)
{}
OStoreSuperBlock
&
operator
=
(
const
OStoreSuperBlock
&
rhs
)
{
m_aGuard
=
rhs
.
m_aGuard
;
m_aDescr
=
rhs
.
m_aDescr
;
m_nMarked
=
rhs
.
m_nMarked
;
m_aMarked
=
rhs
.
m_aMarked
;
m_nUnused
=
rhs
.
m_nUnused
;
m_aUnused
=
rhs
.
m_aUnused
;
return
*
this
;
}
/** Comparison.
/** Comparison.
*/
*/
bool
operator
==
(
const
OStoreSuperBlock
&
rhs
)
const
bool
operator
==
(
const
OStoreSuperBlock
&
rhs
)
const
...
...
store/source/storcach.cxx
Dosyayı görüntüle @
b323e635
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
#include "sal/config.h"
#include "sal/config.h"
#include "boost/noncopyable.hpp"
#include "boost/static_assert.hpp"
#include "boost/static_assert.hpp"
#include "storcach.hxx"
#include "storcach.hxx"
...
@@ -224,7 +225,8 @@ namespace store
...
@@ -224,7 +225,8 @@ namespace store
class
PageCache_Impl
:
class
PageCache_Impl
:
public
store
::
OStoreObject
,
public
store
::
OStoreObject
,
public
store
::
PageCache
public
store
::
PageCache
,
private
boost
::
noncopyable
{
{
// Representation
// Representation
static
size_t
const
theTableSize
=
32
;
static
size_t
const
theTableSize
=
32
;
...
@@ -268,10 +270,6 @@ class PageCache_Impl :
...
@@ -268,10 +270,6 @@ class PageCache_Impl :
virtual
storeError
removePageAt_Impl
(
virtual
storeError
removePageAt_Impl
(
sal_uInt32
nOffset
)
SAL_OVERRIDE
;
sal_uInt32
nOffset
)
SAL_OVERRIDE
;
// Not implemented
PageCache_Impl
(
PageCache_Impl
const
&
);
PageCache_Impl
&
operator
=
(
PageCache_Impl
const
&
);
public
:
public
:
// Construction
// Construction
explicit
PageCache_Impl
(
sal_uInt16
nPageSize
);
explicit
PageCache_Impl
(
sal_uInt16
nPageSize
);
...
...
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