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
a90d4d5f
Kaydet (Commit)
a90d4d5f
authored
Ock 03, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Do not export whole class to avoid MS C++ implicitly exporting base template.
üst
5807b071
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
oslfile2streamwrap.hxx
comphelper/inc/comphelper/oslfile2streamwrap.hxx
+7
-4
oslfile2streamwrap.cxx
comphelper/source/streaming/oslfile2streamwrap.cxx
+7
-0
No files found.
comphelper/inc/comphelper/oslfile2streamwrap.hxx
Dosyayı görüntüle @
a90d4d5f
...
...
@@ -65,17 +65,20 @@ public:
// FmUnoOutStream,
// Datensenke fuer Files
//==================================================================
class
COMPHELPER_DLLPUBLIC
OSLOutputStreamWrapper
:
public
::
cppu
::
WeakImplHelper1
<
stario
::
XOutputStream
>
class
OSLOutputStreamWrapper
:
public
::
cppu
::
WeakImplHelper1
<
stario
::
XOutputStream
>
{
::
osl
::
File
&
rFile
;
public
:
OSLOutputStreamWrapper
(
::
osl
::
File
&
_rFile
)
:
rFile
(
_rFile
)
{
}
COMPHELPER_DLLPUBLIC
OSLOutputStreamWrapper
(
::
osl
::
File
&
_rFile
);
private
:
virtual
~
OSLOutputStreamWrapper
();
// stario::XOutputStream
virtual
void
SAL_CALL
writeBytes
(
const
staruno
::
Sequence
<
sal_Int8
>&
aData
)
throw
(
stario
::
NotConnectedException
,
stario
::
BufferSizeExceededException
,
staruno
::
RuntimeException
);
virtual
void
SAL_CALL
flush
()
throw
(
stario
::
NotConnectedException
,
stario
::
BufferSizeExceededException
,
staruno
::
RuntimeException
);
virtual
void
SAL_CALL
closeOutput
()
throw
(
stario
::
NotConnectedException
,
stario
::
BufferSizeExceededException
,
staruno
::
RuntimeException
);
::
osl
::
File
&
rFile
;
};
}
// namespace comphelper
...
...
comphelper/source/streaming/oslfile2streamwrap.cxx
Dosyayı görüntüle @
a90d4d5f
...
...
@@ -145,6 +145,13 @@ void SAL_CALL OSLInputStreamWrapper::closeInput() throw( stario::NotConnectedExc
/*************************************************************************/
// stario::XOutputStream
//------------------------------------------------------------------------------
OSLOutputStreamWrapper
::
OSLOutputStreamWrapper
(
osl
::
File
&
_rFile
)
:
rFile
(
_rFile
)
{}
OSLOutputStreamWrapper
::~
OSLOutputStreamWrapper
()
{}
void
SAL_CALL
OSLOutputStreamWrapper
::
writeBytes
(
const
staruno
::
Sequence
<
sal_Int8
>&
aData
)
throw
(
stario
::
NotConnectedException
,
stario
::
BufferSizeExceededException
,
staruno
::
RuntimeException
)
{
sal_uInt64
nWritten
;
...
...
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