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
5dd4a069
Kaydet (Commit)
5dd4a069
authored
Şub 15, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
l10ntools: sal_Bool -> bool
Change-Id: Ifffdc0942b83b5761cbbbfc5db7d241be60815cb
üst
a450e0ee
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
82 additions
and
82 deletions
+82
-82
cfgmerge.hxx
l10ntools/inc/cfgmerge.hxx
+3
-3
export.hxx
l10ntools/inc/export.hxx
+17
-17
lngmerge.hxx
l10ntools/inc/lngmerge.hxx
+4
-4
xmlparse.hxx
l10ntools/inc/xmlparse.hxx
+1
-1
xrmmerge.hxx
l10ntools/inc/xrmmerge.hxx
+4
-4
cfgmerge.cxx
l10ntools/source/cfgmerge.cxx
+11
-11
export.cxx
l10ntools/source/export.cxx
+0
-0
lngmerge.cxx
l10ntools/source/lngmerge.cxx
+12
-12
merge.cxx
l10ntools/source/merge.cxx
+12
-12
xmlparse.cxx
l10ntools/source/xmlparse.cxx
+2
-2
xrmmerge.cxx
l10ntools/source/xrmmerge.cxx
+16
-16
No files found.
l10ntools/inc/cfgmerge.hxx
Dosyayı görüntüle @
5dd4a069
...
...
@@ -103,7 +103,7 @@ protected:
CfgStack
aStack
;
CfgStackData
*
pStackData
;
sal_B
ool
bLocalize
;
b
ool
bLocalize
;
virtual
void
WorkOnText
(
OString
&
rText
,
...
...
@@ -122,7 +122,7 @@ private:
const
OString
&
rIsoLang
,
const
OString
&
rResTyp
);
sal_B
ool
IsTokenClosed
(
const
OString
&
rToken
);
b
ool
IsTokenClosed
(
const
OString
&
rToken
);
public
:
CfgParser
();
...
...
@@ -163,7 +163,7 @@ private:
ResData
*
pResData
;
OString
sFilename
;
sal_B
ool
bEnglish
;
b
ool
bEnglish
;
std
::
ofstream
pOutputStream
;
...
...
l10ntools/inc/export.hxx
Dosyayı görüntüle @
5dd4a069
...
...
@@ -71,15 +71,15 @@ class ResData
public
:
ResData
(
const
OString
&
rGId
);
ResData
(
const
OString
&
rGId
,
const
OString
&
rFilename
);
sal_B
ool
SetId
(
const
OString
&
rId
,
sal_uInt16
nLevel
);
b
ool
SetId
(
const
OString
&
rId
,
sal_uInt16
nLevel
);
sal_uInt16
nIdLevel
;
sal_B
ool
bChild
;
sal_B
ool
bChildWithText
;
b
ool
bChild
;
b
ool
bChildWithText
;
sal_B
ool
bText
;
sal_B
ool
bQuickHelpText
;
sal_B
ool
bTitle
;
b
ool
bText
;
b
ool
bQuickHelpText
;
b
ool
bTitle
;
OString
sResTyp
;
OString
sId
;
...
...
@@ -130,23 +130,23 @@ private:
ResStack
aResStack
;
///< stack for parsing recursive
sal_B
ool
bDefine
;
// cur. res. in a define?
sal_B
ool
bNextMustBeDefineEOL
;
///< define but no \ at lineend
b
ool
bDefine
;
// cur. res. in a define?
b
ool
bNextMustBeDefineEOL
;
///< define but no \ at lineend
std
::
size_t
nLevel
;
// res. recursiv? how deep?
sal_uInt16
nList
;
///< cur. res. is List
std
::
size_t
nListIndex
;
std
::
size_t
nListLevel
;
sal_B
ool
bMergeMode
;
b
ool
bMergeMode
;
OString
sMergeSrc
;
sal_B
ool
bError
;
// any errors while export?
sal_B
ool
bReadOver
;
b
ool
bError
;
// any errors while export?
b
ool
bReadOver
;
OString
sFilename
;
OString
sLanguages
;
std
::
vector
<
OString
>
aLanguages
;
sal_Bool
WriteData
(
ResData
*
pResData
,
sal_Bool
bCreateNew
=
sal_F
alse
);
///< called befor dest. cur ResData
sal_B
ool
WriteExportList
(
ResData
*
pResData
,
ExportList
&
rExportList
,
const
sal_uInt16
nTyp
);
bool
WriteData
(
ResData
*
pResData
,
bool
bCreateNew
=
f
alse
);
///< called befor dest. cur ResData
b
ool
WriteExportList
(
ResData
*
pResData
,
ExportList
&
rExportList
,
const
sal_uInt16
nTyp
);
OString
MergePairedList
(
OString
const
&
sLine
,
OString
const
&
sText
);
...
...
@@ -179,8 +179,8 @@ public:
void
Init
();
int
Execute
(
int
nToken
,
const
char
*
pToken
);
///< called from lexer
void
SetError
()
{
bError
=
sal_T
rue
;
}
sal_B
ool
GetError
()
{
return
bError
;
}
void
SetError
()
{
bError
=
t
rue
;
}
b
ool
GetError
()
{
return
bError
;
}
ParserQueue
*
pParseQueue
;
// public!!
};
...
...
@@ -214,7 +214,7 @@ public:
sTitle
[
rId
]
=
rTitle
;
bTitleFirst
[
rId
]
=
true
;
}
bool
GetText
(
OString
&
rReturn
,
sal_uInt16
nTyp
,
const
OString
&
nLangIndex
,
sal_Bool
bDel
=
sal_F
alse
);
bool
GetText
(
OString
&
rReturn
,
sal_uInt16
nTyp
,
const
OString
&
nLangIndex
,
bool
bDel
=
f
alse
);
/**
Generate QTZ string with ResData
...
...
@@ -293,7 +293,7 @@ public:
~
MergeData
();
MergeEntrys
*
GetMergeEntries
();
sal_B
ool
operator
==
(
ResData
*
pData
);
b
ool
operator
==
(
ResData
*
pData
);
};
//
...
...
l10ntools/inc/lngmerge.hxx
Dosyayı görüntüle @
5dd4a069
...
...
@@ -46,7 +46,7 @@ private:
sal_uInt16
nError
;
LngLineList
*
pLines
;
OString
sSource
;
sal_B
ool
bULF
;
b
ool
bULF
;
std
::
vector
<
OString
>
aLanguages
;
bool
isNextGroup
(
OString
&
sGroup_out
,
const
OString
&
sLine_in
);
...
...
@@ -56,11 +56,11 @@ private:
const
OString
&
rActFileName
,
const
OString
&
rID
);
public
:
LngParser
(
const
OString
&
rLngFile
,
sal_B
ool
bULFFormat
);
b
ool
bULFFormat
);
~
LngParser
();
sal_B
ool
CreatePO
(
const
OString
&
rPOFile
);
sal_B
ool
Merge
(
const
OString
&
rPOFile
,
const
OString
&
rDestinationFile
,
b
ool
CreatePO
(
const
OString
&
rPOFile
);
b
ool
Merge
(
const
OString
&
rPOFile
,
const
OString
&
rDestinationFile
,
const
OString
&
rLanguage
);
};
...
...
l10ntools/inc/xmlparse.hxx
Dosyayı görüntüle @
5dd4a069
...
...
@@ -160,7 +160,7 @@ public:
XMLHashMap
*
GetStrings
(){
return
m_pXMLStrings
;
}
void
Write
(
OString
const
&
rFilename
);
sal_B
ool
Write
(
std
::
ofstream
&
rStream
,
XMLNode
*
pCur
=
NULL
);
b
ool
Write
(
std
::
ofstream
&
rStream
,
XMLNode
*
pCur
=
NULL
);
bool
CheckExportStatus
(
XMLParentNode
*
pCur
=
NULL
);
...
...
l10ntools/inc/xrmmerge.hxx
Dosyayı görüntüle @
5dd4a069
...
...
@@ -32,8 +32,8 @@ private:
OString
sGID
;
OString
sLID
;
sal_B
ool
bError
;
sal_B
ool
bText
;
b
ool
bError
;
b
ool
bText
;
OString
sCurrentOpenTag
;
OString
sCurrentCloseTag
;
...
...
@@ -65,8 +65,8 @@ public:
int
Execute
(
int
nToken
,
char
*
pToken
);
void
SetError
(
sal_Bool
bErr
=
sal_T
rue
)
{
bError
=
bErr
;
}
sal_B
ool
GetError
()
{
return
bError
;
}
void
SetError
(
bool
bErr
=
t
rue
)
{
bError
=
bErr
;
}
b
ool
GetError
()
{
return
bError
;
}
};
...
...
l10ntools/source/cfgmerge.cxx
Dosyayı görüntüle @
5dd4a069
...
...
@@ -133,7 +133,7 @@ CfgStackData *CfgStack::GetStackData()
CfgParser
::
CfgParser
()
:
pStackData
(
NULL
),
bLocalize
(
sal_F
alse
)
bLocalize
(
f
alse
)
{
}
...
...
@@ -141,7 +141,7 @@ CfgParser::~CfgParser()
{
}
sal_B
ool
CfgParser
::
IsTokenClosed
(
const
OString
&
rToken
)
b
ool
CfgParser
::
IsTokenClosed
(
const
OString
&
rToken
)
{
return
rToken
[
rToken
.
getLength
()
-
2
]
==
'/'
;
}
...
...
@@ -169,7 +169,7 @@ int CfgParser::ExecuteAnalyzedToken( int nToken, char *pToken )
OString
sTokenName
;
OString
sTokenId
;
sal_Bool
bOutput
=
sal_T
rue
;
bool
bOutput
=
t
rue
;
switch
(
nToken
)
{
case
CFG_TOKEN_PACKAGE
:
...
...
@@ -202,7 +202,7 @@ int CfgParser::ExecuteAnalyzedToken( int nToken, char *pToken )
break
;
case
CFG_TOKEN_OORNAME
:
sSearch
=
"oor:name="
;
bLocalize
=
sal_T
rue
;
bLocalize
=
t
rue
;
break
;
case
CFG_TOKEN_OORVALUE
:
sSearch
=
"oor:value="
;
...
...
@@ -217,7 +217,7 @@ int CfgParser::ExecuteAnalyzedToken( int nToken, char *pToken )
sCurrentIsoLang
=
sTemp
.
getToken
(
1
,
'"'
);
if
(
sCurrentIsoLang
==
NO_TRANSLATE_ISO
)
bLocalize
=
sal_F
alse
;
bLocalize
=
f
alse
;
pStackData
->
sTextTag
=
sToken
;
...
...
@@ -272,11 +272,11 @@ int CfgParser::ExecuteAnalyzedToken( int nToken, char *pToken )
case
CFG_TEXTCHAR
:
sCurrentText
+=
sToken
;
bOutput
=
sal_F
alse
;
bOutput
=
f
alse
;
break
;
case
CFG_TOKEN_NO_TRANSLATE
:
bLocalize
=
sal_F
alse
;
bLocalize
=
f
alse
;
break
;
}
...
...
@@ -399,7 +399,7 @@ CfgMerge::CfgMerge(
:
pMergeDataFile
(
NULL
),
pResData
(
NULL
),
sFilename
(
rFilename
),
bEnglish
(
sal_F
alse
)
bEnglish
(
f
alse
)
{
pOutputStream
.
open
(
rOutputFile
.
getStr
(),
std
::
ios_base
::
out
|
std
::
ios_base
::
trunc
);
...
...
@@ -451,7 +451,7 @@ void CfgMerge::WorkOnText(OString &, const OString& rLangIndex)
}
if
(
rLangIndex
.
equalsIgnoreAsciiCase
(
"en-US"
))
bEnglish
=
sal_T
rue
;
bEnglish
=
t
rue
;
}
}
...
...
@@ -472,7 +472,7 @@ void CfgMerge::WorkOnResourceEnd()
sCur
=
aLanguages
[
i
];
OString
sContent
;
pEntrys
->
GetText
(
sContent
,
STRING_TYP_TEXT
,
sCur
,
sal_T
rue
);
pEntrys
->
GetText
(
sContent
,
STRING_TYP_TEXT
,
sCur
,
t
rue
);
if
(
(
!
sCur
.
equalsIgnoreAsciiCase
(
"en-US"
)
)
&&
!
sContent
.
isEmpty
())
{
...
...
@@ -511,7 +511,7 @@ void CfgMerge::WorkOnResourceEnd()
}
delete
pResData
;
pResData
=
NULL
;
bEnglish
=
sal_F
alse
;
bEnglish
=
f
alse
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
l10ntools/source/export.cxx
Dosyayı görüntüle @
5dd4a069
This diff is collapsed.
Click to expand it.
l10ntools/source/lngmerge.cxx
Dosyayı görüntüle @
5dd4a069
...
...
@@ -48,7 +48,7 @@ static void lcl_RemoveUTF8ByteOrderMarker( OString &rString )
// class LngParser
//
LngParser
::
LngParser
(
const
OString
&
rLngFile
,
sal_B
ool
bULFFormat
)
b
ool
bULFFormat
)
:
nError
(
LNG_OK
)
,
pLines
(
NULL
)
,
sSource
(
rLngFile
)
...
...
@@ -89,7 +89,7 @@ LngParser::~LngParser()
delete
pLines
;
}
sal_B
ool
LngParser
::
CreatePO
(
const
OString
&
rPOFile
)
b
ool
LngParser
::
CreatePO
(
const
OString
&
rPOFile
)
{
PoOfstream
aPOStream
(
rPOFile
,
PoOfstream
::
APP
);
if
(
!
aPOStream
.
isOpen
())
{
...
...
@@ -97,7 +97,7 @@ sal_Bool LngParser::CreatePO( const OString &rPOFile )
}
size_t
nPos
=
0
;
sal_B
ool
bStart
=
true
;
b
ool
bStart
=
true
;
OString
sGroup
,
sLine
;
OStringHashMap
Text
;
OString
sID
;
...
...
@@ -126,7 +126,7 @@ void LngParser::WritePO(PoOfstream &aPOStream,
const
OString
&
rID
)
{
sal_B
ool
bExport
=
true
;
b
ool
bExport
=
true
;
if
(
bExport
)
{
common
::
writePoEntry
(
...
...
@@ -159,7 +159,7 @@ void LngParser::ReadLine(const OString &rLine_in,
}
}
sal_B
ool
LngParser
::
Merge
(
b
ool
LngParser
::
Merge
(
const
OString
&
rPOFile
,
const
OString
&
rDestinationFile
,
const
OString
&
rLanguage
)
...
...
@@ -176,7 +176,7 @@ sal_Bool LngParser::Merge(
aLanguages
=
aMergeDataFile
.
GetLanguages
();
size_t
nPos
=
0
;
sal_Bool
bGroup
=
sal_F
alse
;
bool
bGroup
=
f
alse
;
OString
sGroup
;
// seek to next group
...
...
@@ -187,7 +187,7 @@ sal_Bool LngParser::Merge(
if
(
sLine
.
startsWith
(
"["
)
&&
sLine
.
endsWith
(
"]"
)
)
{
sGroup
=
getBracketedContent
(
sLine
).
trim
();
bGroup
=
sal_T
rue
;
bGroup
=
t
rue
;
}
nPos
++
;
}
...
...
@@ -201,7 +201,7 @@ sal_Bool LngParser::Merge(
pResData
->
sResTyp
=
"LngText"
;
MergeEntrys
*
pEntrys
=
aMergeDataFile
.
GetMergeEntrys
(
pResData
);
// read languages
bGroup
=
sal_F
alse
;
bGroup
=
f
alse
;
OString
sLanguagesDone
;
...
...
@@ -212,7 +212,7 @@ sal_Bool LngParser::Merge(
if
(
sLine
.
startsWith
(
"["
)
&&
sLine
.
endsWith
(
"]"
)
)
{
sGroup
=
getBracketedContent
(
sLine
).
trim
();
bGroup
=
sal_T
rue
;
bGroup
=
t
rue
;
nPos
++
;
sLanguagesDone
=
""
;
}
...
...
@@ -242,7 +242,7 @@ sal_Bool LngParser::Merge(
if
(
!
sLang
.
isEmpty
()
)
{
OString
sNewText
;
pEntrys
->
GetText
(
sNewText
,
STRING_TYP_TEXT
,
sLang
,
sal_T
rue
);
pEntrys
->
GetText
(
sNewText
,
STRING_TYP_TEXT
,
sLang
,
t
rue
);
if
(
sLang
==
"qtz"
)
continue
;
...
...
@@ -280,7 +280,7 @@ sal_Bool LngParser::Merge(
{
OString
sNewText
;
pEntrys
->
GetText
(
sNewText
,
STRING_TYP_TEXT
,
sCur
,
sal_T
rue
);
pEntrys
->
GetText
(
sNewText
,
STRING_TYP_TEXT
,
sCur
,
t
rue
);
if
(
sCur
==
"qtz"
)
continue
;
if
(
!
sNewText
.
isEmpty
()
&&
sCur
!=
"x-comment"
)
...
...
@@ -314,7 +314,7 @@ sal_Bool LngParser::Merge(
aDestination
<<
(
*
pLines
)[
i
]
->
getStr
()
<<
'\n'
;
aDestination
.
close
();
return
sal_T
rue
;
return
t
rue
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
l10ntools/source/merge.cxx
Dosyayı görüntüle @
5dd4a069
...
...
@@ -66,11 +66,11 @@ namespace
ResData
::
ResData
(
const
OString
&
rGId
)
:
nIdLevel
(
ID_LEVEL_NULL
),
bChild
(
sal_F
alse
),
bChildWithText
(
sal_F
alse
),
bText
(
sal_F
alse
),
bQuickHelpText
(
sal_F
alse
),
bTitle
(
sal_F
alse
),
bChild
(
f
alse
),
bChildWithText
(
f
alse
),
bText
(
f
alse
),
bQuickHelpText
(
f
alse
),
bTitle
(
f
alse
),
sGId
(
rGId
),
sTextTyp
(
"Text"
)
{
...
...
@@ -80,11 +80,11 @@ ResData::ResData( const OString &rGId )
ResData
::
ResData
(
const
OString
&
rGId
,
const
OString
&
rFilename
)
:
nIdLevel
(
ID_LEVEL_NULL
),
bChild
(
sal_F
alse
),
bChildWithText
(
sal_F
alse
),
bText
(
sal_F
alse
),
bQuickHelpText
(
sal_F
alse
),
bTitle
(
sal_F
alse
),
bChild
(
f
alse
),
bChildWithText
(
f
alse
),
bText
(
f
alse
),
bQuickHelpText
(
f
alse
),
bTitle
(
f
alse
),
sGId
(
rGId
),
sFilename
(
rFilename
),
sTextTyp
(
"Text"
)
...
...
@@ -97,7 +97,7 @@ ResData::ResData( const OString &rGId, const OString &rFilename)
//
bool
MergeEntrys
::
GetText
(
OString
&
rReturn
,
sal_uInt16
nTyp
,
const
OString
&
nLangIndex
,
sal_B
ool
bDel
)
sal_uInt16
nTyp
,
const
OString
&
nLangIndex
,
b
ool
bDel
)
{
bool
bReturn
=
true
;
switch
(
nTyp
)
{
...
...
@@ -214,7 +214,7 @@ MergeEntrys* MergeData::GetMergeEntries()
return
pMergeEntrys
;
}
sal_B
ool
MergeData
::
operator
==
(
ResData
*
pData
)
b
ool
MergeData
::
operator
==
(
ResData
*
pData
)
{
return
pData
->
sId
==
sLID
&&
pData
->
sGId
==
sGID
&&
pData
->
sResTyp
.
equalsIgnoreAsciiCase
(
sTyp
);
...
...
l10ntools/source/xmlparse.cxx
Dosyayı görüntüle @
5dd4a069
...
...
@@ -172,7 +172,7 @@ void XMLFile::Write( OString const &aFilename )
s
.
close
();
}
sal_B
ool
XMLFile
::
Write
(
ofstream
&
rStream
,
XMLNode
*
pCur
)
b
ool
XMLFile
::
Write
(
ofstream
&
rStream
,
XMLNode
*
pCur
)
{
if
(
!
pCur
)
Write
(
rStream
,
this
);
...
...
@@ -237,7 +237,7 @@ sal_Bool XMLFile::Write( ofstream &rStream , XMLNode *pCur )
break
;
}
}
return
sal_T
rue
;
return
t
rue
;
}
void
XMLFile
::
Print
(
XMLNode
*
pCur
,
sal_uInt16
nLevel
)
...
...
l10ntools/source/xrmmerge.cxx
Dosyayı görüntüle @
5dd4a069
...
...
@@ -40,8 +40,8 @@ void YYWarning( const char * );
// set of global variables
bool
bMergeMode
;
sal_B
ool
bDisplayName
;
sal_B
ool
bExtensionDescription
;
b
ool
bDisplayName
;
b
ool
bExtensionDescription
;
OString
sLanguage
;
OString
sInputFileName
;
OString
sOutputFile
;
...
...
@@ -55,8 +55,8 @@ extern "C" {
extern
char
*
GetOutputFile
(
int
argc
,
char
*
argv
[])
{
bDisplayName
=
sal_F
alse
;
bExtensionDescription
=
sal_F
alse
;
bDisplayName
=
f
alse
;
bExtensionDescription
=
f
alse
;
common
::
HandledArgs
aArgs
;
if
(
common
::
handleArguments
(
argc
,
argv
,
aArgs
)
)
...
...
@@ -149,8 +149,8 @@ int GetError()
XRMResParser
::
XRMResParser
()
:
bError
(
sal_F
alse
),
bText
(
sal_F
alse
)
:
bError
(
f
alse
),
bText
(
f
alse
)
{
}
...
...
@@ -168,7 +168,7 @@ int XRMResParser::Execute( int nToken, char * pToken )
if
(
sNewGID
!=
sGID
)
{
sGID
=
sNewGID
;
}
bText
=
sal_T
rue
;
bText
=
t
rue
;
sCurrentText
=
""
;
sCurrentOpenTag
=
rToken
;
Output
(
rToken
);
...
...
@@ -182,26 +182,26 @@ int XRMResParser::Execute( int nToken, char * pToken )
WorkOnText
(
sCurrentOpenTag
,
sCurrentText
);
Output
(
sCurrentText
);
EndOfText
(
sCurrentOpenTag
,
sCurrentCloseTag
);
bText
=
sal_F
alse
;
bText
=
f
alse
;
rToken
=
OString
(
""
);
sCurrentText
=
OString
(
""
);
}
break
;
case
DESC_DISPLAY_NAME_START
:{
bDisplayName
=
sal_T
rue
;
bDisplayName
=
t
rue
;
}
break
;
case
DESC_DISPLAY_NAME_END
:{
bDisplayName
=
sal_F
alse
;
bDisplayName
=
f
alse
;
}
break
;
case
DESC_TEXT_START
:{
if
(
bDisplayName
)
{
sGID
=
OString
(
"dispname"
);
bText
=
sal_T
rue
;
bText
=
t
rue
;
sCurrentText
=
""
;
sCurrentOpenTag
=
rToken
;
Output
(
rToken
);
...
...
@@ -217,7 +217,7 @@ int XRMResParser::Execute( int nToken, char * pToken )
WorkOnText
(
sCurrentOpenTag
,
sCurrentText
);
Output
(
sCurrentText
);
EndOfText
(
sCurrentOpenTag
,
sCurrentCloseTag
);
bText
=
sal_F
alse
;
bText
=
f
alse
;
rToken
=
OString
(
""
);
sCurrentText
=
OString
(
""
);
}
...
...
@@ -225,12 +225,12 @@ int XRMResParser::Execute( int nToken, char * pToken )
break
;
case
DESC_EXTENSION_DESCRIPTION_START
:
{
bExtensionDescription
=
sal_T
rue
;
bExtensionDescription
=
t
rue
;
}
break
;
case
DESC_EXTENSION_DESCRIPTION_END
:
{
bExtensionDescription
=
sal_F
alse
;
bExtensionDescription
=
f
alse
;
}
break
;
...
...
@@ -420,7 +420,7 @@ void XRMResMerge::WorkOnDesc(
OString
sContent
;
if
(
!
sCur
.
equalsIgnoreAsciiCase
(
"en-US"
)
&&
(
pEntrys
->
GetText
(
sContent
,
STRING_TYP_TEXT
,
sCur
,
sal_T
rue
))
&&
sContent
,
STRING_TYP_TEXT
,
sCur
,
t
rue
))
&&
!
sContent
.
isEmpty
())
{
OString
sText
(
sContent
);
...
...
@@ -509,7 +509,7 @@ void XRMResMerge::EndOfText(
OString
sContent
;
if
(
!
sCur
.
equalsIgnoreAsciiCase
(
"en-US"
)
&&
(
pEntrys
->
GetText
(
sContent
,
STRING_TYP_TEXT
,
sCur
,
sal_T
rue
))
&&
sContent
,
STRING_TYP_TEXT
,
sCur
,
t
rue
))
&&
!
sContent
.
isEmpty
()
&&
helper
::
isWellFormedXML
(
sContent
))
{
...
...
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