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
6577e56a
Kaydet (Commit)
6577e56a
authored
May 03, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
const up methods that don't change any state
Change-Id: I844cefad718e5b37dac5657674294a0873b8a8e5
üst
db649c52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
stgstrms.cxx
sot/source/sdstor/stgstrms.cxx
+1
-1
stgstrms.hxx
sot/source/sdstor/stgstrms.hxx
+9
-9
No files found.
sot/source/sdstor/stgstrms.cxx
Dosyayı görüntüle @
6577e56a
...
...
@@ -465,7 +465,7 @@ sal_Bool StgStrm::SetSize( sal_Int32 nBytes )
// Return the # of allocated pages
sal_Int32
StgStrm
::
GetPages
()
sal_Int32
StgStrm
::
GetPages
()
const
{
return
(
nSize
+
nPageSize
-
1
)
/
nPageSize
;
}
...
...
sot/source/sdstor/stgstrms.hxx
Dosyayı görüntüle @
6577e56a
...
...
@@ -82,20 +82,20 @@ protected:
public
:
virtual
~
StgStrm
();
StgIo
&
GetIo
()
{
return
rIo
;
}
sal_Int32
GetPos
()
{
return
nPos
;
}
sal_Int32
GetStart
()
{
return
nStart
;
}
sal_Int32
GetSize
()
{
return
nSize
;
}
sal_Int32
GetPage
()
{
return
nPage
;
}
short
GetPageSize
()
{
return
nPageSize
;
}
sal_Int32
GetPages
();
short
GetOffset
()
{
return
nOffset
;}
sal_Int32
GetPos
()
const
{
return
nPos
;
}
sal_Int32
GetStart
()
const
{
return
nStart
;
}
sal_Int32
GetSize
()
const
{
return
nSize
;
}
sal_Int32
GetPage
()
const
{
return
nPage
;
}
short
GetPageSize
()
const
{
return
nPageSize
;
}
sal_Int32
GetPages
()
const
;
short
GetOffset
()
const
{
return
nOffset
;}
void
SetEntry
(
StgDirEntry
&
);
virtual
sal_Bool
SetSize
(
sal_Int32
);
virtual
sal_Bool
Pos2Page
(
sal_Int32
nBytePos
);
virtual
sal_Int32
Read
(
void
*
,
sal_Int32
)
{
return
0
;
}
virtual
sal_Int32
Write
(
const
void
*
,
sal_Int32
)
{
return
0
;
}
virtual
StgPage
*
GetPhysPage
(
sal_Int32
nBytePos
,
sal_Bool
bForce
=
sal_False
);
virtual
sal_Bool
IsSmallStrm
()
{
return
sal_False
;
}
virtual
sal_Bool
IsSmallStrm
()
const
{
return
sal_False
;
}
};
// The FAT stream class provides physical access to the master FAT.
...
...
@@ -145,7 +145,7 @@ public:
StgSmallStrm
(
StgIo
&
,
StgDirEntry
*
);
virtual
sal_Int32
Read
(
void
*
,
sal_Int32
);
virtual
sal_Int32
Write
(
const
void
*
,
sal_Int32
);
virtual
sal_Bool
IsSmallStrm
()
{
return
sal_True
;
}
virtual
sal_Bool
IsSmallStrm
()
const
{
return
sal_True
;
}
};
class
StgTmpStrm
:
public
SvMemoryStream
...
...
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