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
6f9dff66
Kaydet (Commit)
6f9dff66
authored
Haz 28, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
break build id into multiple lines if using g log
üst
8294f08c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
3 deletions
+24
-3
about.cxx
cui/source/dialogs/about.cxx
+24
-3
No files found.
cui/source/dialogs/about.cxx
Dosyayı görüntüle @
6f9dff66
...
@@ -72,13 +72,34 @@ Image SfxApplication::GetApplicationLogo()
...
@@ -72,13 +72,34 @@ Image SfxApplication::GetApplicationLogo()
return
Image
(
aBitmap
);
return
Image
(
aBitmap
);
}
}
/*
intense magic to get strong
version information */
/*
get good
version information */
static
String
static
String
GetBuildId
()
GetBuildId
()
{
{
rtl
::
OUString
sDefault
;
rtl
::
OUString
sDefault
;
String
sBuildId
(
utl
::
Bootstrap
::
getBuildIdData
(
sDefault
)
);
rtl
::
OUString
sBuildId
(
utl
::
Bootstrap
::
getBuildIdData
(
sDefault
)
);
OSL_ENSURE
(
sBuildId
.
Len
()
>
0
,
"No BUILDID in bootstrap file"
);
//strip trailing - from ./g log
if
(
!
sBuildId
.
isEmpty
()
&&
sBuildId
.
getStr
()[
sBuildId
.
getLength
()
-
1
]
==
'-'
)
{
rtl
::
OUStringBuffer
aBuffer
;
sal_Int32
nIndex
=
0
;
do
{
rtl
::
OUString
aToken
=
sBuildId
.
getToken
(
0
,
'-'
,
nIndex
);
if
(
!
aToken
.
isEmpty
())
{
aBuffer
.
append
(
aToken
);
if
(
nIndex
%
5
)
aBuffer
.
append
(
static_cast
<
sal_Unicode
>
(
'-'
));
else
aBuffer
.
append
(
static_cast
<
sal_Unicode
>
(
'\n'
));
}
}
while
(
nIndex
>=
0
);
sBuildId
=
aBuffer
.
makeStringAndClear
();
}
OSL_ENSURE
(
sBuildId
.
getLength
()
>
0
,
"No BUILDID in bootstrap file"
);
return
sBuildId
;
return
sBuildId
;
}
}
...
...
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