summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-14 12:44:47 +0200
committerNoel Grandin <noel@peralex.com>2015-04-15 11:47:12 +0200
commit71b809959bb8f775d83dc52628448bb8b8322b28 (patch)
treef9aa4308050eb7d55611068602c0cf0e3c1b3690 /editeng/source
parent135907f2061550624ee1859745d94eee01849070 (diff)
remove unnecessary use of void in function declarations
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/accessibility/AccessibleComponentBase.cxx26
-rw-r--r--editeng/source/accessibility/AccessibleContextBase.cxx40
-rw-r--r--editeng/source/accessibility/AccessibleEditableTextPara.cxx6
-rw-r--r--editeng/source/accessibility/AccessibleImageBullet.cxx4
-rw-r--r--editeng/source/misc/SvXMLAutoCorrectExport.hxx4
-rw-r--r--editeng/source/misc/SvXMLAutoCorrectImport.cxx12
-rw-r--r--editeng/source/misc/SvXMLAutoCorrectImport.hxx12
-rw-r--r--editeng/source/uno/unopracc.cxx4
-rw-r--r--editeng/source/uno/unotext.cxx14
-rw-r--r--editeng/source/uno/unotext2.cxx6
10 files changed, 64 insertions, 64 deletions
diff --git a/editeng/source/accessibility/AccessibleComponentBase.cxx b/editeng/source/accessibility/AccessibleComponentBase.cxx
index 38ad66f09117..c2b2ddfd50c5 100644
--- a/editeng/source/accessibility/AccessibleComponentBase.cxx
+++ b/editeng/source/accessibility/AccessibleComponentBase.cxx
@@ -36,14 +36,14 @@ namespace accessibility {
//===== internal ============================================================
-AccessibleComponentBase::AccessibleComponentBase (void)
+AccessibleComponentBase::AccessibleComponentBase()
{
}
-AccessibleComponentBase::~AccessibleComponentBase (void)
+AccessibleComponentBase::~AccessibleComponentBase()
{
}
@@ -77,7 +77,7 @@ uno::Reference<XAccessible > SAL_CALL
-awt::Rectangle SAL_CALL AccessibleComponentBase::getBounds (void)
+awt::Rectangle SAL_CALL AccessibleComponentBase::getBounds()
throw (uno::RuntimeException, std::exception)
{
return awt::Rectangle();
@@ -86,7 +86,7 @@ awt::Rectangle SAL_CALL AccessibleComponentBase::getBounds (void)
-awt::Point SAL_CALL AccessibleComponentBase::getLocation (void)
+awt::Point SAL_CALL AccessibleComponentBase::getLocation()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
awt::Rectangle aBBox (getBounds());
@@ -96,7 +96,7 @@ awt::Point SAL_CALL AccessibleComponentBase::getLocation (void)
-awt::Point SAL_CALL AccessibleComponentBase::getLocationOnScreen (void)
+awt::Point SAL_CALL AccessibleComponentBase::getLocationOnScreen()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return awt::Point();
@@ -105,7 +105,7 @@ awt::Point SAL_CALL AccessibleComponentBase::getLocationOnScreen (void)
-::com::sun::star::awt::Size SAL_CALL AccessibleComponentBase::getSize (void)
+::com::sun::star::awt::Size SAL_CALL AccessibleComponentBase::getSize()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
awt::Rectangle aBBox (getBounds());
@@ -136,7 +136,7 @@ void SAL_CALL AccessibleComponentBase::removeFocusListener (const ::com::sun::st
-void SAL_CALL AccessibleComponentBase::grabFocus (void)
+void SAL_CALL AccessibleComponentBase::grabFocus()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
uno::Reference<XAccessibleContext> xContext (this, uno::UNO_QUERY);
@@ -153,7 +153,7 @@ void SAL_CALL AccessibleComponentBase::grabFocus (void)
-sal_Int32 SAL_CALL AccessibleComponentBase::getForeground (void)
+sal_Int32 SAL_CALL AccessibleComponentBase::getForeground()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return Color(COL_BLACK).GetColor();
@@ -162,7 +162,7 @@ sal_Int32 SAL_CALL AccessibleComponentBase::getForeground (void)
-sal_Int32 SAL_CALL AccessibleComponentBase::getBackground (void)
+sal_Int32 SAL_CALL AccessibleComponentBase::getBackground()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return Color(COL_WHITE).GetColor();
@@ -174,7 +174,7 @@ sal_Int32 SAL_CALL AccessibleComponentBase::getBackground (void)
//===== XAccessibleExtendedComponent ========================================
::com::sun::star::uno::Reference< ::com::sun::star::awt::XFont > SAL_CALL
- AccessibleComponentBase::getFont (void)
+ AccessibleComponentBase::getFont()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return uno::Reference<awt::XFont>();
@@ -183,14 +183,14 @@ sal_Int32 SAL_CALL AccessibleComponentBase::getBackground (void)
-OUString SAL_CALL AccessibleComponentBase::getTitledBorderText (void)
+OUString SAL_CALL AccessibleComponentBase::getTitledBorderText()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return OUString();
}
-OUString SAL_CALL AccessibleComponentBase::getToolTipText (void)
+OUString SAL_CALL AccessibleComponentBase::getToolTipText()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return OUString();
@@ -202,7 +202,7 @@ OUString SAL_CALL AccessibleComponentBase::getToolTipText (void)
//===== XTypeProvider ===================================================
uno::Sequence<uno::Type> SAL_CALL
- AccessibleComponentBase::getTypes (void)
+ AccessibleComponentBase::getTypes()
throw (uno::RuntimeException, std::exception)
{
// Get list of types from the context base implementation...
diff --git a/editeng/source/accessibility/AccessibleContextBase.cxx b/editeng/source/accessibility/AccessibleContextBase.cxx
index bd364892b890..377a8428a417 100644
--- a/editeng/source/accessibility/AccessibleContextBase.cxx
+++ b/editeng/source/accessibility/AccessibleContextBase.cxx
@@ -81,7 +81,7 @@ AccessibleContextBase::AccessibleContextBase (
mxRelationSet = pRelationSet;
}
-AccessibleContextBase::~AccessibleContextBase(void)
+AccessibleContextBase::~AccessibleContextBase()
{
}
@@ -188,7 +188,7 @@ void AccessibleContextBase::SetRelationSet (
//===== XAccessible =========================================================
uno::Reference< XAccessibleContext> SAL_CALL
- AccessibleContextBase::getAccessibleContext (void)
+ AccessibleContextBase::getAccessibleContext()
throw (uno::RuntimeException, std::exception)
{
ThrowIfDisposed ();
@@ -203,7 +203,7 @@ uno::Reference< XAccessibleContext> SAL_CALL
/** No children.
*/
sal_Int32 SAL_CALL
- AccessibleContextBase::getAccessibleChildCount (void)
+ AccessibleContextBase::getAccessibleChildCount()
throw (uno::RuntimeException, std::exception)
{
ThrowIfDisposed ();
@@ -230,7 +230,7 @@ uno::Reference<XAccessible> SAL_CALL
uno::Reference<XAccessible> SAL_CALL
- AccessibleContextBase::getAccessibleParent (void)
+ AccessibleContextBase::getAccessibleParent()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
ThrowIfDisposed ();
@@ -241,7 +241,7 @@ uno::Reference<XAccessible> SAL_CALL
sal_Int32 SAL_CALL
- AccessibleContextBase::getAccessibleIndexInParent (void)
+ AccessibleContextBase::getAccessibleIndexInParent()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
ThrowIfDisposed ();
@@ -277,7 +277,7 @@ sal_Int32 SAL_CALL
sal_Int16 SAL_CALL
- AccessibleContextBase::getAccessibleRole (void)
+ AccessibleContextBase::getAccessibleRole()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
ThrowIfDisposed ();
@@ -288,7 +288,7 @@ sal_Int16 SAL_CALL
OUString SAL_CALL
- AccessibleContextBase::getAccessibleDescription (void)
+ AccessibleContextBase::getAccessibleDescription()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
ThrowIfDisposed ();
@@ -300,7 +300,7 @@ OUString SAL_CALL
OUString SAL_CALL
- AccessibleContextBase::getAccessibleName (void)
+ AccessibleContextBase::getAccessibleName()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
ThrowIfDisposed ();
@@ -322,7 +322,7 @@ OUString SAL_CALL
/** Return a copy of the relation set.
*/
uno::Reference<XAccessibleRelationSet> SAL_CALL
- AccessibleContextBase::getAccessibleRelationSet (void)
+ AccessibleContextBase::getAccessibleRelationSet()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
ThrowIfDisposed ();
@@ -349,7 +349,7 @@ uno::Reference<XAccessibleRelationSet> SAL_CALL
VISIBLE
*/
uno::Reference<XAccessibleStateSet> SAL_CALL
- AccessibleContextBase::getAccessibleStateSet (void)
+ AccessibleContextBase::getAccessibleStateSet()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
::utl::AccessibleStateSetHelper* pStateSet = NULL;
@@ -389,7 +389,7 @@ uno::Reference<XAccessibleStateSet> SAL_CALL
lang::Locale SAL_CALL
- AccessibleContextBase::getLocale (void)
+ AccessibleContextBase::getLocale()
throw (IllegalAccessibleComponentStateException,
::com::sun::star::uno::RuntimeException, std::exception)
{
@@ -457,7 +457,7 @@ void SAL_CALL AccessibleContextBase::removeAccessibleEventListener (
}
//===== XServiceInfo ========================================================
-OUString SAL_CALL AccessibleContextBase::getImplementationName (void)
+OUString SAL_CALL AccessibleContextBase::getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
ThrowIfDisposed ();
@@ -471,7 +471,7 @@ sal_Bool SAL_CALL AccessibleContextBase::supportsService (const OUString& sServi
}
uno::Sequence< OUString > SAL_CALL
- AccessibleContextBase::getSupportedServiceNames (void)
+ AccessibleContextBase::getSupportedServiceNames()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
ThrowIfDisposed ();
@@ -488,7 +488,7 @@ uno::Sequence< OUString > SAL_CALL
//===== XTypeProvider =======================================================
uno::Sequence< ::com::sun::star::uno::Type>
- AccessibleContextBase::getTypes (void)
+ AccessibleContextBase::getTypes()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
ThrowIfDisposed ();
@@ -499,7 +499,7 @@ uno::Sequence< ::com::sun::star::uno::Type>
}
uno::Sequence<sal_Int8> SAL_CALL
- AccessibleContextBase::getImplementationId (void)
+ AccessibleContextBase::getImplementationId()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return css::uno::Sequence<sal_Int8>();
@@ -507,7 +507,7 @@ uno::Sequence<sal_Int8> SAL_CALL
//===== internal ============================================================
-void SAL_CALL AccessibleContextBase::disposing (void)
+void SAL_CALL AccessibleContextBase::disposing()
{
SetState (AccessibleStateType::DEFUNC);
@@ -574,7 +574,7 @@ void AccessibleContextBase::SetAccessibleName (
-OUString AccessibleContextBase::CreateAccessibleDescription (void)
+OUString AccessibleContextBase::CreateAccessibleDescription()
throw (::com::sun::star::uno::RuntimeException)
{
return OUString("Empty Description");
@@ -583,7 +583,7 @@ OUString AccessibleContextBase::CreateAccessibleDescription (void)
-OUString AccessibleContextBase::CreateAccessibleName (void)
+OUString AccessibleContextBase::CreateAccessibleName()
throw (::com::sun::star::uno::RuntimeException)
{
return OUString("Empty Name");
@@ -624,7 +624,7 @@ void AccessibleContextBase::FireEvent (const AccessibleEventObject& aEvent)
-void AccessibleContextBase::ThrowIfDisposed (void)
+void AccessibleContextBase::ThrowIfDisposed()
throw (::com::sun::star::lang::DisposedException)
{
if (rBHelper.bDisposed || rBHelper.bInDispose)
@@ -637,7 +637,7 @@ void AccessibleContextBase::ThrowIfDisposed (void)
-bool AccessibleContextBase::IsDisposed (void)
+bool AccessibleContextBase::IsDisposed()
{
return (rBHelper.bDisposed || rBHelper.bInDispose);
}
diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
index 7ed255a83dde..53ca25fdb06b 100644
--- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx
+++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
@@ -2813,7 +2813,7 @@ namespace accessibility
// XServiceInfo
- OUString SAL_CALL AccessibleEditableTextPara::getImplementationName (void) throw (uno::RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleEditableTextPara::getImplementationName() throw (uno::RuntimeException, std::exception)
{
return OUString("AccessibleEditableTextPara");
@@ -2825,7 +2825,7 @@ namespace accessibility
return cppu::supportsService(this, sServiceName);
}
- uno::Sequence< OUString> SAL_CALL AccessibleEditableTextPara::getSupportedServiceNames (void) throw (uno::RuntimeException, std::exception)
+ uno::Sequence< OUString> SAL_CALL AccessibleEditableTextPara::getSupportedServiceNames() throw (uno::RuntimeException, std::exception)
{
const OUString sServiceName( getServiceName() );
@@ -2833,7 +2833,7 @@ namespace accessibility
}
// XServiceName
- OUString SAL_CALL AccessibleEditableTextPara::getServiceName (void) throw (uno::RuntimeException)
+ OUString SAL_CALL AccessibleEditableTextPara::getServiceName() throw (uno::RuntimeException)
{
// #105185# Using correct service now
diff --git a/editeng/source/accessibility/AccessibleImageBullet.cxx b/editeng/source/accessibility/AccessibleImageBullet.cxx
index cac43b3b8b86..09b07a764f4d 100644
--- a/editeng/source/accessibility/AccessibleImageBullet.cxx
+++ b/editeng/source/accessibility/AccessibleImageBullet.cxx
@@ -357,7 +357,7 @@ namespace accessibility
return static_cast<sal_Int32>( aColor.GetColor() );
}
- OUString SAL_CALL AccessibleImageBullet::getImplementationName (void) throw (uno::RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleImageBullet::getImplementationName() throw (uno::RuntimeException, std::exception)
{
return OUString("AccessibleImageBullet");
@@ -369,7 +369,7 @@ namespace accessibility
return cppu::supportsService(this, sServiceName);
}
- uno::Sequence< OUString > SAL_CALL AccessibleImageBullet::getSupportedServiceNames (void) throw (uno::RuntimeException, std::exception)
+ uno::Sequence< OUString > SAL_CALL AccessibleImageBullet::getSupportedServiceNames() throw (uno::RuntimeException, std::exception)
{
const OUString sServiceName ("com.sun.star.accessibility.AccessibleContext");
diff --git a/editeng/source/misc/SvXMLAutoCorrectExport.hxx b/editeng/source/misc/SvXMLAutoCorrectExport.hxx
index 62ce537b1e6d..c1dadc45a4f0 100644
--- a/editeng/source/misc/SvXMLAutoCorrectExport.hxx
+++ b/editeng/source/misc/SvXMLAutoCorrectExport.hxx
@@ -36,7 +36,7 @@ public:
const OUString &rFileName,
com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler> &rHandler);
- virtual ~SvXMLAutoCorrectExport ( void ) {}
+ virtual ~SvXMLAutoCorrectExport() {}
sal_uInt32 exportDoc(enum ::xmloff::token::XMLTokenEnum eClass) SAL_OVERRIDE;
void _ExportAutoStyles() SAL_OVERRIDE {}
void _ExportMasterStyles () SAL_OVERRIDE {}
@@ -56,7 +56,7 @@ public:
const OUString &rFileName,
com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler> &rHandler);
- virtual ~SvXMLExceptionListExport ( void ) {}
+ virtual ~SvXMLExceptionListExport() {}
sal_uInt32 exportDoc(enum ::xmloff::token::XMLTokenEnum eClass) SAL_OVERRIDE;
void _ExportAutoStyles() SAL_OVERRIDE {}
void _ExportMasterStyles () SAL_OVERRIDE {}
diff --git a/editeng/source/misc/SvXMLAutoCorrectImport.cxx b/editeng/source/misc/SvXMLAutoCorrectImport.cxx
index e68362e472de..c389d5e5f169 100644
--- a/editeng/source/misc/SvXMLAutoCorrectImport.cxx
+++ b/editeng/source/misc/SvXMLAutoCorrectImport.cxx
@@ -35,7 +35,7 @@ SvXMLAutoCorrectImport::SvXMLAutoCorrectImport(
{
}
-SvXMLAutoCorrectImport::~SvXMLAutoCorrectImport ( void ) throw ()
+SvXMLAutoCorrectImport::~SvXMLAutoCorrectImport() throw ()
{
}
@@ -69,7 +69,7 @@ throw (css::uno::RuntimeException, css::xml::sax::SAXException, std::exception)
return new SvXMLImportContext( rLocalRef );
}
-SvXMLWordListContext::~SvXMLWordListContext ( void )
+SvXMLWordListContext::~SvXMLWordListContext()
{
}
@@ -105,7 +105,7 @@ SvXMLWordContext::SvXMLWordContext(
rLocalRef.pAutocorr_List->LoadEntry( sWrong, sRight, bOnlyTxt );
}
-SvXMLWordContext::~SvXMLWordContext ( void )
+SvXMLWordContext::~SvXMLWordContext()
{
}
@@ -117,7 +117,7 @@ SvXMLExceptionListImport::SvXMLExceptionListImport(
{
}
-SvXMLExceptionListImport::~SvXMLExceptionListImport ( void ) throw ()
+SvXMLExceptionListImport::~SvXMLExceptionListImport() throw ()
{
}
@@ -150,7 +150,7 @@ com::sun::star::uno::Reference<xml::sax::XFastContextHandler> SAL_CALL SvXMLExce
return new SvXMLImportContext( rLocalRef );
}
-SvXMLExceptionListContext::~SvXMLExceptionListContext ( void )
+SvXMLExceptionListContext::~SvXMLExceptionListContext()
{
}
@@ -172,7 +172,7 @@ SvXMLExceptionContext::SvXMLExceptionContext(
rLocalRef.rList.insert( sWord );
}
-SvXMLExceptionContext::~SvXMLExceptionContext ( void )
+SvXMLExceptionContext::~SvXMLExceptionContext()
{
}
diff --git a/editeng/source/misc/SvXMLAutoCorrectImport.hxx b/editeng/source/misc/SvXMLAutoCorrectImport.hxx
index 96df12d64119..533a84b1700b 100644
--- a/editeng/source/misc/SvXMLAutoCorrectImport.hxx
+++ b/editeng/source/misc/SvXMLAutoCorrectImport.hxx
@@ -44,7 +44,7 @@ public:
SvxAutoCorrect &rNewAutoCorrect,
const ::css::uno::Reference < com::sun::star::embed::XStorage >& rNewStorage);
- virtual ~SvXMLAutoCorrectImport ( void ) throw ();
+ virtual ~SvXMLAutoCorrectImport() throw ();
};
class SvXMLWordListContext : public SvXMLImportContext
@@ -59,7 +59,7 @@ public:
const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList > & xAttrList )
throw (css::uno::RuntimeException, css::xml::sax::SAXException, std::exception) SAL_OVERRIDE;
- virtual ~SvXMLWordListContext ( void );
+ virtual ~SvXMLWordListContext();
};
class SvXMLWordContext : public SvXMLImportContext
@@ -70,7 +70,7 @@ public:
SvXMLWordContext ( SvXMLAutoCorrectImport& rImport, sal_Int32 Element,
const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList > & xAttrList );
- virtual ~SvXMLWordContext ( void );
+ virtual ~SvXMLWordContext();
};
@@ -89,7 +89,7 @@ public:
const ::css::uno::Reference< ::css::uno::XComponentContext > xContext,
SvStringsISortDtor & rNewList );
- virtual ~SvXMLExceptionListImport ( void ) throw ();
+ virtual ~SvXMLExceptionListImport() throw ();
};
class SvXMLExceptionListContext : public SvXMLImportContext
@@ -104,7 +104,7 @@ public:
const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList > & xAttrList )
throw (css::uno::RuntimeException, css::xml::sax::SAXException, std::exception) SAL_OVERRIDE;
- virtual ~SvXMLExceptionListContext ( void );
+ virtual ~SvXMLExceptionListContext();
};
class SvXMLExceptionContext : public SvXMLImportContext
@@ -115,7 +115,7 @@ public:
SvXMLExceptionContext ( SvXMLExceptionListImport& rImport, sal_Int32 Element,
const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList > & xAttrList );
- virtual ~SvXMLExceptionContext ( void );
+ virtual ~SvXMLExceptionContext();
};
diff --git a/editeng/source/uno/unopracc.cxx b/editeng/source/uno/unopracc.cxx
index 59baa24002ab..f7957a30cddb 100644
--- a/editeng/source/uno/unopracc.cxx
+++ b/editeng/source/uno/unopracc.cxx
@@ -101,7 +101,7 @@ uno::Sequence< sal_Int8 > SAL_CALL SvxAccessibleTextPropertySet::getImplementati
}
// XServiceInfo
-OUString SAL_CALL SAL_CALL SvxAccessibleTextPropertySet::getImplementationName (void) throw (uno::RuntimeException, std::exception)
+OUString SAL_CALL SAL_CALL SvxAccessibleTextPropertySet::getImplementationName() throw (uno::RuntimeException, std::exception)
{
return OUString("SvxAccessibleTextPropertySet");
}
@@ -111,7 +111,7 @@ sal_Bool SAL_CALL SvxAccessibleTextPropertySet::supportsService (const OUString&
return cppu::supportsService(this, sServiceName);
}
-uno::Sequence< OUString> SAL_CALL SvxAccessibleTextPropertySet::getSupportedServiceNames (void) throw (uno::RuntimeException, std::exception)
+uno::Sequence< OUString> SAL_CALL SvxAccessibleTextPropertySet::getSupportedServiceNames() throw (uno::RuntimeException, std::exception)
{
// TODO
return SvxUnoTextRangeBase::getSupportedServiceNames();
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index 390b19f8d178..b3cf7127b0a8 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -306,7 +306,7 @@ void SvxUnoTextRangeBase::SetSelection( const ESelection& rSelection ) throw()
// Interface XTextRange ( XText )
-uno::Reference< text::XTextRange > SAL_CALL SvxUnoTextRangeBase::getStart(void)
+uno::Reference< text::XTextRange > SAL_CALL SvxUnoTextRangeBase::getStart()
throw( uno::RuntimeException, std::exception )
{
SolarMutexGuard aGuard;
@@ -335,7 +335,7 @@ uno::Reference< text::XTextRange > SAL_CALL SvxUnoTextRangeBase::getStart(void)
return xRange;
}
-uno::Reference< text::XTextRange > SAL_CALL SvxUnoTextRangeBase::getEnd(void)
+uno::Reference< text::XTextRange > SAL_CALL SvxUnoTextRangeBase::getEnd()
throw( uno::RuntimeException, std::exception )
{
SolarMutexGuard aGuard;
@@ -363,7 +363,7 @@ uno::Reference< text::XTextRange > SAL_CALL SvxUnoTextRangeBase::getEnd(void)
return xRet;
}
-OUString SAL_CALL SvxUnoTextRangeBase::getString(void)
+OUString SAL_CALL SvxUnoTextRangeBase::getString()
throw( uno::RuntimeException, std::exception )
{
SolarMutexGuard aGuard;
@@ -409,7 +409,7 @@ void SAL_CALL SvxUnoTextRangeBase::setString(const OUString& aString)
}
// Interface beans::XPropertySet
-uno::Reference< beans::XPropertySetInfo > SAL_CALL SvxUnoTextRangeBase::getPropertySetInfo(void)
+uno::Reference< beans::XPropertySetInfo > SAL_CALL SvxUnoTextRangeBase::getPropertySetInfo()
throw( uno::RuntimeException, std::exception )
{
return mpPropSet->getPropertySetInfo();
@@ -1352,7 +1352,7 @@ uno::Sequence< uno::Any > SAL_CALL SvxUnoTextRangeBase::getPropertyDefaults( con
}
// internal
-void SvxUnoTextRangeBase::CollapseToStart(void) throw()
+void SvxUnoTextRangeBase::CollapseToStart() throw()
{
CheckSelection( maSelection, mpEditSource );
@@ -1360,7 +1360,7 @@ void SvxUnoTextRangeBase::CollapseToStart(void) throw()
maSelection.nEndPos = maSelection.nStartPos;
}
-void SvxUnoTextRangeBase::CollapseToEnd(void) throw()
+void SvxUnoTextRangeBase::CollapseToEnd() throw()
{
CheckSelection( maSelection, mpEditSource );
@@ -1368,7 +1368,7 @@ void SvxUnoTextRangeBase::CollapseToEnd(void) throw()
maSelection.nStartPos = maSelection.nEndPos;
}
-bool SvxUnoTextRangeBase::IsCollapsed(void) throw()
+bool SvxUnoTextRangeBase::IsCollapsed() throw()
{
CheckSelection( maSelection, mpEditSource );
diff --git a/editeng/source/uno/unotext2.cxx b/editeng/source/uno/unotext2.cxx
index e57cf87f399e..3c9cf39c3467 100644
--- a/editeng/source/uno/unotext2.cxx
+++ b/editeng/source/uno/unotext2.cxx
@@ -57,7 +57,7 @@ SvxUnoTextContentEnumeration::~SvxUnoTextContentEnumeration() throw()
}
// container::XEnumeration
-sal_Bool SAL_CALL SvxUnoTextContentEnumeration::hasMoreElements(void)
+sal_Bool SAL_CALL SvxUnoTextContentEnumeration::hasMoreElements()
throw( uno::RuntimeException, std::exception )
{
SolarMutexGuard aGuard;
@@ -67,7 +67,7 @@ sal_Bool SAL_CALL SvxUnoTextContentEnumeration::hasMoreElements(void)
return sal_False;
}
-uno::Any SvxUnoTextContentEnumeration::nextElement(void) throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception )
+uno::Any SvxUnoTextContentEnumeration::nextElement() throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aGuard;
@@ -626,7 +626,7 @@ void SAL_CALL SvxUnoTextCursor::gotoRange( const uno::Reference< text::XTextRang
}
// text::XTextRange (rest in SvxTextRange)
-uno::Reference< text::XText > SAL_CALL SvxUnoTextCursor::getText(void) throw( uno::RuntimeException, std::exception )
+uno::Reference< text::XText > SAL_CALL SvxUnoTextCursor::getText() throw( uno::RuntimeException, std::exception )
{
return mxParentText;
}