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
d110a012
Kaydet (Commit)
d110a012
authored
Eyl 03, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some clean up of previous commit
Change-Id: I6507b731665eb3d98a8fbf3d445f6c85e6d49258
üst
27837969
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
21 deletions
+14
-21
moduldl2.cxx
basctl/source/basicide/moduldl2.cxx
+1
-1
testoffice.cxx
bridges/test/testoffice.cxx
+5
-9
serialization_app_xml.cxx
forms/source/xforms/submission/serialization_app_xml.cxx
+2
-4
serialization_app_xml.hxx
forms/source/xforms/submission/serialization_app_xml.hxx
+2
-2
serialization_urlencoded.cxx
forms/source/xforms/submission/serialization_urlencoded.cxx
+1
-1
serialization_urlencoded.hxx
forms/source/xforms/submission/serialization_urlencoded.hxx
+2
-3
UnoApi_udkapi.mk
udkapi/UnoApi_udkapi.mk
+1
-1
No files found.
basctl/source/basicide/moduldl2.cxx
Dosyayı görüntüle @
d110a012
...
...
@@ -1358,7 +1358,7 @@ void LibPage::ExportAsPackage( const String& aLibName )
// write into pipe:
Reference
<
packages
::
manifest
::
XManifestWriter
>
xManifestWriter
(
xMSF
->
createInstance
(
DEFINE_CONST_UNICODE
(
"com.sun.star.packages.manifest.ManifestWriter"
)
),
UNO_QUERY
);
Reference
<
io
::
XOutputStream
>
xPipe
(
io
::
Pipe
::
create
(
comphelper
::
ComponentContext
(
xMSF
).
getUNOContext
()),
UNO_QUERY
);
Reference
<
io
::
XOutputStream
>
xPipe
(
io
::
Pipe
::
create
(
comphelper
::
ComponentContext
(
xMSF
).
getUNOContext
()),
UNO_QUERY
_THROW
);
xManifestWriter
->
writeManifestSequence
(
xPipe
,
Sequence
<
Sequence
<
beans
::
PropertyValue
>
>
(
&
manifest
[
0
],
manifest
.
size
()
)
);
...
...
bridges/test/testoffice.cxx
Dosyayı görüntüle @
d110a012
...
...
@@ -38,8 +38,7 @@
#include <com/sun/star/bridge/XBridgeFactory.hpp>
#include <com/sun/star/uno/XNamingService.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/io/Pipe.hpp>
#include <com/sun/star/text/XTextDocument.hpp>
...
...
@@ -84,23 +83,20 @@ void mygetchar()
void
testPipe
(
const
Reference
<
XMultiServiceFactory
>
&
rSmgr
)
{
Reference
<
XOutputStream
>
rOut
(
Pipe
::
create
(
comphelper
::
ComponentContext
(
rSmgr
).
getUNOContext
()),
UNO_QUERY_THROW
);
OSL_ASSERT
(
rOut
.
is
()
);
Reference
<
XPipe
>
rPipe
(
Pipe
::
create
(
comphelper
::
ComponentContext
(
rSmgr
).
getUNOContext
()),
UNO_QUERY_THROW
);
{
Sequence
<
sal_Int8
>
seq
(
10
);
seq
.
getArray
()[
0
]
=
42
;
r
Out
->
writeBytes
(
seq
);
r
Pipe
->
writeBytes
(
seq
);
}
{
Sequence
<
sal_Int8
>
seq
;
Reference
<
XInputStream
>
rIn
(
rOut
,
UNO_QUERY
);
if
(
!
(
rIn
->
available
()
==
10
)
)
if
(
!
(
rPipe
->
available
()
==
10
)
)
printf
(
"wrong bytes available
\n
"
);
if
(
!
(
r
In
->
readBytes
(
seq
,
10
)
==
10
)
)
if
(
!
(
r
Pipe
->
readBytes
(
seq
,
10
)
==
10
)
)
printf
(
"wrong bytes read
\n
"
);
if
(
!
(
42
==
seq
.
getArray
()[
0
]
)
)
printf
(
"wrong element in sequence
\n
"
);
...
...
forms/source/xforms/submission/serialization_app_xml.cxx
Dosyayı görüntüle @
d110a012
...
...
@@ -43,10 +43,8 @@
CSerializationAppXML
::
CSerializationAppXML
()
:
m_aFactory
(
comphelper
::
getProcessServiceFactory
())
,
m_aPipe
(
CSS
::
io
::
Pipe
::
create
(
comphelper
::
getProcessComponentContext
()),
CSS
::
uno
::
UNO_QUERY_THROW
)
{
OSL_ENSURE
(
m_aPipe
.
is
(),
"cannot create Pipe"
);
}
,
m_aPipe
(
CSS
::
io
::
Pipe
::
create
(
comphelper
::
getProcessComponentContext
()))
{}
CSS
::
uno
::
Reference
<
CSS
::
io
::
XInputStream
>
CSerializationAppXML
::
getInputStream
()
...
...
forms/source/xforms/submission/serialization_app_xml.hxx
Dosyayı görüntüle @
d110a012
...
...
@@ -29,7 +29,7 @@
#ifndef __SERIALIZATION_APP_XML_HXX
#define __SERIALIZATION_APP_XML_HXX
#include <com/sun/star/io/X
OutputStream
.hpp>
#include <com/sun/star/io/X
Pipe
.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include "serialization.hxx"
...
...
@@ -39,7 +39,7 @@ class CSerializationAppXML : public CSerialization
{
private
:
CSS
::
uno
::
Reference
<
CSS
::
lang
::
XMultiServiceFactory
>
m_aFactory
;
CSS
::
uno
::
Reference
<
CSS
::
io
::
X
OutputStream
>
m_aPipe
;
CSS
::
uno
::
Reference
<
CSS
::
io
::
X
Pipe
>
m_aPipe
;
void
serialize_node
(
const
CSS
::
uno
::
Reference
<
CSS
::
xml
::
dom
::
XNode
>&
aNode
);
void
serialize_nodeset
();
...
...
forms/source/xforms/submission/serialization_urlencoded.cxx
Dosyayı görüntüle @
d110a012
...
...
@@ -50,7 +50,7 @@ using namespace CSS::xml::dom;
CSerializationURLEncoded
::
CSerializationURLEncoded
()
:
m_aFactory
(
comphelper
::
getProcessServiceFactory
())
,
m_aPipe
(
Pipe
::
create
(
comphelper
::
getProcessComponentContext
())
,
UNO_QUERY_THROW
)
,
m_aPipe
(
Pipe
::
create
(
comphelper
::
getProcessComponentContext
()))
{
}
...
...
forms/source/xforms/submission/serialization_urlencoded.hxx
Dosyayı görüntüle @
d110a012
...
...
@@ -21,8 +21,7 @@
#define __SERIALIZATION_URLENCODED_HXX
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/io/XPipe.hpp>
#include <rtl/strbuf.hxx>
...
...
@@ -32,7 +31,7 @@ class CSerializationURLEncoded : public CSerialization
{
private
:
CSS
::
uno
::
Reference
<
CSS
::
lang
::
XMultiServiceFactory
>
m_aFactory
;
CSS
::
uno
::
Reference
<
CSS
::
io
::
X
OutputStream
>
m_aPipe
;
CSS
::
uno
::
Reference
<
CSS
::
io
::
X
Pipe
>
m_aPipe
;
sal_Bool
is_unreserved
(
sal_Char
);
void
encode_and_append
(
const
rtl
::
OUString
&
aString
,
rtl
::
OStringBuffer
&
aBuffer
);
...
...
udkapi/UnoApi_udkapi.mk
Dosyayı görüntüle @
d110a012
...
...
@@ -326,9 +326,9 @@ $(eval $(call gb_UnoApi_add_idlfiles,udkapi,udkapi/com/sun/star/io,\
XObjectInputStream \
XObjectOutputStream \
XOutputStream \
XPipe \
XPersist \
XPersistObject \
XPipe \
XSeekable \
XSeekableInputStream \
XSequenceOutputStream \
...
...
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