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
dd691312
Kaydet (Commit)
dd691312
authored
Eyl 23, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
we shouldn't need explicit lt_rtl_OUString, etc things anymore
Change-Id: Ibeec3fcc353e07e61fb2c838b318e0a04081ce2c
üst
3be5dead
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
19 additions
and
78 deletions
+19
-78
hangulhanja.cxx
editeng/source/misc/hangulhanja.cxx
+2
-2
idlctypes.hxx
idlc/inc/idlctypes.hxx
+1
-9
global.hxx
include/codemaker/global.hxx
+1
-9
hyphenimp.cxx
lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
+2
-2
lingutil.hxx
lingucomponent/source/lingutil/lingutil.hxx
+0
-8
sspellimp.cxx
lingucomponent/source/spellcheck/spell/sspellimp.cxx
+2
-2
nthesimp.cxx
lingucomponent/source/thesaurus/libnth/nthesimp.cxx
+2
-2
convdic.hxx
linguistic/source/convdic.hxx
+3
-22
xeescher.cxx
sc/source/filter/excel/xeescher.cxx
+1
-9
ww8par.cxx
sw/source/filter/ww8/ww8par.cxx
+1
-1
ww8par.hxx
sw/source/filter/ww8/ww8par.hxx
+2
-10
ww8par5.cxx
sw/source/filter/ww8/ww8par5.cxx
+2
-2
No files found.
editeng/source/misc/hangulhanja.cxx
Dosyayı görüntüle @
dd691312
...
...
@@ -58,8 +58,8 @@ namespace editeng
class
HangulHanjaConversion_Impl
{
private
:
typedef
::
std
::
set
<
OUString
,
::
std
::
less
<
OUString
>
>
StringBag
;
typedef
::
std
::
map
<
OUString
,
OUString
,
::
std
::
less
<
OUString
>
>
StringMap
;
typedef
std
::
set
<
OUString
>
StringBag
;
typedef
std
::
map
<
OUString
,
OUString
>
StringMap
;
private
:
StringBag
m_sIgnoreList
;
...
...
idlc/inc/idlctypes.hxx
Dosyayı görüntüle @
dd691312
...
...
@@ -30,17 +30,9 @@
#include <sal/types.h>
#include <rtl/ustring.hxx>
struct
LessString
{
bool
operator
()(
const
OString
&
str1
,
const
OString
&
str2
)
const
{
return
(
str1
<
str2
);
}
};
typedef
::
std
::
list
<
OString
>
StringList
;
typedef
::
std
::
vector
<
OString
>
StringVector
;
typedef
::
std
::
set
<
OString
,
LessString
>
StringSet
;
typedef
::
std
::
set
<
OString
>
StringSet
;
class
AstDeclaration
;
...
...
include/codemaker/global.hxx
Dosyayı görüntüle @
dd691312
...
...
@@ -30,17 +30,9 @@
#include <rtl/ustring.hxx>
#include <rtl/strbuf.hxx>
struct
LessString
{
bool
operator
()(
const
::
rtl
::
OString
&
str1
,
const
::
rtl
::
OString
&
str2
)
const
{
return
(
str1
<
str2
);
}
};
typedef
::
std
::
list
<
::
rtl
::
OString
>
StringList
;
typedef
::
std
::
vector
<
::
rtl
::
OString
>
StringVector
;
typedef
::
std
::
set
<
::
rtl
::
OString
,
LessString
>
StringSet
;
typedef
::
std
::
set
<
::
rtl
::
OString
>
StringSet
;
// FileStream
...
...
lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
Dosyayı görüntüle @
dd691312
...
...
@@ -149,7 +149,7 @@ Sequence< Locale > SAL_CALL Hyphenator::getLocales()
{
// get supported locales from the dictionaries-to-use...
sal_Int32
k
=
0
;
std
::
set
<
OUString
,
lt_rtl_OUString
>
aLocaleNamesSet
;
std
::
set
<
OUString
>
aLocaleNamesSet
;
std
::
list
<
SvtLinguConfigDictionaryEntry
>::
const_iterator
aDictIt
;
for
(
aDictIt
=
aDics
.
begin
();
aDictIt
!=
aDics
.
end
();
++
aDictIt
)
{
...
...
@@ -162,7 +162,7 @@ Sequence< Locale > SAL_CALL Hyphenator::getLocales()
}
// ... and add them to the resulting sequence
aSuppLocales
.
realloc
(
aLocaleNamesSet
.
size
()
);
std
::
set
<
OUString
,
lt_rtl_OUString
>::
const_iterator
aItB
;
std
::
set
<
OUString
>::
const_iterator
aItB
;
k
=
0
;
for
(
aItB
=
aLocaleNamesSet
.
begin
();
aItB
!=
aLocaleNamesSet
.
end
();
++
aItB
)
{
...
...
lingucomponent/source/lingutil/lingutil.hxx
Dosyayı görüntüle @
dd691312
...
...
@@ -33,14 +33,6 @@
struct
SvtLinguConfigDictionaryEntry
;
struct
lt_rtl_OUString
{
bool
operator
()
(
const
OUString
&
r1
,
const
OUString
&
r2
)
const
{
return
r1
<
r2
;
}
};
#if defined(_WIN32)
// to be use to get a path name with long path prefix
...
...
lingucomponent/source/spellcheck/spell/sspellimp.cxx
Dosyayı görüntüle @
dd691312
...
...
@@ -147,7 +147,7 @@ Sequence< Locale > SAL_CALL SpellChecker::getLocales()
uno
::
Reference
<
ucb
::
XSimpleFileAccess
>
xAccess
(
xServiceFactory
->
createInstance
(
"com.sun.star.ucb.SimpleFileAccess"
),
uno
::
UNO_QUERY
);
// get supported locales from the dictionaries-to-use...
sal_Int32
k
=
0
;
std
::
set
<
OUString
,
lt_rtl_OUString
>
aLocaleNamesSet
;
std
::
set
<
OUString
>
aLocaleNamesSet
;
std
::
list
<
SvtLinguConfigDictionaryEntry
>::
const_iterator
aDictIt
;
for
(
aDictIt
=
aDics
.
begin
();
aDictIt
!=
aDics
.
end
();
++
aDictIt
)
{
...
...
@@ -176,7 +176,7 @@ Sequence< Locale > SAL_CALL SpellChecker::getLocales()
}
// ... and add them to the resulting sequence
aSuppLocales
.
realloc
(
aLocaleNamesSet
.
size
()
);
std
::
set
<
OUString
,
lt_rtl_OUString
>::
const_iterator
aItB
;
std
::
set
<
OUString
>::
const_iterator
aItB
;
k
=
0
;
for
(
aItB
=
aLocaleNamesSet
.
begin
();
aItB
!=
aLocaleNamesSet
.
end
();
++
aItB
)
{
...
...
lingucomponent/source/thesaurus/libnth/nthesimp.cxx
Dosyayı görüntüle @
dd691312
...
...
@@ -164,7 +164,7 @@ Sequence< Locale > SAL_CALL Thesaurus::getLocales()
{
// get supported locales from the dictionaries-to-use...
sal_Int32
k
=
0
;
std
::
set
<
OUString
,
lt_rtl_OUString
>
aLocaleNamesSet
;
std
::
set
<
OUString
>
aLocaleNamesSet
;
std
::
list
<
SvtLinguConfigDictionaryEntry
>::
const_iterator
aDictIt
;
for
(
aDictIt
=
aDics
.
begin
();
aDictIt
!=
aDics
.
end
();
++
aDictIt
)
{
...
...
@@ -177,7 +177,7 @@ Sequence< Locale > SAL_CALL Thesaurus::getLocales()
}
// ... and add them to the resulting sequence
aSuppLocales
.
realloc
(
aLocaleNamesSet
.
size
()
);
std
::
set
<
OUString
,
lt_rtl_OUString
>::
const_iterator
aItB
;
std
::
set
<
OUString
>::
const_iterator
aItB
;
k
=
0
;
for
(
aItB
=
aLocaleNamesSet
.
begin
();
aItB
!=
aLocaleNamesSet
.
end
();
++
aItB
)
{
...
...
linguistic/source/convdic.hxx
Dosyayı görüntüle @
dd691312
...
...
@@ -41,30 +41,11 @@
bool
IsConvDic
(
const
OUString
&
rFileURL
,
sal_Int16
&
nLang
,
sal_Int16
&
nConvType
);
struct
StrLT
{
bool
operator
()(
const
OUString
&
rTxt1
,
const
OUString
&
rTxt2
)
const
{
return
rTxt1
<
rTxt2
;
}
};
struct
StrEQ
{
bool
operator
()(
const
OUString
&
rTxt1
,
const
OUString
&
rTxt2
)
const
{
return
rTxt1
==
rTxt2
;
}
};
typedef
std
::
unordered_multimap
<
OUString
,
OUString
,
const
OUStringHash
,
StrEQ
>
ConvMap
;
typedef
std
::
set
<
OUString
,
StrLT
>
ConvMapKeySet
;
typedef
std
::
unordered_multimap
<
OUString
,
OUString
,
const
OUStringHash
>
ConvMap
;
typedef
std
::
unordered_multimap
<
OUString
,
sal_Int16
,
OUStringHash
,
StrEQ
>
PropTypeMap
;
typedef
std
::
set
<
OUString
>
ConvMapKeySet
;
typedef
std
::
unordered_multimap
<
OUString
,
sal_Int16
,
OUStringHash
>
PropTypeMap
;
class
ConvDic
:
public
::
cppu
::
WeakImplHelper
...
...
sc/source/filter/excel/xeescher.cxx
Dosyayı görüntüle @
dd691312
...
...
@@ -1399,14 +1399,6 @@ XclExpComments::XclExpComments( SCTAB nTab, XclExpRecordList< XclExpNote >& rNot
{
}
struct
OUStringLess
:
public
std
::
binary_function
<
OUString
,
OUString
,
bool
>
{
bool
operator
()(
const
OUString
&
x
,
const
OUString
&
y
)
const
{
return
x
.
compareTo
(
y
)
<
0
;
}
};
void
XclExpComments
::
SaveXml
(
XclExpXmlStream
&
rStrm
)
{
if
(
mrNotes
.
IsEmpty
()
)
...
...
@@ -1436,7 +1428,7 @@ void XclExpComments::SaveXml( XclExpXmlStream& rStrm )
rComments
->
startElement
(
XML_authors
,
FSEND
);
typedef
std
::
set
<
OUString
,
OUStringLess
>
Authors
;
typedef
std
::
set
<
OUString
>
Authors
;
Authors
aAuthors
;
size_t
nNotes
=
mrNotes
.
GetSize
();
...
...
sw/source/filter/ww8/ww8par.cxx
Dosyayı görüntüle @
dd691312
...
...
@@ -1396,7 +1396,7 @@ void SwWW8ReferencedFltEndStack::SetAttrInDoc( const SwPosition& rTmpPos,
if
(
pFltBookmark
!=
nullptr
&&
pFltBookmark
->
IsTOCBookmark
()
)
{
const
OUString
&
rName
=
pFltBookmark
->
GetName
();
std
::
set
<
OUString
,
SwWW8
::
ltstr
>::
const_iterator
aResult
=
aReferencedTOCBookmarks
.
find
(
rName
);
std
::
set
<
OUString
>::
const_iterator
aResult
=
aReferencedTOCBookmarks
.
find
(
rName
);
if
(
aResult
==
aReferencedTOCBookmarks
.
end
()
)
{
bInsertBookmarkIntoDoc
=
false
;
...
...
sw/source/filter/ww8/ww8par.hxx
Dosyayı görüntüle @
dd691312
...
...
@@ -428,14 +428,6 @@ private:
namespace
SwWW8
{
struct
ltstr
{
bool
operator
()(
const
OUString
&
r1
,
const
OUString
&
r2
)
const
{
return
r1
.
compareToIgnoreAsciiCase
(
r2
)
<
0
;
}
};
struct
ltnode
{
bool
operator
()(
const
SwTextNode
*
r1
,
const
SwTextNode
*
r2
)
const
...
...
@@ -455,7 +447,7 @@ public:
// Keep track of referenced TOC bookmarks in order to suppress the import
// of unreferenced ones.
std
::
set
<
OUString
,
SwWW8
::
ltstr
>
aReferencedTOCBookmarks
;
std
::
set
<
OUString
>
aReferencedTOCBookmarks
;
protected
:
virtual
void
SetAttrInDoc
(
const
SwPosition
&
rTmpPos
,
SwFltStackEntry
&
rEntry
)
override
;
...
...
@@ -473,7 +465,7 @@ public:
//Keep track of variable names created with fields, and the bookmark
//mapped to their position, hopefully the same, but very possibly
//an additional pseudo bookmark
std
::
map
<
OUString
,
OUString
,
SwWW8
::
ltstr
>
aFieldVarNames
;
std
::
map
<
OUString
,
OUString
>
aFieldVarNames
;
protected
:
SwFltStackEntry
*
RefToVar
(
const
SwField
*
pField
,
SwFltStackEntry
&
rEntry
);
virtual
void
SetAttrInDoc
(
const
SwPosition
&
rTmpPos
,
...
...
sw/source/filter/ww8/ww8par5.cxx
Dosyayı görüntüle @
dd691312
...
...
@@ -1273,7 +1273,7 @@ SwFltStackEntry *SwWW8FltRefStack::RefToVar(const SwField* pField,
{
//Get the name of the ref field, and see if actually a variable
const
OUString
sName
=
pField
->
GetPar1
();
std
::
map
<
OUString
,
OUString
,
SwWW8
::
ltstr
>::
const_iterator
std
::
map
<
OUString
,
OUString
>::
const_iterator
aResult
=
aFieldVarNames
.
find
(
sName
);
if
(
aResult
!=
aFieldVarNames
.
end
())
...
...
@@ -1297,7 +1297,7 @@ OUString SwWW8ImplReader::GetMappedBookmark(const OUString &rOrigName)
//See if there has been a variable set with this name, if so get
//the pseudo bookmark name that was set with it.
std
::
map
<
OUString
,
OUString
,
SwWW8
::
ltstr
>::
const_iterator
aResult
=
std
::
map
<
OUString
,
OUString
>::
const_iterator
aResult
=
m_pReffingStck
->
aFieldVarNames
.
find
(
sName
);
return
(
aResult
==
m_pReffingStck
->
aFieldVarNames
.
end
())
...
...
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