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
4b8a6ca6
Kaydet (Commit)
4b8a6ca6
authored
Ock 20, 2003
tarafından
Lars Langhans
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cleanup
üst
b34566c5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
17 deletions
+23
-17
autoregisterhelper.cxx
testshl2/source/autoregisterhelper.cxx
+4
-3
versioner.cxx
testshl2/source/versioner.cxx
+9
-6
versionhelper.cxx
testshl2/source/versionhelper.cxx
+10
-8
No files found.
testshl2/source/autoregisterhelper.cxx
Dosyayı görüntüle @
4b8a6ca6
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: autoregisterhelper.cxx,v $
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
* last change: $Author: lla $ $Date: 2003-01-
09 11:46:11
$
* last change: $Author: lla $ $Date: 2003-01-
20 11:10:53
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -100,6 +100,7 @@ AutomaticRegisterHelper::AutomaticRegisterHelper(rtl::OUString const& _sDLLName,
aCallback
.
aCallbackDispatch
=
&
CallbackDispatch
;
// special parameter for API testing
if
(
_aOptions
.
hasOpt
(
"-forward"
))
{
aCallback
.
psForward
=
_aOptions
.
getOpt
(
"-forward"
).
getStr
();
...
...
@@ -128,7 +129,7 @@ AutomaticRegisterHelper::AutomaticRegisterHelper(rtl::OUString const& _sDLLName,
else
{
// ERROR, the function seams not to be what we thing it's to be.
fprintf
(
stderr
,
"error: Internal
test failed. Value Magic2 != Magic
\n
"
);
fprintf
(
stderr
,
"error: Internal
check failed. Structure inconsistent, Value Magic2 != Magic.
\n
Please recompile your test libraries.
"
);
exit
(
-
1
);
}
}
...
...
testshl2/source/versioner.cxx
Dosyayı görüntüle @
4b8a6ca6
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: versioner.cxx,v $
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
* last change: $Author: lla $ $Date: 2003-01-
09 11:46:11
$
* last change: $Author: lla $ $Date: 2003-01-
20 11:10:27
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -68,10 +68,6 @@
#include <iostream>
/**
* display usage screen
*/
// ----------------------------------- Main -----------------------------------
#if (defined UNX) || (defined OS2)
int
main
(
int
argc
,
char
*
argv
[]
)
...
...
@@ -94,6 +90,13 @@ int _cdecl main( int argc, char* argv[] )
exit
(
0
);
}
if
(
opt
.
getParams
().
empty
())
{
std
::
cerr
<<
"error: At least a library should given."
<<
std
::
endl
;
opt
.
showUsage
();
exit
(
0
);
}
rtl
::
OUString
suLibraryName
=
rtl
::
OStringToOUString
(
opt
.
getFirstParam
(),
RTL_TEXTENCODING_ASCII_US
);
VersionHelper
aHelper
(
suLibraryName
,
opt
);
...
...
testshl2/source/versionhelper.cxx
Dosyayı görüntüle @
4b8a6ca6
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: versionhelper.cxx,v $
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
* last change: $Author: lla $ $Date: 2003-01-
09 11:46:11
$
* last change: $Author: lla $ $Date: 2003-01-
20 11:10:27
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -81,12 +81,12 @@ VersionHelper::VersionHelper(rtl::OUString const& _sDLLName, GetOpt & _aOptions)
void
VersionHelper
::
print
(
std
::
ostream
&
stream
)
{
stream
<<
m_pInfo
->
aTime
<<
std
::
endl
;
stream
<<
m_pInfo
->
aDate
<<
std
::
endl
;
stream
<<
m_pInfo
->
aUpd
<<
std
::
endl
;
stream
<<
m_pInfo
->
aMinor
<<
std
::
endl
;
stream
<<
m_pInfo
->
aBuild
<<
std
::
endl
;
stream
<<
m_pInfo
->
aInpath
<<
std
::
endl
;
stream
<<
" Time:"
<<
m_pInfo
->
aTime
<<
std
::
endl
;
stream
<<
" Date:"
<<
m_pInfo
->
aDate
<<
std
::
endl
;
stream
<<
" Upd:"
<<
m_pInfo
->
aUpd
<<
std
::
endl
;
stream
<<
" Minor:"
<<
m_pInfo
->
aMinor
<<
std
::
endl
;
stream
<<
" Build:"
<<
m_pInfo
->
aBuild
<<
std
::
endl
;
stream
<<
"Inpath:"
<<
m_pInfo
->
aInpath
<<
std
::
endl
;
}
std
::
ostream
&
...
...
@@ -98,3 +98,5 @@ operator <<( std::ostream &stream,
}
// versioner gpf zu haeufig.
// perl script um alles herum
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