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
15006df5
Kaydet (Commit)
15006df5
authored
Mar 29, 2014
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tools: remove unused SvStream::IsA() and associated ID_*STREAM macros
Change-Id: I6ed0991fb5bd1d5085ee1b93323b57b1afc69860
üst
1258b576
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
0 additions
and
58 deletions
+0
-58
instrm.hxx
include/svl/instrm.hxx
+0
-2
outstrm.hxx
include/svl/outstrm.hxx
+0
-2
pstm.hxx
include/tools/pstm.hxx
+0
-1
stream.hxx
include/tools/stream.hxx
+0
-10
strmadpt.cxx
svl/source/misc/strmadpt.cxx
+0
-12
pstm.cxx
tools/source/ref/pstm.cxx
+0
-11
stream.cxx
tools/source/stream/stream.cxx
+0
-10
strmunx.cxx
tools/source/stream/strmunx.cxx
+0
-5
strmwnt.cxx
tools/source/stream/strmwnt.cxx
+0
-5
No files found.
include/svl/instrm.hxx
Dosyayı görüntüle @
15006df5
...
...
@@ -61,8 +61,6 @@ public:
virtual
~
SvInputStream
();
virtual
sal_uInt16
IsA
()
const
SAL_OVERRIDE
;
virtual
void
AddMark
(
sal_uLong
nPos
);
virtual
void
RemoveMark
(
sal_uLong
nPos
);
...
...
include/svl/outstrm.hxx
Dosyayı görüntüle @
15006df5
...
...
@@ -50,8 +50,6 @@ public:
rTheStream
);
virtual
~
SvOutputStream
();
virtual
sal_uInt16
IsA
()
const
SAL_OVERRIDE
;
};
#endif // INCLUDED_SVL_OUTSTRM_HXX
...
...
include/tools/pstm.hxx
Dosyayı görüntüle @
15006df5
...
...
@@ -215,7 +215,6 @@ public:
void
SetStream
(
SvStream
*
pStream
);
SvStream
*
GetStream
()
const
{
return
pStm
;
}
virtual
sal_uInt16
IsA
()
const
SAL_OVERRIDE
;
SvPersistBase
*
GetObject
(
sal_uIntPtr
nIdx
)
const
;
sal_uIntPtr
GetIndex
(
SvPersistBase
*
)
const
;
...
...
include/tools/stream.hxx
Dosyayı görüntüle @
15006df5
...
...
@@ -79,13 +79,6 @@ typedef sal_uInt16 StreamMode;
#define COMPRESSMODE_ZBITMAP (sal_uInt16)0x0001
#define COMPRESSMODE_NATIVE (sal_uInt16)0x0010
#define ID_STREAM 1
#define ID_FILESTREAM 2
#define ID_MEMORYSTREAM 3
#define ID_SHAREDMEMORYSTREAM 4
#define ID_STORAGESTREAM 5
#define ID_PERSISTSTREAM 6
class
SvStream
;
typedef
SvStream
&
(
*
SvStrPtr
)(
SvStream
&
);
...
...
@@ -455,7 +448,6 @@ public:
bool
IsWritable
()
const
{
return
bIsWritable
;
}
StreamMode
GetStreamMode
()
const
{
return
eStreamMode
;
}
virtual
sal_uInt16
IsA
()
const
;
long
GetVersion
()
{
return
nVersion
;
}
void
SetVersion
(
long
n
)
{
nVersion
=
n
;
}
...
...
@@ -678,7 +670,6 @@ public:
void
Close
();
bool
IsOpen
()
const
{
return
bIsOpen
;
}
bool
IsLocked
()
const
{
return
(
nLockCounter
!=
0
);
}
virtual
sal_uInt16
IsA
()
const
SAL_OVERRIDE
;
const
OUString
&
GetFileName
()
const
{
return
aFilename
;
}
};
...
...
@@ -737,7 +728,6 @@ public:
sal_Size
GetEndOfData
()
const
{
return
nEndOfData
;
}
const
void
*
GetData
()
{
Flush
();
return
pBuf
;
}
operator
const
void
*
()
{
Flush
();
return
pBuf
;
}
virtual
sal_uInt16
IsA
()
const
SAL_OVERRIDE
;
void
*
SwitchBuffer
(
sal_Size
nInitSize
=
512
,
sal_Size
nResize
=
64
);
void
*
SetBuffer
(
void
*
pBuf
,
sal_Size
nSize
,
...
...
svl/source/misc/strmadpt.cxx
Dosyayı görüntüle @
15006df5
...
...
@@ -646,12 +646,6 @@ SvInputStream::~SvInputStream()
delete
m_pPipe
;
}
// virtual
sal_uInt16
SvInputStream
::
IsA
()
const
{
return
0
;
}
// virtual
void
SvInputStream
::
AddMark
(
sal_uLong
nPos
)
{
...
...
@@ -763,12 +757,6 @@ SvOutputStream::~SvOutputStream()
}
}
// virtual
sal_uInt16
SvOutputStream
::
IsA
()
const
{
return
0
;
}
// SvDataPipe_Impl
...
...
tools/source/ref/pstm.cxx
Dosyayı görüntüle @
15006df5
...
...
@@ -182,17 +182,6 @@ void SvPersistStream::SetStream( SvStream * pStream )
}
}
/** Returns the identifier of this stream class.
@return ID_PERSISTSTREAM
@see SvStream::IsA
*/
sal_uInt16
SvPersistStream
::
IsA
()
const
{
return
ID_PERSISTSTREAM
;
}
void
SvPersistStream
::
ResetError
()
{
SvStream
::
ResetError
();
...
...
tools/source/stream/stream.cxx
Dosyayı görüntüle @
15006df5
...
...
@@ -431,11 +431,6 @@ SvStream::~SvStream()
delete
[]
pRWBuf
;
}
sal_uInt16
SvStream
::
IsA
()
const
{
return
(
sal_uInt16
)
ID_STREAM
;
}
void
SvStream
::
ClearError
()
{
bIsEof
=
false
;
...
...
@@ -1726,11 +1721,6 @@ SvMemoryStream::~SvMemoryStream()
}
}
sal_uInt16
SvMemoryStream
::
IsA
()
const
{
return
(
sal_uInt16
)
ID_MEMORYSTREAM
;
}
const
void
*
SvMemoryStream
::
GetBuffer
()
{
Flush
();
...
...
tools/source/stream/strmunx.cxx
Dosyayı görüntüle @
15006df5
...
...
@@ -306,11 +306,6 @@ SvFileStream::~SvFileStream()
delete
pInstanceData
;
}
sal_uInt16
SvFileStream
::
IsA
()
const
{
return
ID_FILESTREAM
;
}
sal_Size
SvFileStream
::
GetData
(
void
*
pData
,
sal_Size
nSize
)
{
#ifdef DBG_UTIL
...
...
tools/source/stream/strmwnt.cxx
Dosyayı görüntüle @
15006df5
...
...
@@ -133,11 +133,6 @@ SvFileStream::~SvFileStream()
delete
pInstanceData
;
}
sal_uInt16
SvFileStream
::
IsA
()
const
{
return
ID_FILESTREAM
;
}
/// Does not check for EOF, makes isEof callable
sal_Size
SvFileStream
::
GetData
(
void
*
pData
,
sal_Size
nSize
)
{
...
...
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