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
5f37f560
Kaydet (Commit)
5f37f560
authored
Nis 11, 2016
tarafından
Yeliz Taneroğlu
Kaydeden (comit)
Matúš Kukan
Tem 09, 2016
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#74608 Constructor function for MemoryStream
Change-Id: I5b0667c4c2808913cde686afa7315ef2319b4d49
üst
5a6ab816
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
27 deletions
+9
-27
comphelper_services.hxx
comphelper/source/inc/comphelper_services.hxx
+0
-1
comphelper_services.cxx
comphelper/source/misc/comphelper_services.cxx
+0
-1
memorystream.cxx
comphelper/source/streaming/memorystream.cxx
+6
-24
comphelp.component
comphelper/util/comphelp.component
+2
-1
native-code.py
solenv/bin/native-code.py
+1
-0
No files found.
comphelper/source/inc/comphelper_services.hxx
Dosyayı görüntüle @
5f37f560
...
...
@@ -23,7 +23,6 @@
#include <sal/config.h>
void
createRegistryInfo_Map
();
void
createRegistryInfo_UNOMemoryStream
();
#endif
...
...
comphelper/source/misc/comphelper_services.cxx
Dosyayı görüntüle @
5f37f560
...
...
@@ -34,7 +34,6 @@ namespace comphelper { namespace module
public
:
doInitialize
()
{
createRegistryInfo_UNOMemoryStream
();
createRegistryInfo_Map
();
}
};
...
...
comphelper/source/streaming/memorystream.cxx
Dosyayı görüntüle @
5f37f560
...
...
@@ -22,6 +22,7 @@
#include "comphelper_module.hxx"
#include "comphelper_services.hxx"
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/io/XStream.hpp>
#include <com/sun/star/io/XSeekableInputStream.hpp>
#include <com/sun/star/io/XTruncate.hpp>
...
...
@@ -72,11 +73,6 @@ public:
// XTruncate
virtual
void
SAL_CALL
truncate
()
throw
(
css
::
io
::
IOException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
// XServiceInfo - static versions (used for component registration)
static
OUString
SAL_CALL
getImplementationName_static
();
static
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames_static
();
static
Reference
<
XInterface
>
SAL_CALL
Create
(
const
Reference
<
css
::
uno
::
XComponentContext
>&
);
private
:
std
::
vector
<
sal_Int8
>
maData
;
sal_Int32
mnCursor
;
...
...
@@ -212,28 +208,14 @@ void SAL_CALL UNOMemoryStream::truncate() throw (IOException, RuntimeException,
mnCursor
=
0
;
}
OUString
SAL_CALL
UNOMemoryStream
::
getImplementationName_static
()
{
return
OUString
(
"com.sun.star.comp.MemoryStream"
);
}
Sequence
<
OUString
>
SAL_CALL
UNOMemoryStream
::
getSupportedServiceNames_static
()
{
Sequence
<
OUString
>
aSeq
{
getImplementationName_static
()
};
return
aSeq
;
}
Reference
<
XInterface
>
SAL_CALL
UNOMemoryStream
::
Create
(
SAL_UNUSED_PARAMETER
const
Reference
<
XComponentContext
>&
)
{
return
static_cast
<
OWeakObject
*>
(
new
UNOMemoryStream
());
}
}
// namespace comphelper
void
createRegistryInfo_UNOMemoryStream
()
extern
"C"
SAL_DLLPUBLIC_EXPORT
css
::
uno
::
XInterface
*
SAL_CALL
com_sun_star_comp_MemoryStream
(
css
::
uno
::
XComponentContext
*
,
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>
const
&
)
{
static
::
comphelper
::
module
::
OAutoRegistration
<
::
comphelper
::
UNOMemoryStream
>
aAutoRegistration
;
return
cppu
::
acquire
(
new
::
comphelper
::
UNOMemoryStream
())
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
comphelper/util/comphelp.component
Dosyayı görüntüle @
5f37f560
...
...
@@ -31,7 +31,8 @@
constructor=
"NamedPropertyValuesContainer_get_implementation"
>
<service
name=
"com.sun.star.document.NamedPropertyValues"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.MemoryStream"
>
<implementation
name=
"com.sun.star.comp.MemoryStream"
constructor=
"com_sun_star_comp_MemoryStream"
>
<service
name=
"com.sun.star.comp.MemoryStream"
/>
</implementation>
<implementation
name=
"com.sun.star.comp.SequenceInputStreamService"
...
...
solenv/bin/native-code.py
Dosyayı görüntüle @
5f37f560
...
...
@@ -101,6 +101,7 @@ core_constructor_list = [
"com_sun_star_comp_chart2_ChartDocumentWrapper_get_implementation"
,
"com_sun_star_comp_chart2_ChartFrameLoader_get_implementation"
,
# comphelper/util/comphelp.component
"com_sun_star_comp_MemoryStream"
,
"com_sun_star_comp_logging_SimpleLogRing"
,
"com_sun_star_comp_task_OfficeRestartManager"
,
"IndexedPropertyValuesContainer_get_implementation"
,
...
...
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