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
9eeee546
Kaydet (Commit)
9eeee546
authored
Mar 29, 2015
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bin superfluous whitespace, ASCII art and useless comments
Change-Id: Ic70fe69f407e49604b056cdcb92aa3d656e1aeaf
üst
5215ae54
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
86 deletions
+6
-86
broadcasthelper.hxx
include/comphelper/broadcasthelper.hxx
+5
-8
enumhelper.hxx
include/comphelper/enumhelper.hxx
+0
-16
proparrhlp.hxx
include/comphelper/proparrhlp.hxx
+0
-10
property.hxx
include/comphelper/property.hxx
+0
-22
propertysethelper.hxx
include/comphelper/propertysethelper.hxx
+0
-9
propertysetinfo.hxx
include/comphelper/propertysetinfo.hxx
+0
-8
stl_types.hxx
include/comphelper/stl_types.hxx
+1
-13
No files found.
include/comphelper/broadcasthelper.hxx
Dosyayı görüntüle @
9eeee546
...
...
@@ -23,16 +23,12 @@
#include <osl/mutex.hxx>
#include <cppuhelper/interfacecontainer.h>
//... namespace comphelper .......................................................
namespace
comphelper
{
//= OMutexAndBroadcastHelper - a class which holds a Mutex and a OBroadcastHelper;
//= needed because when deriving from OPropertySetHelper,
//= the OBroadcastHelper has to be initialized before
//= the OPropertySetHelper
// OMutexAndBroadcastHelper - a class which holds a Mutex and a OBroadcastHelper;
// needed because when deriving from OPropertySetHelper,
// the OBroadcastHelper has to be initialized before
// the OPropertySetHelper
class
OMutexAndBroadcastHelper
{
...
...
@@ -58,6 +54,7 @@ namespace comphelper
mutable
::
osl
::
Mutex
m_aMutex
;
};
}
#endif // INCLUDED_COMPHELPER_BROADCASTHELPER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
include/comphelper/enumhelper.hxx
Dosyayı görüntüle @
9eeee546
...
...
@@ -30,21 +30,15 @@
#include <osl/mutex.hxx>
#include <comphelper/comphelperdllapi.h>
namespace
comphelper
{
//= OEnumerationLock
struct
OEnumerationLock
{
public
:
::
osl
::
Mutex
m_aLock
;
};
//= OEnumerationByName
/** provides an com.sun.star.container::XEnumeration access based
on an object implementing the com.sun.star.container::XNameAccess interface
*/
...
...
@@ -74,9 +68,6 @@ private:
COMPHELPER_DLLPRIVATE
void
impl_stopDisposeListening
();
};
//= OEnumerationByIndex
/** provides an com.sun.star.container::XEnumeration access based
on an object implementing the com.sun.star.container::XNameAccess interface
*/
...
...
@@ -103,9 +94,6 @@ private:
COMPHELPER_DLLPRIVATE
void
impl_stopDisposeListening
();
};
//= OAnyEnumeration
/** provides an com.sun.star.container::XEnumeration
for an outside set vector of Any's.
...
...
@@ -126,12 +114,8 @@ public:
};
}
//... namespace comphelper .......................................................
#endif // INCLUDED_COMPHELPER_ENUMHELPER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
include/comphelper/proparrhlp.hxx
Dosyayı görüntüle @
9eeee546
...
...
@@ -30,14 +30,12 @@ namespace cppu {
class
IPropertyArrayHelper
;
}
//... namespace comphelper ................................................
namespace
comphelper
{
template
<
typename
TYPE
>
struct
OPropertyArrayUsageHelperMutex
:
public
rtl
::
Static
<
::
osl
::
Mutex
,
OPropertyArrayUsageHelperMutex
<
TYPE
>
>
{};
template
<
class
TYPE
>
class
OPropertyArrayUsageHelper
{
...
...
@@ -78,7 +76,6 @@ protected:
virtual
::
cppu
::
IPropertyArrayHelper
*
createArrayHelper
(
)
const
=
0
;
};
/** a OPropertyArrayUsageHelper which will create an OPropertyArrayAggregationHelper
*/
template
<
class
TYPE
>
...
...
@@ -114,14 +111,12 @@ protected:
virtual
sal_Int32
getFirstAggregateId
()
const
{
return
DEFAULT_AGGREGATE_PROPERTY_ID
;
}
};
template
<
class
TYPE
>
sal_Int32
OPropertyArrayUsageHelper
<
TYPE
>::
s_nRefCount
=
0
;
template
<
class
TYPE
>
::
cppu
::
IPropertyArrayHelper
*
OPropertyArrayUsageHelper
<
TYPE
>::
s_pProps
=
NULL
;
template
<
class
TYPE
>
OPropertyArrayUsageHelper
<
TYPE
>::
OPropertyArrayUsageHelper
()
{
...
...
@@ -129,7 +124,6 @@ OPropertyArrayUsageHelper<TYPE>::OPropertyArrayUsageHelper()
++
s_nRefCount
;
}
template
<
class
TYPE
>
::
cppu
::
IPropertyArrayHelper
*
OPropertyArrayUsageHelper
<
TYPE
>::
getArrayHelper
()
{
...
...
@@ -146,7 +140,6 @@ template <class TYPE>
return
s_pProps
;
}
template
<
class
TYPE
>
inline
::
cppu
::
IPropertyArrayHelper
*
OAggregationArrayUsageHelper
<
TYPE
>::
createArrayHelper
()
const
{
...
...
@@ -157,11 +150,8 @@ template <class TYPE> inline
return
new
OPropertyArrayAggregationHelper
(
aProps
,
aAggregateProps
,
getInfoService
(),
getFirstAggregateId
());
}
}
//... namespace comphelper ................................................
#endif // INCLUDED_COMPHELPER_PROPARRHLP_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
include/comphelper/property.hxx
Dosyayı görüntüle @
9eeee546
...
...
@@ -28,17 +28,9 @@
#include <comphelper/comphelperdllapi.h>
#include <cppu/unotype.hxx>
//= property helper classes
//... namespace comphelper .......................................................
namespace
comphelper
{
/** compare two properties by name
*/
// comparing two property instances
struct
PropertyCompareByName
:
public
::
std
::
binary_function
<
::
com
::
sun
::
star
::
beans
::
Property
,
::
com
::
sun
::
star
::
beans
::
Property
,
bool
>
{
...
...
@@ -48,9 +40,6 @@ namespace comphelper
}
};
/** compare two properties by name
*/
struct
PropertyStringEqualFunctor
:
::
std
::
binary_function
<
::
com
::
sun
::
star
::
beans
::
Property
,
OUString
,
bool
>
{
...
...
@@ -65,7 +54,6 @@ namespace comphelper
}
};
// comparing two property instances
struct
PropertyEqualByName
:
public
::
std
::
binary_function
<
::
com
::
sun
::
star
::
beans
::
Property
,
::
com
::
sun
::
star
::
beans
::
Property
,
bool
>
{
bool
operator
()
(
const
::
com
::
sun
::
star
::
beans
::
Property
&
x
,
const
::
com
::
sun
::
star
::
beans
::
Property
&
y
)
const
...
...
@@ -74,11 +62,9 @@ namespace comphelper
}
};
/// remove the property with the given name from the given sequence
COMPHELPER_DLLPUBLIC
void
RemoveProperty
(
css
::
uno
::
Sequence
<
css
::
beans
::
Property
>&
seqProps
,
const
OUString
&
_rPropName
);
/** within the given property sequence, modify attributes of a special property
@param _rProps the sequence of properties to search in
@param _sPropName the name of the property which's attributes should be modified
...
...
@@ -87,22 +73,16 @@ COMPHELPER_DLLPUBLIC void RemoveProperty(css::uno::Sequence<css::beans::Property
*/
COMPHELPER_DLLPUBLIC
void
ModifyPropertyAttributes
(
css
::
uno
::
Sequence
<
css
::
beans
::
Property
>&
_rProps
,
const
OUString
&
_sPropName
,
sal_Int16
_nAddAttrib
,
sal_Int16
_nRemoveAttrib
);
/** check if the given set has the given property.
*/
COMPHELPER_DLLPUBLIC
bool
hasProperty
(
const
OUString
&
_rName
,
const
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>&
_rxSet
);
/** copy properties between property sets, in compliance with the property
attributes of the target object
*/
COMPHELPER_DLLPUBLIC
void
copyProperties
(
const
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>&
_rxSource
,
const
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>&
_rxDest
);
//= property conversion helpers
/** helper for implementing ::cppu::OPropertySetHelper::convertFastPropertyValue
@param _rConvertedValue the conversion result (if successful)
@param _rOldValue the old value of the property, calculated from _rCurrentValue
...
...
@@ -192,9 +172,7 @@ inline bool tryPropertyValue(css::uno::Any& /*out*/_rConvertedValue, css::uno::A
*/
COMPHELPER_DLLPUBLIC
bool
tryPropertyValue
(
css
::
uno
::
Any
&
_rConvertedValue
,
css
::
uno
::
Any
&
_rOldValue
,
const
css
::
uno
::
Any
&
_rValueToSet
,
const
css
::
uno
::
Any
&
_rCurrentValue
,
const
css
::
uno
::
Type
&
_rExpectedType
);
}
//... namespace comphelper .......................................................
#endif // INCLUDED_COMPHELPER_PROPERTY_HXX
...
...
include/comphelper/propertysethelper.hxx
Dosyayı görüntüle @
9eeee546
...
...
@@ -25,15 +25,8 @@
#include <com/sun/star/beans/XMultiPropertySet.hpp>
#include <comphelper/comphelperdllapi.h>
//= property helper classes
//... namespace comphelper ................................................
namespace
comphelper
{
class
PropertySetInfo
;
struct
PropertyMapEntry
;
class
PropertySetHelperImpl
;
...
...
@@ -82,9 +75,7 @@ public:
virtual
::
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
getPropertyDefault
(
const
OUString
&
aPropertyName
)
throw
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
,
::
com
::
sun
::
star
::
lang
::
WrappedTargetException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
};
}
//... namespace comphelper..................................................
#endif // _UTL_PROPERTYSETHELPER_HXX_
...
...
include/comphelper/propertysetinfo.hxx
Dosyayı görüntüle @
9eeee546
...
...
@@ -28,15 +28,9 @@
#include <cppuhelper/implbase1.hxx>
#include <comphelper/comphelperdllapi.h>
//= property helper classes
//... namespace comphelper .......................................................
namespace
comphelper
{
struct
PropertyMapEntry
{
OUString
maName
;
...
...
@@ -80,9 +74,7 @@ public:
virtual
sal_Bool
SAL_CALL
hasPropertyByName
(
const
OUString
&
Name
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
};
}
//... namespace comphelper .......................................................
#endif // _UTL_PROPERTSETINFO_HXX_
...
...
include/comphelper/stl_types.hxx
Dosyayı görüntüle @
9eeee546
...
...
@@ -26,19 +26,15 @@
#include <math.h>
#include <functional>
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
//... namespace comphelper ................................................
namespace
comphelper
{
// comparison functors
struct
UStringMixLess
:
public
::
std
::
binary_function
<
OUString
,
OUString
,
bool
>
...
...
@@ -57,7 +53,6 @@ public:
bool
isCaseSensitive
()
const
{
return
m_bCaseSensitive
;}
};
class
UStringMixEqual
:
public
std
::
binary_function
<
OUString
,
OUString
,
bool
>
{
bool
m_bCaseSensitive
;
...
...
@@ -93,10 +88,7 @@ public:
}
};
//= OInterfaceCompare
/** is stl-compliant structure for comparing Reference< <iface> > instances
/** STL-compliant structure for comparing Reference< <iface> > instances
*/
template
<
class
IAFCE
>
struct
OInterfaceCompare
...
...
@@ -132,7 +124,6 @@ inline mem_fun1_t<_Tp,_Arg> mem_fun(void (_Tp::*__f)(_Arg))
return
mem_fun1_t
<
_Tp
,
_Arg
>
(
__f
);
}
/** output iterator that appends OUStrings into an OUStringBuffer.
*/
class
OUStringBufferAppender
:
...
...
@@ -161,7 +152,6 @@ private:
OUStringBuffer
&
m_rBuffer
;
};
/** algorithm similar to std::copy, but inserts a separator between elements.
*/
template
<
typename
ForwardIter
,
typename
OutputIter
,
typename
T
>
...
...
@@ -185,9 +175,7 @@ OutputIter intersperse(
return
out
;
}
}
//... namespace comphelper ................................................
#endif // INCLUDED_COMPHELPER_STL_TYPES_HXX
...
...
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