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
b2df7eb8
Kaydet (Commit)
b2df7eb8
authored
May 24, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
BinUSHORT->BinUINT16 && BinULONG->BinUINT32
üst
b87fed20
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
17 deletions
+17
-17
rcontrol.hxx
automation/source/inc/rcontrol.hxx
+2
-2
cmdbasestream.cxx
automation/source/server/cmdbasestream.cxx
+4
-4
scmdstrm.cxx
automation/source/server/scmdstrm.cxx
+8
-8
statemnt.cxx
automation/source/server/statemnt.cxx
+1
-1
cmdstrm.cxx
automation/source/testtool/cmdstrm.cxx
+2
-2
No files found.
automation/source/inc/rcontrol.hxx
Dosyayı görüntüle @
b2df7eb8
...
@@ -54,8 +54,8 @@
...
@@ -54,8 +54,8 @@
#define SIReturnError 13
#define SIReturnError 13
// Typisierung im Stream
// Typisierung im Stream
#define BinU
SHORT
11
#define BinU
INT16
11
#define BinU
LONG
14
#define BinU
INT32
14
#define BinString 12
#define BinString 12
#define BinBool 13
#define BinBool 13
#define BinSbxValue 15
#define BinSbxValue 15
...
...
automation/source/server/cmdbasestream.cxx
Dosyayı görüntüle @
b2df7eb8
...
@@ -212,7 +212,7 @@ void CmdBaseStream::Read (comm_UINT16 &nNr)
...
@@ -212,7 +212,7 @@ void CmdBaseStream::Read (comm_UINT16 &nNr)
*
pCommStream
>>
nId
;
*
pCommStream
>>
nId
;
if
(
pCommStream
->
IsEof
())
return
;
if
(
pCommStream
->
IsEof
())
return
;
#if OSL_DEBUG_LEVEL > 1
#if OSL_DEBUG_LEVEL > 1
if
(
nId
!=
BinU
SHORT
)
OSL_TRACE
(
"Falscher Typ im Stream: Erwartet USHORT, gefunden :%hu"
,
nId
);
if
(
nId
!=
BinU
INT16
)
OSL_TRACE
(
"Falscher Typ im Stream: Erwartet USHORT, gefunden :%hu"
,
nId
);
#endif
#endif
*
pCommStream
>>
nNr
;
*
pCommStream
>>
nNr
;
}
}
...
@@ -223,7 +223,7 @@ void CmdBaseStream::Read (comm_UINT32 &nNr)
...
@@ -223,7 +223,7 @@ void CmdBaseStream::Read (comm_UINT32 &nNr)
*
pCommStream
>>
nId
;
*
pCommStream
>>
nId
;
if
(
pCommStream
->
IsEof
())
return
;
if
(
pCommStream
->
IsEof
())
return
;
#if OSL_DEBUG_LEVEL > 1
#if OSL_DEBUG_LEVEL > 1
if
(
nId
!=
BinU
LONG
)
OSL_TRACE
(
"Falscher Typ im Stream: Erwartet ULONG, gefunden :%hu"
,
nId
);
if
(
nId
!=
BinU
INT32
)
OSL_TRACE
(
"Falscher Typ im Stream: Erwartet ULONG, gefunden :%hu"
,
nId
);
#endif
#endif
*
pCommStream
>>
nNr
;
*
pCommStream
>>
nNr
;
}
}
...
@@ -269,13 +269,13 @@ comm_UINT16 CmdBaseStream::GetNextType()
...
@@ -269,13 +269,13 @@ comm_UINT16 CmdBaseStream::GetNextType()
void
CmdBaseStream
::
Write
(
comm_UINT16
nNr
)
void
CmdBaseStream
::
Write
(
comm_UINT16
nNr
)
{
{
*
pCommStream
<<
comm_UINT16
(
BinU
SHORT
);
*
pCommStream
<<
comm_UINT16
(
BinU
INT16
);
*
pCommStream
<<
nNr
;
*
pCommStream
<<
nNr
;
}
}
void
CmdBaseStream
::
Write
(
comm_UINT32
nNr
)
void
CmdBaseStream
::
Write
(
comm_UINT32
nNr
)
{
{
*
pCommStream
<<
comm_UINT16
(
BinU
LONG
);
*
pCommStream
<<
comm_UINT16
(
BinU
INT32
);
*
pCommStream
<<
nNr
;
*
pCommStream
<<
nNr
;
}
}
...
...
automation/source/server/scmdstrm.cxx
Dosyayı görüntüle @
b2df7eb8
...
@@ -86,24 +86,24 @@ void SCmdStream::Read ( SfxPoolItem *&pItem )
...
@@ -86,24 +86,24 @@ void SCmdStream::Read ( SfxPoolItem *&pItem )
Read
(
nType
);
Read
(
nType
);
switch
(
nType
)
switch
(
nType
)
{
{
case
BinU
SHORT
:
case
BinU
INT16
:
{
{
comm_UINT16
nNr
;
comm_UINT16
nNr
;
Read
(
nNr
);
Read
(
nNr
);
pItem
=
new
SfxUInt16Item
(
nId
,
nNr
);
pItem
=
new
SfxUInt16Item
(
nId
,
nNr
);
#if OSL_DEBUG_LEVEL > 1
#if OSL_DEBUG_LEVEL > 1
StatementList
::
m_pDbgWin
->
AddText
(
"U
SHORT:
"
);
StatementList
::
m_pDbgWin
->
AddText
(
"U
INT16
"
);
StatementList
::
m_pDbgWin
->
AddText
(
String
::
CreateFromInt32
(
nNr
)
);
StatementList
::
m_pDbgWin
->
AddText
(
String
::
CreateFromInt32
(
nNr
)
);
#endif
#endif
}
}
break
;
break
;
case
BinU
LONG
:
case
BinU
INT32
:
{
{
comm_UINT32
nNr
;
comm_UINT32
nNr
;
Read
(
nNr
);
Read
(
nNr
);
pItem
=
new
SfxUInt32Item
(
nId
,
nNr
);
pItem
=
new
SfxUInt32Item
(
nId
,
nNr
);
#if OSL_DEBUG_LEVEL > 1
#if OSL_DEBUG_LEVEL > 1
StatementList
::
m_pDbgWin
->
AddText
(
"U
LONG:
"
);
StatementList
::
m_pDbgWin
->
AddText
(
"U
INT32
"
);
StatementList
::
m_pDbgWin
->
AddText
(
String
::
CreateFromInt64
(
nNr
)
);
StatementList
::
m_pDbgWin
->
AddText
(
String
::
CreateFromInt64
(
nNr
)
);
#endif
#endif
}
}
...
@@ -157,24 +157,24 @@ void SCmdStream::Read ( ::com::sun::star::beans::PropertyValue &rItem )
...
@@ -157,24 +157,24 @@ void SCmdStream::Read ( ::com::sun::star::beans::PropertyValue &rItem )
nType
=
GetNextType
();
nType
=
GetNextType
();
switch
(
nType
)
switch
(
nType
)
{
{
case
BinU
SHORT
:
case
BinU
INT16
:
{
{
comm_UINT16
nNr
;
comm_UINT16
nNr
;
Read
(
nNr
);
Read
(
nNr
);
rItem
.
Value
<<=
nNr
;
rItem
.
Value
<<=
nNr
;
#if OSL_DEBUG_LEVEL > 1
#if OSL_DEBUG_LEVEL > 1
StatementList
::
m_pDbgWin
->
AddText
(
"U
SHORT:
"
);
StatementList
::
m_pDbgWin
->
AddText
(
"U
INT16
"
);
StatementList
::
m_pDbgWin
->
AddText
(
String
::
CreateFromInt32
(
nNr
)
);
StatementList
::
m_pDbgWin
->
AddText
(
String
::
CreateFromInt32
(
nNr
)
);
#endif
#endif
}
}
break
;
break
;
case
BinU
LONG
:
case
BinU
INT32
:
{
{
comm_UINT32
nNr
;
comm_UINT32
nNr
;
Read
(
nNr
);
Read
(
nNr
);
rItem
.
Value
<<=
nNr
;
rItem
.
Value
<<=
nNr
;
#if OSL_DEBUG_LEVEL > 1
#if OSL_DEBUG_LEVEL > 1
StatementList
::
m_pDbgWin
->
AddText
(
"U
LONG:
"
);
StatementList
::
m_pDbgWin
->
AddText
(
"U
INT32
"
);
StatementList
::
m_pDbgWin
->
AddText
(
String
::
CreateFromInt64
(
nNr
)
);
StatementList
::
m_pDbgWin
->
AddText
(
String
::
CreateFromInt64
(
nNr
)
);
#endif
#endif
}
}
...
...
automation/source/server/statemnt.cxx
Dosyayı görüntüle @
b2df7eb8
...
@@ -349,7 +349,7 @@ StatementSlot::StatementSlot( SCmdStream *pCmdIn )
...
@@ -349,7 +349,7 @@ StatementSlot::StatementSlot( SCmdStream *pCmdIn )
{
{
switch
(
pCmdIn
->
GetNextType
()
)
switch
(
pCmdIn
->
GetNextType
()
)
{
{
case BinU
SHORT
: // use old calling method
case
BinU
INT16
:
// use old calling method
{
{
nAnzahl
++
;
nAnzahl
++
;
pItemArr
=
new
SfxPoolItem
*
[
nAnzahl
];
pItemArr
=
new
SfxPoolItem
*
[
nAnzahl
];
...
...
automation/source/testtool/cmdstrm.cxx
Dosyayı görüntüle @
b2df7eb8
...
@@ -344,7 +344,7 @@ void CmdStream::GenCmdSlot( sal_uInt16 nNr, SbxArray* rPar )
...
@@ -344,7 +344,7 @@ void CmdStream::GenCmdSlot( sal_uInt16 nNr, SbxArray* rPar )
case
SbxUINT
:
case
SbxUINT
:
case
SbxSINGLE
:
case
SbxSINGLE
:
if
(
!
bWriteUnoSlot
)
if
(
!
bWriteUnoSlot
)
Write
(
(
sal_uInt16
)
BinU
SHORT
);
Write
(
(
sal_uInt16
)
BinU
INT16
);
Write
(
rPar
->
Get
(
2
*
n
)
->
GetUShort
());
Write
(
rPar
->
Get
(
2
*
n
)
->
GetUShort
());
break
;
break
;
case
SbxLONG
:
case
SbxLONG
:
...
@@ -353,7 +353,7 @@ void CmdStream::GenCmdSlot( sal_uInt16 nNr, SbxArray* rPar )
...
@@ -353,7 +353,7 @@ void CmdStream::GenCmdSlot( sal_uInt16 nNr, SbxArray* rPar )
case
SbxSALUINT64
:
case
SbxSALUINT64
:
case
SbxDOUBLE
:
case
SbxDOUBLE
:
if
(
!
bWriteUnoSlot
)
if
(
!
bWriteUnoSlot
)
Write
(
(
sal_uInt16
)
BinU
LONG
);
Write
(
(
sal_uInt16
)
BinU
INT32
);
Write
(
rPar
->
Get
(
2
*
n
)
->
GetULong
());
Write
(
rPar
->
Get
(
2
*
n
)
->
GetULong
());
break
;
break
;
case
SbxSTRING
:
case
SbxSTRING
:
...
...
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