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
5c2002d0
Kaydet (Commit)
5c2002d0
authored
Tem 02, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:casttovoid: l10ntools
Change-Id: I9f21497e821632936074272b52879507f60afe65
üst
66d19e8f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
9 deletions
+5
-9
helpmerge.hxx
l10ntools/inc/helpmerge.hxx
+2
-3
helpex.cxx
l10ntools/source/helpex.cxx
+2
-2
helpmerge.cxx
l10ntools/source/helpmerge.cxx
+1
-4
No files found.
l10ntools/inc/helpmerge.hxx
Dosyayı görüntüle @
5c2002d0
...
...
@@ -47,9 +47,8 @@ public:
static
bool
CreatePO
(
const
OString
&
rPOFile_in
,
const
OString
&
sHelpFile
,
XMLFile
*
pXmlFile
,
const
OString
&
rGsi1
);
/// Method merges the String from the POfile into XMLfile. Both Strings must
/// point to existing files.
bool
Merge
(
const
OString
&
rPOFile_in
,
const
OString
&
rDestinationFile_in
,
/// Method merges the String into XMLfile, which must point to an existing file.
bool
Merge
(
const
OString
&
rDestinationFile_in
,
const
OString
&
sLanguage
,
MergeDataFile
*
pMergeDataFile
);
private
:
...
...
l10ntools/source/helpex.cxx
Dosyayı görüntüle @
5c2002d0
...
...
@@ -94,7 +94,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
const
OString
sOutput
(
aArgs
.
m_sOutputFile
+
sXhpFile
.
copy
(
sXhpFile
.
lastIndexOf
(
'/'
)
));
if
(
!
aParser
.
Merge
(
aArgs
.
m_sMergeSrc
,
sOutput
,
if
(
!
aParser
.
Merge
(
sOutput
,
aArgs
.
m_sLanguage
,
pMergeDataFile
.
get
()
))
{
hasNoError
=
false
;
...
...
@@ -113,7 +113,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
}
hasNoError
=
aParser
.
Merge
(
aArgs
.
m_s
MergeSrc
,
aArgs
.
m_s
OutputFile
,
aArgs
.
m_sOutputFile
,
aArgs
.
m_sLanguage
,
pMergeDataFile
.
get
()
);
}
}
...
...
l10ntools/source/helpmerge.cxx
Dosyayı görüntüle @
5c2002d0
...
...
@@ -142,12 +142,9 @@ bool HelpParser::CreatePO(
return
true
;
}
bool
HelpParser
::
Merge
(
const
OString
&
r
POFile
,
const
OString
&
r
DestinationFile
,
bool
HelpParser
::
Merge
(
const
OString
&
rDestinationFile
,
const
OString
&
rLanguage
,
MergeDataFile
*
pMergeDataFile
)
{
(
void
)
rPOFile
;
SimpleXMLParser
aParser
;
//TODO: explicit BOM handling?
...
...
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