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
b6543fbf
Kaydet (Commit)
b6543fbf
authored
Haz 30, 2004
tarafından
Hans-Joachim Lankenau
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i10000# adopt to ISO codes
üst
8cff4a6d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
7 deletions
+21
-7
resource.src
framework/source/classes/resource.src
+0
-0
license.cxx
framework/source/services/license.cxx
+21
-7
No files found.
framework/source/classes/resource.src
Dosyayı görüntüle @
b6543fbf
This diff is collapsed.
Click to expand it.
framework/source/services/license.cxx
Dosyayı görüntüle @
b6543fbf
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: license.cxx,v $
* $RCSfile: license.cxx,v $
*
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
*
* last change: $Author:
kz $ $Date: 2004-06-10 13:22:39
$
* last change: $Author:
hjs $ $Date: 2004-06-30 10:19:54
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -321,23 +321,37 @@ css::uno::Any SAL_CALL License::execute(const css::uno::Sequence< css::beans::Na
...
@@ -321,23 +321,37 @@ css::uno::Any SAL_CALL License::execute(const css::uno::Sequence< css::beans::Na
return
aRet
;
return
aRet
;
}
}
// determine the filename of the license to show
// determine the filename of the license to show
LanguageType
aLanguage
=
LANGUAGE_DONTKNOW
;
OUString
aLangString
;
::
com
::
sun
::
star
::
lang
::
Locale
aLocale
;
OString
aMgrName
=
OString
(
"fwe"
)
+
OString
::
valueOf
((
sal_Int32
)
SUPD
,
10
);
OString
aMgrName
=
OString
(
"fwe"
)
+
OString
::
valueOf
((
sal_Int32
)
SUPD
,
10
);
AllSettings
aSettings
(
Application
::
GetSettings
());
AllSettings
aSettings
(
Application
::
GetSettings
());
aL
anguage
=
aSettings
.
GetUILanguag
e
();
aL
ocale
=
aSettings
.
GetUILocal
e
();
ResMgr
*
pResMgr
=
ResMgr
::
SearchCreateResMgr
(
aMgrName
,
aL
anguag
e
);
ResMgr
*
pResMgr
=
ResMgr
::
SearchCreateResMgr
(
aMgrName
,
aL
ocal
e
);
aLangString
=
aLocale
.
Language
;
if
(
aLocale
.
Country
.
getLength
()
!=
0
)
{
aLangString
+=
OUString
::
createFromAscii
(
"-"
);
aLangString
+=
aLocale
.
Country
;
if
(
aLocale
.
Variant
.
getLength
()
!=
0
)
{
aLangString
+=
OUString
::
createFromAscii
(
"-"
);
aLangString
+=
aLocale
.
Variant
;
}
}
#ifdef WNT
#ifdef WNT
OUString
aLicensePath
=
OUString
aLicensePath
=
aBaseInstallPath
+
OUString
::
createFromAscii
(
szLicensePath
)
aBaseInstallPath
+
OUString
::
createFromAscii
(
szLicensePath
)
+
OUString
::
createFromAscii
(
szWNTLicenseName
)
+
OUString
::
createFromAscii
(
szWNTLicenseName
)
+
OUString
::
createFromAscii
(
ResMgr
::
GetLang
(
aLanguage
,
0
))
+
OUString
::
createFromAscii
(
"_"
)
+
aLangString
+
OUString
::
createFromAscii
(
szWNTLicenseExt
);
+
OUString
::
createFromAscii
(
szWNTLicenseExt
);
#else
#else
OUString
aLicensePath
=
OUString
aLicensePath
=
aBaseInstallPath
+
OUString
::
createFromAscii
(
szLicensePath
)
aBaseInstallPath
+
OUString
::
createFromAscii
(
szLicensePath
)
+
OUString
::
createFromAscii
(
szUNXLicenseName
)
+
OUString
::
createFromAscii
(
szUNXLicenseName
)
+
OUString
::
createFromAscii
(
ResMgr
::
GetLang
(
aLanguage
,
0
))
+
OUString
::
createFromAscii
(
"_"
)
+
aLangString
+
OUString
::
createFromAscii
(
szUNXLicenseExt
);
+
OUString
::
createFromAscii
(
szUNXLicenseExt
);
#endif
#endif
// check if we need to show the license at all
// check if we need to show the license at all
...
...
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