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
41066fef
Kaydet (Commit)
41066fef
authored
Haz 05, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
comphelper: remove SAL_THROW macro
Change-Id: I692f1213c4bf42a84fae119f513e609d8874bf0c
üst
89d982ab
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
41 additions
and
43 deletions
+41
-43
eventattachermgr.cxx
comphelper/source/eventattachermgr/eventattachermgr.cxx
+2
-2
accessiblecontexthelper.cxx
comphelper/source/misc/accessiblecontexthelper.cxx
+2
-2
accessibleeventnotifier.cxx
comphelper/source/misc/accessibleeventnotifier.cxx
+4
-4
listenernotification.cxx
comphelper/source/misc/listenernotification.cxx
+1
-1
propertycontainerhelper.cxx
comphelper/source/property/propertycontainerhelper.cxx
+2
-2
propertystatecontainer.cxx
comphelper/source/property/propertystatecontainer.cxx
+1
-1
accessiblecontexthelper.hxx
include/comphelper/accessiblecontexthelper.hxx
+4
-4
accessibleeventnotifier.hxx
include/comphelper/accessibleeventnotifier.hxx
+4
-4
componentmodule.hxx
include/comphelper/componentmodule.hxx
+1
-1
listenernotification.hxx
include/comphelper/listenernotification.hxx
+11
-11
propertycontainerhelper.hxx
include/comphelper/propertycontainerhelper.hxx
+2
-4
propertystatecontainer.hxx
include/comphelper/propertystatecontainer.hxx
+1
-1
string.hxx
include/comphelper/string.hxx
+6
-6
No files found.
comphelper/source/eventattachermgr/eventattachermgr.cxx
Dosyayı görüntüle @
41066fef
...
@@ -132,7 +132,7 @@ private:
...
@@ -132,7 +132,7 @@ private:
@return
@return
the iterator pointing to the position indicated by the index
the iterator pointing to the position indicated by the index
*/
*/
::
std
::
deque
<
AttacherIndex_Impl
>::
iterator
implCheckIndex
(
sal_Int32
_nIndex
)
SAL_THROW
(
(
IllegalArgumentException
)
)
;
::
std
::
deque
<
AttacherIndex_Impl
>::
iterator
implCheckIndex
(
sal_Int32
_nIndex
);
};
};
...
@@ -395,7 +395,7 @@ Reference< XIdlReflection > ImplEventAttacherManager::getReflection() throw( Exc
...
@@ -395,7 +395,7 @@ Reference< XIdlReflection > ImplEventAttacherManager::getReflection() throw( Exc
::
std
::
deque
<
AttacherIndex_Impl
>::
iterator
ImplEventAttacherManager
::
implCheckIndex
(
sal_Int32
_nIndex
)
SAL_THROW
(
(
IllegalArgumentException
)
)
::
std
::
deque
<
AttacherIndex_Impl
>::
iterator
ImplEventAttacherManager
::
implCheckIndex
(
sal_Int32
_nIndex
)
{
{
if
(
_nIndex
<
0
)
if
(
_nIndex
<
0
)
throw
IllegalArgumentException
();
throw
IllegalArgumentException
();
...
...
comphelper/source/misc/accessiblecontexthelper.cxx
Dosyayı görüntüle @
41066fef
...
@@ -202,7 +202,7 @@ namespace comphelper
...
@@ -202,7 +202,7 @@ namespace comphelper
}
}
void
OAccessibleContextHelper
::
ensureAlive
()
const
SAL_THROW
(
(
DisposedException
)
)
void
OAccessibleContextHelper
::
ensureAlive
()
const
{
{
if
(
!
isAlive
()
)
if
(
!
isAlive
()
)
throw
DisposedException
();
throw
DisposedException
();
...
@@ -293,7 +293,7 @@ namespace comphelper
...
@@ -293,7 +293,7 @@ namespace comphelper
}
}
Reference
<
XAccessibleContext
>
OAccessibleContextHelper
::
implGetParentContext
()
SAL_THROW
(
(
RuntimeException
)
)
Reference
<
XAccessibleContext
>
OAccessibleContextHelper
::
implGetParentContext
()
{
{
Reference
<
XAccessible
>
xParent
=
getAccessibleParent
();
Reference
<
XAccessible
>
xParent
=
getAccessibleParent
();
Reference
<
XAccessibleContext
>
xParentContext
;
Reference
<
XAccessibleContext
>
xParentContext
;
...
...
comphelper/source/misc/accessibleeventnotifier.cxx
Dosyayı görüntüle @
41066fef
...
@@ -189,7 +189,7 @@ namespace comphelper
...
@@ -189,7 +189,7 @@ namespace comphelper
void
AccessibleEventNotifier
::
revokeClientNotifyDisposing
(
const
TClientId
_nClient
,
void
AccessibleEventNotifier
::
revokeClientNotifyDisposing
(
const
TClientId
_nClient
,
const
Reference
<
XInterface
>&
_rxEventSource
)
SAL_THROW
(
(
)
)
const
Reference
<
XInterface
>&
_rxEventSource
)
{
{
::
cppu
::
OInterfaceContainerHelper
*
pListeners
(
0
);
::
cppu
::
OInterfaceContainerHelper
*
pListeners
(
0
);
...
@@ -224,7 +224,7 @@ namespace comphelper
...
@@ -224,7 +224,7 @@ namespace comphelper
sal_Int32
AccessibleEventNotifier
::
addEventListener
(
sal_Int32
AccessibleEventNotifier
::
addEventListener
(
const
TClientId
_nClient
,
const
Reference
<
XAccessibleEventListener
>&
_rxListener
)
SAL_THROW
(
(
)
)
const
TClientId
_nClient
,
const
Reference
<
XAccessibleEventListener
>&
_rxListener
)
{
{
::
osl
::
MutexGuard
aGuard
(
lclMutex
::
get
()
);
::
osl
::
MutexGuard
aGuard
(
lclMutex
::
get
()
);
...
@@ -241,7 +241,7 @@ namespace comphelper
...
@@ -241,7 +241,7 @@ namespace comphelper
sal_Int32
AccessibleEventNotifier
::
removeEventListener
(
sal_Int32
AccessibleEventNotifier
::
removeEventListener
(
const
TClientId
_nClient
,
const
Reference
<
XAccessibleEventListener
>&
_rxListener
)
SAL_THROW
(
(
)
)
const
TClientId
_nClient
,
const
Reference
<
XAccessibleEventListener
>&
_rxListener
)
{
{
::
osl
::
MutexGuard
aGuard
(
lclMutex
::
get
()
);
::
osl
::
MutexGuard
aGuard
(
lclMutex
::
get
()
);
...
@@ -257,7 +257,7 @@ namespace comphelper
...
@@ -257,7 +257,7 @@ namespace comphelper
}
}
void
AccessibleEventNotifier
::
addEvent
(
const
TClientId
_nClient
,
const
AccessibleEventObject
&
_rEvent
)
SAL_THROW
(
(
)
)
void
AccessibleEventNotifier
::
addEvent
(
const
TClientId
_nClient
,
const
AccessibleEventObject
&
_rEvent
)
{
{
Sequence
<
Reference
<
XInterface
>
>
aListeners
;
Sequence
<
Reference
<
XInterface
>
>
aListeners
;
...
...
comphelper/source/misc/listenernotification.cxx
Dosyayı görüntüle @
41066fef
...
@@ -76,7 +76,7 @@ namespace comphelper
...
@@ -76,7 +76,7 @@ namespace comphelper
}
}
bool
OListenerContainer
::
impl_notify
(
const
EventObject
&
_rEvent
)
SAL_THROW
((
Exception
))
bool
OListenerContainer
::
impl_notify
(
const
EventObject
&
_rEvent
)
{
{
::
cppu
::
OInterfaceIteratorHelper
aIter
(
m_aListeners
);
::
cppu
::
OInterfaceIteratorHelper
aIter
(
m_aListeners
);
bool
bCancelled
=
false
;
bool
bCancelled
=
false
;
...
...
comphelper/source/property/propertycontainerhelper.cxx
Dosyayı görüntüle @
41066fef
...
@@ -221,7 +221,7 @@ namespace
...
@@ -221,7 +221,7 @@ namespace
bool
OPropertyContainerHelper
::
convertFastPropertyValue
(
bool
OPropertyContainerHelper
::
convertFastPropertyValue
(
Any
&
_rConvertedValue
,
Any
&
_rOldValue
,
sal_Int32
_nHandle
,
const
Any
&
_rValue
)
SAL_THROW
(
(
IllegalArgumentException
)
)
Any
&
_rConvertedValue
,
Any
&
_rOldValue
,
sal_Int32
_nHandle
,
const
Any
&
_rValue
)
{
{
bool
bModified
=
false
;
bool
bModified
=
false
;
...
@@ -366,7 +366,7 @@ bool OPropertyContainerHelper::convertFastPropertyValue(
...
@@ -366,7 +366,7 @@ bool OPropertyContainerHelper::convertFastPropertyValue(
}
}
void
OPropertyContainerHelper
::
setFastPropertyValue
(
sal_Int32
_nHandle
,
const
Any
&
_rValue
)
SAL_THROW
(
(
Exception
)
)
void
OPropertyContainerHelper
::
setFastPropertyValue
(
sal_Int32
_nHandle
,
const
Any
&
_rValue
)
{
{
// get the property somebody is asking for
// get the property somebody is asking for
PropertiesIterator
aPos
=
searchHandle
(
_nHandle
);
PropertiesIterator
aPos
=
searchHandle
(
_nHandle
);
...
...
comphelper/source/property/propertystatecontainer.cxx
Dosyayı görüntüle @
41066fef
...
@@ -67,7 +67,7 @@ namespace comphelper
...
@@ -67,7 +67,7 @@ namespace comphelper
IMPLEMENT_FORWARD_XTYPEPROVIDER2
(
OPropertyStateContainer
,
OPropertyContainer
,
OPropertyStateContainer_TBase
)
IMPLEMENT_FORWARD_XTYPEPROVIDER2
(
OPropertyStateContainer
,
OPropertyContainer
,
OPropertyStateContainer_TBase
)
sal_Int32
OPropertyStateContainer
::
getHandleForName
(
const
OUString
&
_rPropertyName
)
SAL_THROW
(
(
UnknownPropertyException
)
)
sal_Int32
OPropertyStateContainer
::
getHandleForName
(
const
OUString
&
_rPropertyName
)
{
{
// look up the handle for the name
// look up the handle for the name
::
cppu
::
IPropertyArrayHelper
&
rPH
=
getInfoHelper
();
::
cppu
::
IPropertyArrayHelper
&
rPH
=
getInfoHelper
();
...
...
include/comphelper/accessiblecontexthelper.hxx
Dosyayı görüntüle @
41066fef
...
@@ -189,7 +189,7 @@ namespace comphelper
...
@@ -189,7 +189,7 @@ namespace comphelper
};
};
// ensures that the object is alive
// ensures that the object is alive
inline
void
ensureAlive
(
const
OAccessControl
&
)
const
SAL_THROW
(
(
::
com
::
sun
::
star
::
lang
::
DisposedException
)
)
;
inline
void
ensureAlive
(
const
OAccessControl
&
)
const
;
inline
IMutex
*
getExternalLock
(
const
OAccessControl
&
);
inline
IMutex
*
getExternalLock
(
const
OAccessControl
&
);
inline
::
osl
::
Mutex
&
GetMutex
(
const
OAccessControl
&
);
inline
::
osl
::
Mutex
&
GetMutex
(
const
OAccessControl
&
);
...
@@ -219,7 +219,7 @@ namespace comphelper
...
@@ -219,7 +219,7 @@ namespace comphelper
/// checks whether the object is alive (returns <TRUE/> then) or disposed
/// checks whether the object is alive (returns <TRUE/> then) or disposed
bool
isAlive
()
const
;
bool
isAlive
()
const
;
/// checks for beeing alive. If the object is already disposed (i.e. not alive), an exception is thrown.
/// checks for beeing alive. If the object is already disposed (i.e. not alive), an exception is thrown.
void
ensureAlive
()
const
SAL_THROW
(
(
::
com
::
sun
::
star
::
lang
::
DisposedException
)
)
;
void
ensureAlive
()
const
;
/** ensures that the object is disposed.
/** ensures that the object is disposed.
@precond
@precond
...
@@ -230,7 +230,7 @@ namespace comphelper
...
@@ -230,7 +230,7 @@ namespace comphelper
/** shortcut for retrieving the context of the parent (returned by getAccessibleParent)
/** shortcut for retrieving the context of the parent (returned by getAccessibleParent)
*/
*/
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
accessibility
::
XAccessibleContext
>
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
accessibility
::
XAccessibleContext
>
implGetParentContext
()
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
)
;
implGetParentContext
();
// access to the base class' broadcast helper/mutex
// access to the base class' broadcast helper/mutex
::
cppu
::
OBroadcastHelper
&
GetBroadcastHelper
()
{
return
rBHelper
;
}
::
cppu
::
OBroadcastHelper
&
GetBroadcastHelper
()
{
return
rBHelper
;
}
...
@@ -240,7 +240,7 @@ namespace comphelper
...
@@ -240,7 +240,7 @@ namespace comphelper
};
};
inline
void
OAccessibleContextHelper
::
ensureAlive
(
const
OAccessControl
&
)
const
SAL_THROW
(
(
::
com
::
sun
::
star
::
lang
::
DisposedException
)
)
inline
void
OAccessibleContextHelper
::
ensureAlive
(
const
OAccessControl
&
)
const
{
{
ensureAlive
();
ensureAlive
();
}
}
...
...
include/comphelper/accessibleeventnotifier.hxx
Dosyayı görüntüle @
41066fef
...
@@ -83,7 +83,7 @@ namespace comphelper
...
@@ -83,7 +83,7 @@ namespace comphelper
static
void
revokeClientNotifyDisposing
(
static
void
revokeClientNotifyDisposing
(
const
TClientId
_nClient
,
const
TClientId
_nClient
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>&
_rxEventSource
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>&
_rxEventSource
)
SAL_THROW
(
(
)
)
;
);
/** registers a listener for the given client
/** registers a listener for the given client
...
@@ -95,7 +95,7 @@ namespace comphelper
...
@@ -95,7 +95,7 @@ namespace comphelper
static
sal_Int32
addEventListener
(
static
sal_Int32
addEventListener
(
const
TClientId
_nClient
,
const
TClientId
_nClient
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
accessibility
::
XAccessibleEventListener
>&
_rxListener
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
accessibility
::
XAccessibleEventListener
>&
_rxListener
)
SAL_THROW
(
(
)
)
;
);
/** revokes a listener for the given client
/** revokes a listener for the given client
...
@@ -107,7 +107,7 @@ namespace comphelper
...
@@ -107,7 +107,7 @@ namespace comphelper
static
sal_Int32
removeEventListener
(
static
sal_Int32
removeEventListener
(
const
TClientId
_nClient
,
const
TClientId
_nClient
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
accessibility
::
XAccessibleEventListener
>&
_rxListener
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
accessibility
::
XAccessibleEventListener
>&
_rxListener
)
SAL_THROW
(
(
)
)
;
);
/** adds an event, which is to be braodcasted, to the queue
/** adds an event, which is to be braodcasted, to the queue
...
@@ -117,7 +117,7 @@ namespace comphelper
...
@@ -117,7 +117,7 @@ namespace comphelper
static
void
addEvent
(
static
void
addEvent
(
const
TClientId
_nClient
,
const
TClientId
_nClient
,
const
::
com
::
sun
::
star
::
accessibility
::
AccessibleEventObject
&
_rEvent
const
::
com
::
sun
::
star
::
accessibility
::
AccessibleEventObject
&
_rEvent
)
SAL_THROW
(
(
)
)
;
);
};
};
...
...
include/comphelper/componentmodule.hxx
Dosyayı görüntüle @
41066fef
...
@@ -44,7 +44,7 @@ namespace comphelper
...
@@ -44,7 +44,7 @@ namespace comphelper
OUString
const
&
_rComponentName
,
OUString
const
&
_rComponentName
,
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
const
&
_rServiceNames
,
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
const
&
_rServiceNames
,
rtl_ModuleCount
*
rtl_ModuleCount
*
)
SAL_THROW
(())
;
);
//= ComponentDescription
//= ComponentDescription
...
...
include/comphelper/listenernotification.hxx
Dosyayı görüntüle @
41066fef
...
@@ -75,12 +75,12 @@ namespace comphelper
...
@@ -75,12 +75,12 @@ namespace comphelper
/** determines whether the listener container is currently empty
/** determines whether the listener container is currently empty
*/
*/
inline
bool
inline
bool
empty
()
const
SAL_THROW
(())
;
empty
()
const
;
/** determines the number of elements in the container
/** determines the number of elements in the container
*/
*/
inline
size_t
inline
size_t
size
()
const
SAL_THROW
(())
;
size
()
const
;
/** creates an iterator for looping through all registered listeners
/** creates an iterator for looping through all registered listeners
*/
*/
...
@@ -110,7 +110,7 @@ namespace comphelper
...
@@ -110,7 +110,7 @@ namespace comphelper
@see implNotify
@see implNotify
*/
*/
bool
impl_notify
(
const
::
com
::
sun
::
star
::
lang
::
EventObject
&
_rEvent
)
SAL_THROW
((
::
com
::
sun
::
star
::
uno
::
Exception
))
;
bool
impl_notify
(
const
::
com
::
sun
::
star
::
lang
::
EventObject
&
_rEvent
);
protected
:
protected
:
/** call a single listener
/** call a single listener
...
@@ -138,16 +138,16 @@ namespace comphelper
...
@@ -138,16 +138,16 @@ namespace comphelper
virtual
bool
implNotify
(
virtual
bool
implNotify
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XEventListener
>&
_rxListener
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XEventListener
>&
_rxListener
,
const
::
com
::
sun
::
star
::
lang
::
EventObject
&
_rEvent
const
::
com
::
sun
::
star
::
lang
::
EventObject
&
_rEvent
)
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
)
=
0
;
)
=
0
;
};
};
inline
bool
OListenerContainer
::
empty
()
const
SAL_THROW
(())
inline
bool
OListenerContainer
::
empty
()
const
{
{
return
(
m_aListeners
.
getLength
()
==
0
);
return
(
m_aListeners
.
getLength
()
==
0
);
}
}
inline
size_t
OListenerContainer
::
size
()
const
SAL_THROW
(())
inline
size_t
OListenerContainer
::
size
()
const
{
{
return
m_aListeners
.
getLength
();
return
m_aListeners
.
getLength
();
}
}
...
@@ -200,13 +200,13 @@ namespace comphelper
...
@@ -200,13 +200,13 @@ namespace comphelper
using
OListenerContainer
::
createIterator
;
using
OListenerContainer
::
createIterator
;
/// typed notification
/// typed notification
inline
bool
notify
(
const
EventClass
&
_rEvent
,
NotificationMethod
_pNotify
)
SAL_THROW
((
::
com
::
sun
::
star
::
uno
::
Exception
))
;
inline
bool
notify
(
const
EventClass
&
_rEvent
,
NotificationMethod
_pNotify
);
protected
:
protected
:
virtual
bool
implNotify
(
virtual
bool
implNotify
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XEventListener
>&
_rxListener
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XEventListener
>&
_rxListener
,
const
::
com
::
sun
::
star
::
lang
::
EventObject
&
_rEvent
const
::
com
::
sun
::
star
::
lang
::
EventObject
&
_rEvent
)
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
)
SAL_OVERRIDE
)
SAL_OVERRIDE
{
{
const
EventClass
&
rTypedEvent
(
static_cast
<
const
EventClass
&
>
(
_rEvent
)
);
const
EventClass
&
rTypedEvent
(
static_cast
<
const
EventClass
&
>
(
_rEvent
)
);
ListenerClass
*
pTypedListener
(
static_cast
<
ListenerClass
*
>
(
_rxListener
.
get
()
)
);
ListenerClass
*
pTypedListener
(
static_cast
<
ListenerClass
*
>
(
_rxListener
.
get
()
)
);
...
@@ -217,7 +217,7 @@ namespace comphelper
...
@@ -217,7 +217,7 @@ namespace comphelper
template
<
class
LISTENER
,
class
EVENT
>
template
<
class
LISTENER
,
class
EVENT
>
inline
bool
OSimpleListenerContainer
<
LISTENER
,
EVENT
>::
notify
(
const
EventClass
&
_rEvent
,
NotificationMethod
_pNotify
)
SAL_THROW
((
::
com
::
sun
::
star
::
uno
::
Exception
))
inline
bool
OSimpleListenerContainer
<
LISTENER
,
EVENT
>::
notify
(
const
EventClass
&
_rEvent
,
NotificationMethod
_pNotify
)
{
{
m_pNotificationMethod
=
_pNotify
;
m_pNotificationMethod
=
_pNotify
;
bool
bRet
=
OListenerContainer
::
impl_notify
(
_rEvent
);
bool
bRet
=
OListenerContainer
::
impl_notify
(
_rEvent
);
...
@@ -263,7 +263,7 @@ namespace comphelper
...
@@ -263,7 +263,7 @@ namespace comphelper
virtual
bool
implNotify
(
virtual
bool
implNotify
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XEventListener
>&
_rxListener
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XEventListener
>&
_rxListener
,
const
::
com
::
sun
::
star
::
lang
::
EventObject
&
_rEvent
const
::
com
::
sun
::
star
::
lang
::
EventObject
&
_rEvent
)
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
)
SAL_OVERRIDE
)
SAL_OVERRIDE
{
{
return
implTypedNotify
(
return
implTypedNotify
(
::
com
::
sun
::
star
::
uno
::
Reference
<
ListenerClass
>
(
static_cast
<
ListenerClass
*
>
(
_rxListener
.
get
()
)
),
::
com
::
sun
::
star
::
uno
::
Reference
<
ListenerClass
>
(
static_cast
<
ListenerClass
*
>
(
_rxListener
.
get
()
)
),
...
@@ -274,7 +274,7 @@ namespace comphelper
...
@@ -274,7 +274,7 @@ namespace comphelper
virtual
bool
implTypedNotify
(
virtual
bool
implTypedNotify
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
ListenerClass
>&
_rxListener
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
ListenerClass
>&
_rxListener
,
const
EventClass
&
_rEvent
const
EventClass
&
_rEvent
)
SAL_THROW
(
(
::
com
::
sun
::
star
::
uno
::
Exception
)
)
=
0
;
)
=
0
;
};
};
}
// namespace comphelper
}
// namespace comphelper
...
...
include/comphelper/propertycontainerhelper.hxx
Dosyayı görüntüle @
41066fef
...
@@ -151,14 +151,12 @@ protected:
...
@@ -151,14 +151,12 @@ protected:
::
com
::
sun
::
star
::
uno
::
Any
&
rOldValue
,
::
com
::
sun
::
star
::
uno
::
Any
&
rOldValue
,
sal_Int32
nHandle
,
sal_Int32
nHandle
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
const
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
)
);
SAL_THROW
((
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
));
void
setFastPropertyValue
(
void
setFastPropertyValue
(
sal_Int32
nHandle
,
sal_Int32
nHandle
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
const
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
)
);
SAL_THROW
((
::
com
::
sun
::
star
::
uno
::
Exception
));
void
getFastPropertyValue
(
void
getFastPropertyValue
(
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
,
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
,
...
...
include/comphelper/propertystatecontainer.hxx
Dosyayı görüntüle @
41066fef
...
@@ -102,7 +102,7 @@ namespace comphelper
...
@@ -102,7 +102,7 @@ namespace comphelper
@throw UnknownPropertyException if the given name is not a registered property
@throw UnknownPropertyException if the given name is not a registered property
*/
*/
sal_Int32
getHandleForName
(
const
OUString
&
_rPropertyName
)
SAL_THROW
(
(
::
com
::
sun
::
star
::
beans
::
UnknownPropertyException
)
)
;
sal_Int32
getHandleForName
(
const
OUString
&
_rPropertyName
);
};
};
...
...
include/comphelper/string.hxx
Dosyayı görüntüle @
41066fef
...
@@ -179,7 +179,7 @@ COMPHELPER_DLLPUBLIC OUString strip(const OUString &rIn,
...
@@ -179,7 +179,7 @@ COMPHELPER_DLLPUBLIC OUString strip(const OUString &rIn,
is returned
is returned
*/
*/
inline
OString
getToken
(
const
OString
&
rIn
,
inline
OString
getToken
(
const
OString
&
rIn
,
sal_Int32
nToken
,
sal_Char
cTok
)
SAL_THROW
(())
sal_Int32
nToken
,
sal_Char
cTok
)
{
{
return
rIn
.
getToken
(
nToken
,
cTok
);
return
rIn
.
getToken
(
nToken
,
cTok
);
}
}
...
@@ -195,7 +195,7 @@ inline OString getToken(const OString &rIn,
...
@@ -195,7 +195,7 @@ inline OString getToken(const OString &rIn,
is returned
is returned
*/
*/
inline
OUString
getToken
(
const
OUString
&
rIn
,
inline
OUString
getToken
(
const
OUString
&
rIn
,
sal_Int32
nToken
,
sal_Unicode
cTok
)
SAL_THROW
(())
sal_Int32
nToken
,
sal_Unicode
cTok
)
{
{
return
rIn
.
getToken
(
nToken
,
cTok
);
return
rIn
.
getToken
(
nToken
,
cTok
);
}
}
...
@@ -254,13 +254,13 @@ namespace detail
...
@@ -254,13 +254,13 @@ namespace detail
@return rBuf;
@return rBuf;
*/
*/
inline
OStringBuffer
&
truncateToLength
(
inline
OStringBuffer
&
truncateToLength
(
OStringBuffer
&
rBuffer
,
sal_Int32
nLength
)
SAL_THROW
(())
OStringBuffer
&
rBuffer
,
sal_Int32
nLength
)
{
{
return
detail
::
truncateToLength
(
rBuffer
,
nLength
);
return
detail
::
truncateToLength
(
rBuffer
,
nLength
);
}
}
inline
OUStringBuffer
&
truncateToLength
(
inline
OUStringBuffer
&
truncateToLength
(
OUStringBuffer
&
rBuffer
,
sal_Int32
nLength
)
SAL_THROW
(())
OUStringBuffer
&
rBuffer
,
sal_Int32
nLength
)
{
{
return
detail
::
truncateToLength
(
rBuffer
,
nLength
);
return
detail
::
truncateToLength
(
rBuffer
,
nLength
);
}
}
...
@@ -296,14 +296,14 @@ namespace detail
...
@@ -296,14 +296,14 @@ namespace detail
*/
*/
inline
OStringBuffer
&
padToLength
(
inline
OStringBuffer
&
padToLength
(
OStringBuffer
&
rBuffer
,
sal_Int32
nLength
,
OStringBuffer
&
rBuffer
,
sal_Int32
nLength
,
sal_Char
cFill
=
'\0'
)
SAL_THROW
(())
sal_Char
cFill
=
'\0'
)
{
{
return
detail
::
padToLength
(
rBuffer
,
nLength
,
cFill
);
return
detail
::
padToLength
(
rBuffer
,
nLength
,
cFill
);
}
}
inline
OUStringBuffer
&
padToLength
(
inline
OUStringBuffer
&
padToLength
(
OUStringBuffer
&
rBuffer
,
sal_Int32
nLength
,
OUStringBuffer
&
rBuffer
,
sal_Int32
nLength
,
sal_Unicode
cFill
=
'\0'
)
SAL_THROW
(())
sal_Unicode
cFill
=
'\0'
)
{
{
return
detail
::
padToLength
(
rBuffer
,
nLength
,
cFill
);
return
detail
::
padToLength
(
rBuffer
,
nLength
,
cFill
);
}
}
...
...
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