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
8a1a8538
Kaydet (Commit)
8a1a8538
authored
Şub 15, 2010
tarafından
Vladimir Glazunov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
CWS-TOOLING: integrate CWS cmcfixes71
üst
5b7dd611
36c16f54
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
simplecm.cxx
automation/source/simplecm/simplecm.cxx
+2
-2
objtest.cxx
automation/source/testtool/objtest.cxx
+8
-4
objtest.hxx
automation/source/testtool/objtest.hxx
+1
-1
No files found.
automation/source/simplecm/simplecm.cxx
Dosyayı görüntüle @
8a1a8538
...
@@ -279,9 +279,9 @@ SvStream* SimpleCommunicationLinkViaSocket::GetBestCommunicationStream()
...
@@ -279,9 +279,9 @@ SvStream* SimpleCommunicationLinkViaSocket::GetBestCommunicationStream()
BOOL
SimpleCommunicationLinkViaSocket
::
DoReceiveDataStream
()
BOOL
SimpleCommunicationLinkViaSocket
::
DoReceiveDataStream
()
{
{
BOOL
bWasError
=
FALSE
;
BOOL
bWasError
=
FALSE
;
char
*
pBuffer
=
NULL
;
void
*
pBuffer
=
NULL
;
comm_UINT32
nLen
;
comm_UINT32
nLen
;
bWasError
=
pPacketHandler
->
ReceiveData
(
(
void
*
&
)
pBuffer
,
nLen
)
!=
C_ERROR_NONE
;
bWasError
=
pPacketHandler
->
ReceiveData
(
pBuffer
,
nLen
)
!=
C_ERROR_NONE
;
if
(
!
bWasError
)
if
(
!
bWasError
)
{
{
pReceiveStream
=
GetBestCommunicationStream
();
pReceiveStream
=
GetBestCommunicationStream
();
...
...
automation/source/testtool/objtest.cxx
Dosyayı görüntüle @
8a1a8538
...
@@ -886,7 +886,8 @@ void TestToolObj::ReadNames( String Filename, CNames *&pNames, CNames *&pUIds, B
...
@@ -886,7 +886,8 @@ void TestToolObj::ReadNames( String Filename, CNames *&pNames, CNames *&pUIds, B
if
(
!
pUIds
)
if
(
!
pUIds
)
return
;
return
;
pNewDef
=
new
ControlDef
(
"Active"
,
SmartId
(
0
));
pNewDef
=
new
ControlDef
(
"Active"
,
SmartId
(
0
));
if
(
!
pUIds
->
C40_PTR_INSERT
(
ControlItem
,
(
ControlItem
*&
)
pNewDef
))
const
ControlItem
*
pItem
=
pNewDef
;
if
(
!
pUIds
->
Insert
(
pItem
))
{
{
ADD_WARNING_LOG2
(
GEN_RES_STR1c
(
S_DOUBLE_NAME
,
"Active"
),
Filename
,
nLineNr
);
ADD_WARNING_LOG2
(
GEN_RES_STR1c
(
S_DOUBLE_NAME
,
"Active"
),
Filename
,
nLineNr
);
delete
pNewDef
;
delete
pNewDef
;
...
@@ -993,7 +994,8 @@ void TestToolObj::ReadNames( String Filename, CNames *&pNames, CNames *&pUIds, B
...
@@ -993,7 +994,8 @@ void TestToolObj::ReadNames( String Filename, CNames *&pNames, CNames *&pUIds, B
OldTree
=
(
ControlDef
*
)
pNames
->
GetObject
(
nElement
);
OldTree
=
(
ControlDef
*
)
pNames
->
GetObject
(
nElement
);
pNewDef
=
new
ControlDef
(
aLongname
,
aShortname
,
OldTree
,
TRUE
);
pNewDef
=
new
ControlDef
(
aLongname
,
aShortname
,
OldTree
,
TRUE
);
if
(
!
pNames
->
C40_PTR_INSERT
(
ControlItem
,
(
ControlItem
*&
)
pNewDef
))
const
ControlItem
*
pItem
=
pNewDef
;
if
(
!
pNames
->
Insert
(
pItem
))
{
{
ADD_WARNING_LOG2
(
GEN_RES_STR1
(
S_DOUBLE_NAME
,
aLine
),
Filename
,
nLineNr
);
ADD_WARNING_LOG2
(
GEN_RES_STR1
(
S_DOUBLE_NAME
,
aLine
),
Filename
,
nLineNr
);
delete
pNewDef
;
delete
pNewDef
;
...
@@ -1060,7 +1062,8 @@ void TestToolObj::ReadNames( String Filename, CNames *&pNames, CNames *&pUIds, B
...
@@ -1060,7 +1062,8 @@ void TestToolObj::ReadNames( String Filename, CNames *&pNames, CNames *&pUIds, B
}
}
}
}
if
(
!
pNames
->
C40_PTR_INSERT
(
ControlItem
,
(
ControlItem
*&
)
pNewDef
))
const
ControlItem
*
pItem
=
pNewDef
;
if
(
!
pNames
->
Insert
(
pItem
))
{
{
ADD_WARNING_LOG2
(
GEN_RES_STR1
(
S_DOUBLE_NAME
,
aLine
),
Filename
,
nLineNr
);
ADD_WARNING_LOG2
(
GEN_RES_STR1
(
S_DOUBLE_NAME
,
aLine
),
Filename
,
nLineNr
);
delete
pNewDef
;
delete
pNewDef
;
...
@@ -1535,7 +1538,8 @@ BOOL TestToolObj::ReadNamesBin( String Filename, CNames *&pSIds, CNames *&pContr
...
@@ -1535,7 +1538,8 @@ BOOL TestToolObj::ReadNamesBin( String Filename, CNames *&pSIds, CNames *&pContr
}
}
}
}
if
(
!
pNames
->
C40_PTR_INSERT
(
ControlItem
,
(
ControlItem
*&
)
pNewDef
))
const
ControlItem
*
pItem
=
pNewDef
;
if
(
!
pNames
->
Insert
(
pItem
))
{
{
DBG_ERROR
(
" !!!! ACHTUNG !!!! Fehler beim einf�gen eines namens!"
);
DBG_ERROR
(
" !!!! ACHTUNG !!!! Fehler beim einf�gen eines namens!"
);
delete
pNewDef
;
delete
pNewDef
;
...
...
automation/source/testtool/objtest.hxx
Dosyayı görüntüle @
8a1a8538
...
@@ -139,7 +139,7 @@ DBG_DTOR(ControlItem,0);
...
@@ -139,7 +139,7 @@ DBG_DTOR(ControlItem,0);
SV_DECL_PTRARR_SORT_DEL
(
CNames
,
ControlItem
*
,
50
,
10
)
SV_DECL_PTRARR_SORT_DEL
(
CNames
,
ControlItem
*
,
50
,
10
)
#define MK_SON_ACCESS( ClassName )\
#define MK_SON_ACCESS( ClassName )\
BOOL SonInsert( const ClassName *pNewEntry ) {
return pSons->C40_PTR_INSERT( ControlItem, (ControlItem*&)pNewEntry
); }\
BOOL SonInsert( const ClassName *pNewEntry ) {
const ControlItem *pItem = pNewEntry; return pSons->Insert( pItem
); }\
BOOL SonSeek_Entry( const ClassName *pSearchEntry, USHORT *nRes = NULL) { return pSons->Seek_Entry( pSearchEntry, nRes ); }\
BOOL SonSeek_Entry( const ClassName *pSearchEntry, USHORT *nRes = NULL) { return pSons->Seek_Entry( pSearchEntry, nRes ); }\
ClassName* SonGetObject( USHORT nNr ) { return (ClassName*)pSons->GetObject( nNr ); }
ClassName* SonGetObject( USHORT nNr ) { return (ClassName*)pSons->GetObject( nNr ); }
...
...
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