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
db760ac6
Kaydet (Commit)
db760ac6
authored
Şub 20, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:subtlezeroinit: comphelper
Change-Id: I6b97583d9bdc0d0f8c059d0fbc9e3f41f822bf3b
üst
6a77b9b6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
31 deletions
+31
-31
testifcontainer.cxx
comphelper/qa/container/testifcontainer.cxx
+12
-12
anycompare.cxx
comphelper/source/misc/anycompare.cxx
+17
-17
storagehelper.cxx
comphelper/source/misc/storagehelper.cxx
+1
-1
IdPropArrayHelper.hxx
include/comphelper/IdPropArrayHelper.hxx
+1
-1
No files found.
comphelper/qa/container/testifcontainer.cxx
Dosyayı görüntüle @
db760ac6
...
...
@@ -66,9 +66,9 @@ void TestInterfaceContainer2::test1()
{
comphelper
::
OInterfaceContainerHelper2
helper
(
mutex
);
Reference
<
XVetoableChangeListener
>
r1
=
new
TestListener
()
;
Reference
<
XVetoableChangeListener
>
r2
=
new
TestListener
()
;
Reference
<
XVetoableChangeListener
>
r3
=
new
TestListener
()
;
Reference
<
XVetoableChangeListener
>
r1
=
new
TestListener
;
Reference
<
XVetoableChangeListener
>
r2
=
new
TestListener
;
Reference
<
XVetoableChangeListener
>
r3
=
new
TestListener
;
helper
.
addInterface
(
r1
);
helper
.
addInterface
(
r2
);
...
...
@@ -80,9 +80,9 @@ void TestInterfaceContainer2::test1()
{
comphelper
::
OInterfaceContainerHelper2
helper
(
mutex
);
Reference
<
XVetoableChangeListener
>
r1
=
new
TestListener
()
;
Reference
<
XVetoableChangeListener
>
r2
=
new
TestListener
()
;
Reference
<
XVetoableChangeListener
>
r3
=
new
TestListener
()
;
Reference
<
XVetoableChangeListener
>
r1
=
new
TestListener
;
Reference
<
XVetoableChangeListener
>
r2
=
new
TestListener
;
Reference
<
XVetoableChangeListener
>
r3
=
new
TestListener
;
helper
.
addInterface
(
r1
);
helper
.
addInterface
(
r2
);
...
...
@@ -99,9 +99,9 @@ void TestInterfaceContainer2::test1()
{
comphelper
::
OInterfaceContainerHelper2
helper
(
mutex
);
Reference
<
XVetoableChangeListener
>
r1
=
new
TestListener
()
;
Reference
<
XVetoableChangeListener
>
r2
=
new
TestListener
()
;
Reference
<
XVetoableChangeListener
>
r3
=
new
TestListener
()
;
Reference
<
XVetoableChangeListener
>
r1
=
new
TestListener
;
Reference
<
XVetoableChangeListener
>
r2
=
new
TestListener
;
Reference
<
XVetoableChangeListener
>
r3
=
new
TestListener
;
helper
.
addInterface
(
r1
);
helper
.
addInterface
(
r2
);
...
...
@@ -123,9 +123,9 @@ void TestInterfaceContainer2::test1()
{
comphelper
::
OInterfaceContainerHelper2
helper
(
mutex
);
Reference
<
XVetoableChangeListener
>
r1
=
new
TestListener
()
;
Reference
<
XVetoableChangeListener
>
r2
=
new
TestListener
()
;
Reference
<
XVetoableChangeListener
>
r3
=
new
TestListener
()
;
Reference
<
XVetoableChangeListener
>
r1
=
new
TestListener
;
Reference
<
XVetoableChangeListener
>
r2
=
new
TestListener
;
Reference
<
XVetoableChangeListener
>
r3
=
new
TestListener
;
helper
.
addInterface
(
r1
);
helper
.
addInterface
(
r2
);
...
...
comphelper/source/misc/anycompare.cxx
Dosyayı görüntüle @
db760ac6
...
...
@@ -164,60 +164,60 @@ namespace comphelper
switch
(
i_type
.
getTypeClass
()
)
{
case
TypeClass_CHAR
:
pComparator
.
reset
(
new
ScalarPredicateLess
<
sal_Unicode
>
()
);
pComparator
.
reset
(
new
ScalarPredicateLess
<
sal_Unicode
>
);
break
;
case
TypeClass_BOOLEAN
:
pComparator
.
reset
(
new
ScalarPredicateLess
<
bool
>
()
);
pComparator
.
reset
(
new
ScalarPredicateLess
<
bool
>
);
break
;
case
TypeClass_BYTE
:
pComparator
.
reset
(
new
ScalarPredicateLess
<
sal_Int8
>
()
);
pComparator
.
reset
(
new
ScalarPredicateLess
<
sal_Int8
>
);
break
;
case
TypeClass_SHORT
:
pComparator
.
reset
(
new
ScalarPredicateLess
<
sal_Int16
>
()
);
pComparator
.
reset
(
new
ScalarPredicateLess
<
sal_Int16
>
);
break
;
case
TypeClass_UNSIGNED_SHORT
:
pComparator
.
reset
(
new
ScalarPredicateLess
<
sal_uInt16
>
()
);
pComparator
.
reset
(
new
ScalarPredicateLess
<
sal_uInt16
>
);
break
;
case
TypeClass_LONG
:
pComparator
.
reset
(
new
ScalarPredicateLess
<
sal_Int32
>
()
);
pComparator
.
reset
(
new
ScalarPredicateLess
<
sal_Int32
>
);
break
;
case
TypeClass_UNSIGNED_LONG
:
pComparator
.
reset
(
new
ScalarPredicateLess
<
sal_uInt32
>
()
);
pComparator
.
reset
(
new
ScalarPredicateLess
<
sal_uInt32
>
);
break
;
case
TypeClass_HYPER
:
pComparator
.
reset
(
new
ScalarPredicateLess
<
sal_Int64
>
()
);
pComparator
.
reset
(
new
ScalarPredicateLess
<
sal_Int64
>
);
break
;
case
TypeClass_UNSIGNED_HYPER
:
pComparator
.
reset
(
new
ScalarPredicateLess
<
sal_uInt64
>
()
);
pComparator
.
reset
(
new
ScalarPredicateLess
<
sal_uInt64
>
);
break
;
case
TypeClass_FLOAT
:
pComparator
.
reset
(
new
ScalarPredicateLess
<
float
>
()
);
pComparator
.
reset
(
new
ScalarPredicateLess
<
float
>
);
break
;
case
TypeClass_DOUBLE
:
pComparator
.
reset
(
new
ScalarPredicateLess
<
double
>
()
);
pComparator
.
reset
(
new
ScalarPredicateLess
<
double
>
);
break
;
case
TypeClass_STRING
:
if
(
i_collator
.
is
()
)
pComparator
.
reset
(
new
StringCollationPredicateLess
(
i_collator
)
);
else
pComparator
.
reset
(
new
StringPredicateLess
()
);
pComparator
.
reset
(
new
StringPredicateLess
);
break
;
case
TypeClass_TYPE
:
pComparator
.
reset
(
new
TypePredicateLess
()
);
pComparator
.
reset
(
new
TypePredicateLess
);
break
;
case
TypeClass_ENUM
:
pComparator
.
reset
(
new
EnumPredicateLess
(
i_type
)
);
break
;
case
TypeClass_INTERFACE
:
pComparator
.
reset
(
new
InterfacePredicateLess
()
);
pComparator
.
reset
(
new
InterfacePredicateLess
);
break
;
case
TypeClass_STRUCT
:
if
(
i_type
.
equals
(
::
cppu
::
UnoType
<
Date
>::
get
()
)
)
pComparator
.
reset
(
new
DatePredicateLess
()
);
pComparator
.
reset
(
new
DatePredicateLess
);
else
if
(
i_type
.
equals
(
::
cppu
::
UnoType
<
Time
>::
get
()
)
)
pComparator
.
reset
(
new
TimePredicateLess
()
);
pComparator
.
reset
(
new
TimePredicateLess
);
else
if
(
i_type
.
equals
(
::
cppu
::
UnoType
<
DateTime
>::
get
()
)
)
pComparator
.
reset
(
new
DateTimePredicateLess
()
);
pComparator
.
reset
(
new
DateTimePredicateLess
);
break
;
default
:
break
;
...
...
comphelper/source/misc/storagehelper.cxx
Dosyayı görüntüle @
db760ac6
...
...
@@ -489,7 +489,7 @@ bool OStorageHelper::PathHasSegment( const OUString& aPath, const OUString& aSeg
class
LifecycleProxy
::
Impl
:
public
std
::
vector
<
uno
::
Reference
<
embed
::
XStorage
>
>
{};
LifecycleProxy
::
LifecycleProxy
()
:
m_xBadness
(
new
Impl
()
)
{
}
:
m_xBadness
(
new
Impl
)
{
}
LifecycleProxy
::~
LifecycleProxy
()
{
}
void
LifecycleProxy
::
commitStorages
()
...
...
include/comphelper/IdPropArrayHelper.hxx
Dosyayı görüntüle @
db760ac6
...
...
@@ -93,7 +93,7 @@ namespace comphelper
::
osl
::
MutexGuard
aGuard
(
OIdPropertyArrayUsageHelperMutex
<
TYPE
>::
get
());
// create the map if necessary
if
(
s_pMap
==
nullptr
)
s_pMap
=
new
OIdPropertyArrayMap
()
;
s_pMap
=
new
OIdPropertyArrayMap
;
++
s_nRefCount
;
}
...
...
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