summaryrefslogtreecommitdiff
path: root/svtools/source/uno/unoevent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/uno/unoevent.cxx')
-rw-r--r--svtools/source/uno/unoevent.cxx48
1 files changed, 24 insertions, 24 deletions
diff --git a/svtools/source/uno/unoevent.cxx b/svtools/source/uno/unoevent.cxx
index 526cdbb5d03a..15b90b9dc89b 100644
--- a/svtools/source/uno/unoevent.cxx
+++ b/svtools/source/uno/unoevent.cxx
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -217,7 +217,7 @@ sal_uInt16 SvBaseEventDescriptor::getMacroID(const OUString& rName) const
void SvBaseEventDescriptor::getAnyFromMacro(Any& rAny,
const SvxMacro& rMacro)
{
- sal_Bool bRetValueOK = sal_False; // do we have a ret value?
+ sal_Bool bRetValueOK = sal_False; // do we have a ret value?
if (rMacro.HasMacro())
{
@@ -257,7 +257,7 @@ void SvBaseEventDescriptor::getAnyFromMacro(Any& rAny,
break;
}
case EXTENDED_STYPE:
- {
+ {
// create sequence
Sequence<PropertyValue> aSequence(2);
Any aTmp;
@@ -318,7 +318,7 @@ void SvBaseEventDescriptor::getMacroFromAny(
// process ...
sal_Bool bTypeOK = sal_False;
- sal_Bool bNone = sal_False; // true if EventType=="None"
+ sal_Bool bNone = sal_False; // true if EventType=="None"
enum ScriptType eType = EXTENDED_STYPE;
OUString sScriptVal;
OUString sMacroVal;
@@ -383,7 +383,7 @@ void SvBaseEventDescriptor::getMacroFromAny(
SvxMacro aMacro(sMacroVal, sLibVal, eType);
rMacro = aMacro;
}
- else if (eType == EXTENDED_STYPE)
+ else if (eType == EXTENDED_STYPE)
{
SvxMacro aMacro(sScriptVal, sScript);
rMacro = aMacro;
@@ -425,13 +425,13 @@ SvEventDescriptor::~SvEventDescriptor()
// automatically release xParentRef !
}
-void SvEventDescriptor::replaceByName(
+void SvEventDescriptor::replaceByName(
const sal_uInt16 nEvent,
const SvxMacro& rMacro)
throw(
- IllegalArgumentException,
- NoSuchElementException,
- WrappedTargetException,
+ IllegalArgumentException,
+ NoSuchElementException,
+ WrappedTargetException,
RuntimeException)
{
SvxMacroItem aItem(getMacroItemWhich());
@@ -440,12 +440,12 @@ void SvEventDescriptor::replaceByName(
setMacroItem(aItem);
}
-void SvEventDescriptor::getByName(
+void SvEventDescriptor::getByName(
SvxMacro& rMacro,
const sal_uInt16 nEvent )
throw(
- NoSuchElementException,
- WrappedTargetException,
+ NoSuchElementException,
+ WrappedTargetException,
RuntimeException)
{
const SvxMacroItem& rItem = getMacroItem();
@@ -466,7 +466,7 @@ void SvEventDescriptor::getByName(
//
SvDetachedEventDescriptor::SvDetachedEventDescriptor(
- const SvEventDescription* pSupportedMacroItems) :
+ const SvEventDescription* pSupportedMacroItems) :
SvBaseEventDescriptor(pSupportedMacroItems),
sImplName(RTL_CONSTASCII_USTRINGPARAM(sAPI_SvDetachedEventDescriptor))
{
@@ -496,7 +496,7 @@ sal_Int16 SvDetachedEventDescriptor::getIndex(const sal_uInt16 nID) const
{
// iterate over supported events
sal_Int16 nIndex = 0;
- while ( (mpSupportedMacroItems[nIndex].mnEvent != nID) &&
+ while ( (mpSupportedMacroItems[nIndex].mnEvent != nID) &&
(mpSupportedMacroItems[nIndex].mnEvent != 0) )
{
nIndex++;
@@ -504,20 +504,20 @@ sal_Int16 SvDetachedEventDescriptor::getIndex(const sal_uInt16 nID) const
return (mpSupportedMacroItems[nIndex].mnEvent == nID) ? nIndex : -1;
}
-OUString SvDetachedEventDescriptor::getImplementationName()
+OUString SvDetachedEventDescriptor::getImplementationName()
throw( ::com::sun::star::uno::RuntimeException )
{
return sImplName;
}
-void SvDetachedEventDescriptor::replaceByName(
+void SvDetachedEventDescriptor::replaceByName(
const sal_uInt16 nEvent,
const SvxMacro& rMacro)
throw(
- IllegalArgumentException,
- NoSuchElementException,
- WrappedTargetException,
+ IllegalArgumentException,
+ NoSuchElementException,
+ WrappedTargetException,
RuntimeException)
{
sal_Int16 nIndex = getIndex(nEvent);
@@ -529,12 +529,12 @@ void SvDetachedEventDescriptor::replaceByName(
}
-void SvDetachedEventDescriptor::getByName(
+void SvDetachedEventDescriptor::getByName(
SvxMacro& rMacro,
const sal_uInt16 nEvent )
throw(
- NoSuchElementException,
- WrappedTargetException,
+ NoSuchElementException,
+ WrappedTargetException,
RuntimeException)
{
sal_Int16 nIndex = getIndex(nEvent);
@@ -545,8 +545,8 @@ void SvDetachedEventDescriptor::getByName(
rMacro = (*aMacros[nIndex]);
}
-sal_Bool SvDetachedEventDescriptor::hasByName(
- const sal_uInt16 nEvent ) const /// item ID of event
+sal_Bool SvDetachedEventDescriptor::hasByName(
+ const sal_uInt16 nEvent ) const /// item ID of event
throw(IllegalArgumentException)
{
sal_Int16 nIndex = getIndex(nEvent);