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
474d8ffd
Kaydet (Commit)
474d8ffd
authored
May 17, 2011
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some cppcheck cleaning
üst
7159d540
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
17 deletions
+16
-17
interfacecontainer.cxx
cppuhelper/source/interfacecontainer.cxx
+2
-2
unoexe.cxx
cpputools/source/unoexe/unoexe.cxx
+1
-1
util.cxx
jvmfwk/plugins/sunmajor/pluginlib/util.cxx
+4
-4
framework.cxx
jvmfwk/source/framework.cxx
+1
-1
libxmlutil.cxx
jvmfwk/source/libxmlutil.cxx
+4
-4
libxmlutil.hxx
jvmfwk/source/libxmlutil.hxx
+4
-5
No files found.
cppuhelper/source/interfacecontainer.cxx
Dosyayı görüntüle @
474d8ffd
...
@@ -419,7 +419,7 @@ static t_type2ptr::iterator findType(t_type2ptr *pMap, const Type & rKey )
...
@@ -419,7 +419,7 @@ static t_type2ptr::iterator findType(t_type2ptr *pMap, const Type & rKey )
{
{
if
(
iter
->
first
==
rKey
)
if
(
iter
->
first
==
rKey
)
break
;
break
;
iter
++
;
++
iter
;
}
}
return
iter
;
return
iter
;
}
}
...
@@ -532,7 +532,7 @@ static t_long2ptr::iterator findLong(t_long2ptr *pMap, sal_Int32 nKey )
...
@@ -532,7 +532,7 @@ static t_long2ptr::iterator findLong(t_long2ptr *pMap, sal_Int32 nKey )
{
{
if
(
iter
->
first
==
nKey
)
if
(
iter
->
first
==
nKey
)
break
;
break
;
iter
++
;
++
iter
;
}
}
return
iter
;
return
iter
;
}
}
...
...
cpputools/source/unoexe/unoexe.cxx
Dosyayı görüntüle @
474d8ffd
...
@@ -738,7 +738,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc,)
...
@@ -738,7 +738,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc,)
}
}
}
}
if
(
aReadOnlyRegistries
.
size
()
>
0
||
if
(
(
!
aReadOnlyRegistries
.
empty
())
||
aReadWriteRegistry
.
getLength
()
>
0
)
aReadWriteRegistry
.
getLength
()
>
0
)
{
{
//#### create registry #############################################
//#### create registry #############################################
...
...
jvmfwk/plugins/sunmajor/pluginlib/util.cxx
Dosyayı görüntüle @
474d8ffd
...
@@ -490,7 +490,7 @@ bool getJavaProps(const OUString & exePath,
...
@@ -490,7 +490,7 @@ bool getJavaProps(const OUString & exePath,
props
.
push_back
(
std
::
make_pair
(
sKey
,
sVal
));
props
.
push_back
(
std
::
make_pair
(
sKey
,
sVal
));
}
}
if
(
rs
!=
FileHandleReader
::
RESULT_ERROR
&&
props
.
size
()
>
0
)
if
(
rs
!=
FileHandleReader
::
RESULT_ERROR
&&
!
props
.
empty
()
)
ret
=
true
;
ret
=
true
;
//process error stream data
//process error stream data
...
@@ -649,7 +649,7 @@ bool getJREInfoFromRegistry(vector<OUString>& vecJavaHome)
...
@@ -649,7 +649,7 @@ bool getJREInfoFromRegistry(vector<OUString>& vecJavaHome)
void
bubbleSortVersion
(
vector
<
rtl
::
Reference
<
VendorBase
>
>&
vec
)
void
bubbleSortVersion
(
vector
<
rtl
::
Reference
<
VendorBase
>
>&
vec
)
{
{
if
(
vec
.
size
()
==
0
)
if
(
vec
.
empty
()
)
return
;
return
;
int
size
=
vec
.
size
()
-
1
;
int
size
=
vec
.
size
()
-
1
;
int
cIter
=
0
;
int
cIter
=
0
;
...
@@ -694,7 +694,7 @@ void bubbleSortVersion(vector<rtl::Reference<VendorBase> >& vec)
...
@@ -694,7 +694,7 @@ void bubbleSortVersion(vector<rtl::Reference<VendorBase> >& vec)
vec
.
at
(
j
)
=
less
;
vec
.
at
(
j
)
=
less
;
}
}
}
}
cIter
++
;
++
cIter
;
}
}
}
}
...
@@ -1022,7 +1022,7 @@ rtl::Reference<VendorBase> getJREInfoByPath(
...
@@ -1022,7 +1022,7 @@ rtl::Reference<VendorBase> getJREInfoByPath(
break
;
break
;
}
}
if
(
props
.
size
()
==
0
)
if
(
props
.
empty
()
)
return
rtl
::
Reference
<
VendorBase
>
();
return
rtl
::
Reference
<
VendorBase
>
();
//find java.vendor property
//find java.vendor property
...
...
jvmfwk/source/framework.cxx
Dosyayı görüntüle @
474d8ffd
...
@@ -802,7 +802,7 @@ javaFrameworkError SAL_CALL jfw_getJavaInfoByPath(
...
@@ -802,7 +802,7 @@ javaFrameworkError SAL_CALL jfw_getJavaInfoByPath(
if
(
plerr
==
JFW_PLUGIN_E_NONE
)
if
(
plerr
==
JFW_PLUGIN_E_NONE
)
{
{
//check if the vendor of the found JRE is supported
//check if the vendor of the found JRE is supported
if
(
vecVendors
.
size
()
==
0
)
if
(
vecVendors
.
empty
()
)
{
{
//vendor does not matter
//vendor does not matter
*
ppInfo
=
pInfo
;
*
ppInfo
=
pInfo
;
...
...
jvmfwk/source/libxmlutil.cxx
Dosyayı görüntüle @
474d8ffd
...
@@ -60,7 +60,7 @@ xmlXPathObject* CXPathObjectPtr::operator ->()
...
@@ -60,7 +60,7 @@ xmlXPathObject* CXPathObjectPtr::operator ->()
{
{
return
_object
;
return
_object
;
}
}
CXPathObjectPtr
::
operator
xmlXPathObject
*
()
CXPathObjectPtr
::
operator
xmlXPathObject
*
()
const
{
{
return
_object
;
return
_object
;
}
}
...
@@ -92,7 +92,7 @@ xmlXPathContext* CXPathContextPtr::operator ->()
...
@@ -92,7 +92,7 @@ xmlXPathContext* CXPathContextPtr::operator ->()
return
_object
;
return
_object
;
}
}
CXPathContextPtr
::
operator
xmlXPathContext
*
()
CXPathContextPtr
::
operator
xmlXPathContext
*
()
const
{
{
return
_object
;
return
_object
;
}
}
...
@@ -124,7 +124,7 @@ xmlDoc* CXmlDocPtr::operator ->()
...
@@ -124,7 +124,7 @@ xmlDoc* CXmlDocPtr::operator ->()
return
_object
;
return
_object
;
}
}
CXmlDocPtr
::
operator
xmlDoc
*
()
CXmlDocPtr
::
operator
xmlDoc
*
()
const
{
{
return
_object
;
return
_object
;
}
}
...
@@ -159,7 +159,7 @@ CXmlCharPtr & CXmlCharPtr::operator = (xmlChar* pObj)
...
@@ -159,7 +159,7 @@ CXmlCharPtr & CXmlCharPtr::operator = (xmlChar* pObj)
return
*
this
;
return
*
this
;
}
}
CXmlCharPtr
::
operator
xmlChar
*
()
CXmlCharPtr
::
operator
xmlChar
*
()
const
{
{
return
_object
;
return
_object
;
}
}
...
...
jvmfwk/source/libxmlutil.hxx
Dosyayı görüntüle @
474d8ffd
...
@@ -49,7 +49,7 @@ public:
...
@@ -49,7 +49,7 @@ public:
*/
*/
CXPathObjectPtr
&
operator
=
(
xmlXPathObject
*
pObj
);
CXPathObjectPtr
&
operator
=
(
xmlXPathObject
*
pObj
);
xmlXPathObject
*
operator
->
();
xmlXPathObject
*
operator
->
();
operator
xmlXPathObject
*
();
operator
xmlXPathObject
*
()
const
;
};
};
//===========================================================
//===========================================================
...
@@ -65,7 +65,7 @@ public:
...
@@ -65,7 +65,7 @@ public:
CXPathContextPtr
&
operator
=
(
xmlXPathContextPtr
pObj
);
CXPathContextPtr
&
operator
=
(
xmlXPathContextPtr
pObj
);
~
CXPathContextPtr
();
~
CXPathContextPtr
();
xmlXPathContext
*
operator
->
();
xmlXPathContext
*
operator
->
();
operator
xmlXPathContext
*
();
operator
xmlXPathContext
*
()
const
;
};
};
//===========================================================
//===========================================================
...
@@ -84,7 +84,7 @@ public:
...
@@ -84,7 +84,7 @@ public:
CXmlDocPtr
&
operator
=
(
xmlDoc
*
pObj
);
CXmlDocPtr
&
operator
=
(
xmlDoc
*
pObj
);
~
CXmlDocPtr
();
~
CXmlDocPtr
();
xmlDoc
*
operator
->
();
xmlDoc
*
operator
->
();
operator
xmlDoc
*
();
operator
xmlDoc
*
()
const
;
};
};
//===========================================================
//===========================================================
...
@@ -100,8 +100,7 @@ public:
...
@@ -100,8 +100,7 @@ public:
CXmlCharPtr
(
const
::
rtl
::
OUString
&
);
CXmlCharPtr
(
const
::
rtl
::
OUString
&
);
~
CXmlCharPtr
();
~
CXmlCharPtr
();
CXmlCharPtr
&
operator
=
(
xmlChar
*
pObj
);
CXmlCharPtr
&
operator
=
(
xmlChar
*
pObj
);
// xmlChar* operator -> ();
operator
xmlChar
*
()
const
;
operator
xmlChar
*
();
operator
::
rtl
::
OUString
();
operator
::
rtl
::
OUString
();
operator
::
rtl
::
OString
();
operator
::
rtl
::
OString
();
};
};
...
...
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