diff options
Diffstat (limited to 'sc/source/ui')
46 files changed, 210 insertions, 210 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleCell.cxx b/sc/source/ui/Accessibility/AccessibleCell.cxx index 6ad4cc2faebc..337d91b531f1 100644 --- a/sc/source/ui/Accessibility/AccessibleCell.cxx +++ b/sc/source/ui/Accessibility/AccessibleCell.cxx @@ -152,7 +152,7 @@ void SAL_CALL ScAccessibleCell::grabFocus( ) } } -Rectangle ScAccessibleCell::GetBoundingBoxOnScreen(void) const +Rectangle ScAccessibleCell::GetBoundingBoxOnScreen() const throw (uno::RuntimeException, std::exception) { Rectangle aCellRect(GetBoundingBox()); @@ -214,7 +214,7 @@ Rectangle ScAccessibleCell::GetBoundingBox() const //===== XAccessibleContext ============================================== sal_Int32 SAL_CALL - ScAccessibleCell::getAccessibleChildCount(void) + ScAccessibleCell::getAccessibleChildCount() throw (uno::RuntimeException, std::exception) { return AccessibleStaticTextBase::getAccessibleChildCount(); @@ -229,7 +229,7 @@ uno::Reference< XAccessible > SAL_CALL } uno::Reference<XAccessibleStateSet> SAL_CALL - ScAccessibleCell::getAccessibleStateSet(void) + ScAccessibleCell::getAccessibleStateSet() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -302,14 +302,14 @@ uno::Reference<XAccessibleRelationSet> SAL_CALL //===== XServiceInfo ==================================================== -OUString SAL_CALL ScAccessibleCell::getImplementationName(void) +OUString SAL_CALL ScAccessibleCell::getImplementationName() throw (uno::RuntimeException, std::exception) { return OUString("ScAccessibleCell"); } uno::Sequence< OUString> SAL_CALL - ScAccessibleCell::getSupportedServiceNames(void) + ScAccessibleCell::getSupportedServiceNames() throw (uno::RuntimeException, std::exception) { uno::Sequence< OUString > aSequence = ScAccessibleContextBase::getSupportedServiceNames(); diff --git a/sc/source/ui/Accessibility/AccessibleCellBase.cxx b/sc/source/ui/Accessibility/AccessibleCellBase.cxx index 7024fe57f311..c50a46ed889d 100644 --- a/sc/source/ui/Accessibility/AccessibleCellBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleCellBase.cxx @@ -196,7 +196,7 @@ void SAL_CALL ScAccessibleCellBase::release() //===== XAccessibleContext ============================================== sal_Int32 - ScAccessibleCellBase::getAccessibleIndexInParent(void) + ScAccessibleCellBase::getAccessibleIndexInParent() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -205,7 +205,7 @@ sal_Int32 } OUString SAL_CALL - ScAccessibleCellBase::createAccessibleDescription(void) + ScAccessibleCellBase::createAccessibleDescription() throw (uno::RuntimeException) { OUString sDescription = OUString(ScResId(STR_ACC_CELL_DESCR)); @@ -214,7 +214,7 @@ OUString SAL_CALL } OUString SAL_CALL - ScAccessibleCellBase::createAccessibleName(void) + ScAccessibleCellBase::createAccessibleName() throw (uno::RuntimeException, std::exception) { // Document not needed, because only the cell address, but not the tablename is needed @@ -285,7 +285,7 @@ uno::Any SAL_CALL //===== XServiceInfo ==================================================== -OUString SAL_CALL ScAccessibleCellBase::getImplementationName(void) +OUString SAL_CALL ScAccessibleCellBase::getImplementationName() throw (uno::RuntimeException, std::exception) { return OUString("ScAccessibleCellBase"); @@ -300,7 +300,7 @@ uno::Sequence< uno::Type > SAL_CALL ScAccessibleCellBase::getTypes() } uno::Sequence<sal_Int8> SAL_CALL - ScAccessibleCellBase::getImplementationId(void) + ScAccessibleCellBase::getImplementationId() throw (uno::RuntimeException, std::exception) { return css::uno::Sequence<sal_Int8>(); @@ -315,7 +315,7 @@ bool ScAccessibleCellBase::IsEditable( return bEditable; } -OUString SAL_CALL ScAccessibleCellBase::GetNote(void) +OUString SAL_CALL ScAccessibleCellBase::GetNote() throw (::com::sun::star::uno::RuntimeException) { SolarMutexGuard aGuard; @@ -364,7 +364,7 @@ OUString SAL_CALL ScAccessibleCellBase::GetNote(void) #include <com/sun/star/table/ShadowFormat.hpp> -OUString SAL_CALL ScAccessibleCellBase::getShadowAttrs(void) +OUString SAL_CALL ScAccessibleCellBase::getShadowAttrs() throw (::com::sun::star::uno::RuntimeException) { SolarMutexGuard aGuard; @@ -447,7 +447,7 @@ OUString SAL_CALL ScAccessibleCellBase::getShadowAttrs(void) #include <com/sun/star/table/BorderLine.hpp> -OUString SAL_CALL ScAccessibleCellBase::getBorderAttrs(void) +OUString SAL_CALL ScAccessibleCellBase::getBorderAttrs() throw (::com::sun::star::uno::RuntimeException) { SolarMutexGuard aGuard; @@ -597,7 +597,7 @@ OUString SAL_CALL ScAccessibleCellBase::getBorderAttrs(void) } //end of cell attributes -OUString SAL_CALL ScAccessibleCellBase::GetAllDisplayNote(void) +OUString SAL_CALL ScAccessibleCellBase::GetAllDisplayNote() throw (::com::sun::star::uno::RuntimeException) { OUString strNote; diff --git a/sc/source/ui/Accessibility/AccessibleContextBase.cxx b/sc/source/ui/Accessibility/AccessibleContextBase.cxx index 1f5bd3502dcc..9eb6355162d1 100644 --- a/sc/source/ui/Accessibility/AccessibleContextBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleContextBase.cxx @@ -49,7 +49,7 @@ ScAccessibleContextBase::ScAccessibleContextBase( { } -ScAccessibleContextBase::~ScAccessibleContextBase(void) +ScAccessibleContextBase::~ScAccessibleContextBase() { if (!IsDefunc() && !rBHelper.bInDispose) { @@ -140,7 +140,7 @@ void ScAccessibleContextBase::Notify( SfxBroadcaster&, const SfxHint& rHint ) //===== XAccessible ========================================================= uno::Reference< XAccessibleContext> SAL_CALL - ScAccessibleContextBase::getAccessibleContext(void) + ScAccessibleContextBase::getAccessibleContext() throw (uno::RuntimeException, std::exception) { return this; @@ -258,14 +258,14 @@ uno::Reference<XAccessible> SAL_CALL } uno::Reference<XAccessible> SAL_CALL - ScAccessibleContextBase::getAccessibleParent(void) + ScAccessibleContextBase::getAccessibleParent() throw (uno::RuntimeException, std::exception) { return mxParent; } sal_Int32 SAL_CALL - ScAccessibleContextBase::getAccessibleIndexInParent(void) + ScAccessibleContextBase::getAccessibleIndexInParent() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -299,14 +299,14 @@ sal_Int32 SAL_CALL } sal_Int16 SAL_CALL - ScAccessibleContextBase::getAccessibleRole(void) + ScAccessibleContextBase::getAccessibleRole() throw (uno::RuntimeException, std::exception) { return maRole; } OUString SAL_CALL - ScAccessibleContextBase::getAccessibleDescription(void) + ScAccessibleContextBase::getAccessibleDescription() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -332,7 +332,7 @@ OUString SAL_CALL } OUString SAL_CALL - ScAccessibleContextBase::getAccessibleName(void) + ScAccessibleContextBase::getAccessibleName() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -366,14 +366,14 @@ uno::Reference<XAccessibleRelationSet> SAL_CALL } uno::Reference<XAccessibleStateSet> SAL_CALL - ScAccessibleContextBase::getAccessibleStateSet(void) + ScAccessibleContextBase::getAccessibleStateSet() throw (uno::RuntimeException, std::exception) { return uno::Reference<XAccessibleStateSet>(); } lang::Locale SAL_CALL - ScAccessibleContextBase::getLocale(void) + ScAccessibleContextBase::getLocale() throw (IllegalAccessibleComponentStateException, uno::RuntimeException, std::exception) { @@ -454,7 +454,7 @@ void SAL_CALL ScAccessibleContextBase::notifyEvent( } //===== XServiceInfo ======================================================== -OUString SAL_CALL ScAccessibleContextBase::getImplementationName(void) +OUString SAL_CALL ScAccessibleContextBase::getImplementationName() throw (uno::RuntimeException, std::exception) { return OUString("ScAccessibleContextBase"); @@ -467,7 +467,7 @@ sal_Bool SAL_CALL ScAccessibleContextBase::supportsService(const OUString& sServ } uno::Sequence< OUString> SAL_CALL - ScAccessibleContextBase::getSupportedServiceNames(void) + ScAccessibleContextBase::getSupportedServiceNames() throw (uno::RuntimeException, std::exception) { uno::Sequence<OUString> aServiceNames(2); @@ -490,7 +490,7 @@ uno::Sequence< uno::Type > SAL_CALL ScAccessibleContextBase::getTypes() } uno::Sequence<sal_Int8> SAL_CALL - ScAccessibleContextBase::getImplementationId(void) + ScAccessibleContextBase::getImplementationId() throw (uno::RuntimeException, std::exception) { return css::uno::Sequence<sal_Int8>(); @@ -499,7 +499,7 @@ uno::Sequence<sal_Int8> SAL_CALL //===== internal ============================================================ OUString SAL_CALL - ScAccessibleContextBase::createAccessibleDescription(void) + ScAccessibleContextBase::createAccessibleDescription() throw (uno::RuntimeException) { OSL_FAIL("should be implemented in the abrevated class"); diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx index f58d2244e421..4b1c96b071c9 100644 --- a/sc/source/ui/Accessibility/AccessibleDocument.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx @@ -1445,7 +1445,7 @@ void ScAccessibleDocument::Init() mpChildrenShapes = new ScChildrenShapes(this, mpViewShell, meSplitPos); } -ScAccessibleDocument::~ScAccessibleDocument(void) +ScAccessibleDocument::~ScAccessibleDocument() { if (!ScAccessibleContextBase::IsDefunc() && !rBHelper.bInDispose) { @@ -1780,7 +1780,7 @@ void SAL_CALL ScAccessibleDocument::grabFocus( ) /// Return the number of currently visible children. sal_Int32 SAL_CALL - ScAccessibleDocument::getAccessibleChildCount(void) + ScAccessibleDocument::getAccessibleChildCount() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -1829,7 +1829,7 @@ uno::Reference<XAccessible> SAL_CALL /// Return the set of current states. uno::Reference<XAccessibleStateSet> SAL_CALL - ScAccessibleDocument::getAccessibleStateSet(void) + ScAccessibleDocument::getAccessibleStateSet() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -1856,7 +1856,7 @@ uno::Reference<XAccessibleStateSet> SAL_CALL } OUString SAL_CALL - ScAccessibleDocument::getAccessibleName(void) + ScAccessibleDocument::getAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) { SolarMutexGuard g; @@ -2068,14 +2068,14 @@ void SAL_CALL //===== XServiceInfo ==================================================== OUString SAL_CALL - ScAccessibleDocument::getImplementationName(void) + ScAccessibleDocument::getImplementationName() throw (uno::RuntimeException, std::exception) { return OUString("ScAccessibleDocument"); } uno::Sequence< OUString> SAL_CALL - ScAccessibleDocument::getSupportedServiceNames(void) + ScAccessibleDocument::getSupportedServiceNames() throw (uno::RuntimeException, std::exception) { uno::Sequence< OUString > aSequence = ScAccessibleContextBase::getSupportedServiceNames(); @@ -2096,7 +2096,7 @@ uno::Sequence< uno::Type > SAL_CALL ScAccessibleDocument::getTypes() } uno::Sequence<sal_Int8> SAL_CALL - ScAccessibleDocument::getImplementationId(void) + ScAccessibleDocument::getImplementationId() throw (uno::RuntimeException, std::exception) { return css::uno::Sequence<sal_Int8>(); @@ -2104,7 +2104,7 @@ uno::Sequence<sal_Int8> SAL_CALL ///===== IAccessibleViewForwarder ======================================== -bool ScAccessibleDocument::IsValid (void) const +bool ScAccessibleDocument::IsValid() const { SolarMutexGuard aGuard; IsObjectValid(); @@ -2198,7 +2198,7 @@ utl::AccessibleRelationSetHelper* ScAccessibleDocument::GetRelationSet(const ScA } OUString SAL_CALL - ScAccessibleDocument::createAccessibleDescription(void) + ScAccessibleDocument::createAccessibleDescription() throw (uno::RuntimeException) { OUString sDescription = OUString(ScResId(STR_ACC_DOC_DESCR)); @@ -2206,7 +2206,7 @@ OUString SAL_CALL } OUString SAL_CALL - ScAccessibleDocument::createAccessibleName(void) + ScAccessibleDocument::createAccessibleName() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; diff --git a/sc/source/ui/Accessibility/AccessibleDocumentBase.cxx b/sc/source/ui/Accessibility/AccessibleDocumentBase.cxx index 3b32481933a1..599c2b65e1d0 100644 --- a/sc/source/ui/Accessibility/AccessibleDocumentBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocumentBase.cxx @@ -32,7 +32,7 @@ ScAccessibleDocumentBase::ScAccessibleDocumentBase( { } -ScAccessibleDocumentBase::~ScAccessibleDocumentBase(void) +ScAccessibleDocumentBase::~ScAccessibleDocumentBase() { } diff --git a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx index c366349add68..08db9aa7fc63 100644 --- a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx @@ -491,7 +491,7 @@ public: ///===== IAccessibleViewForwarder ======================================== - virtual bool IsValid (void) const SAL_OVERRIDE; + virtual bool IsValid() const SAL_OVERRIDE; virtual Rectangle GetVisibleArea() const SAL_OVERRIDE; virtual Point LogicToPixel (const Point& rPoint) const SAL_OVERRIDE; virtual Size LogicToPixel (const Size& rSize) const SAL_OVERRIDE; @@ -526,7 +526,7 @@ ScIAccessibleViewForwarder::~ScIAccessibleViewForwarder() ///===== IAccessibleViewForwarder ======================================== -bool ScIAccessibleViewForwarder::IsValid (void) const +bool ScIAccessibleViewForwarder::IsValid() const { SolarMutexGuard aGuard; return mbValid; @@ -1241,7 +1241,7 @@ ScAccessibleDocumentPagePreview::ScAccessibleDocumentPagePreview( } -ScAccessibleDocumentPagePreview::~ScAccessibleDocumentPagePreview(void) +ScAccessibleDocumentPagePreview::~ScAccessibleDocumentPagePreview() { if (!ScAccessibleDocumentBase::IsDefunc() && !rBHelper.bInDispose) { @@ -1545,7 +1545,7 @@ uno::Reference<XAccessible> SAL_CALL ScAccessibleDocumentPagePreview::getAccessi } /// Return the set of current states. -uno::Reference<XAccessibleStateSet> SAL_CALL ScAccessibleDocumentPagePreview::getAccessibleStateSet(void) +uno::Reference<XAccessibleStateSet> SAL_CALL ScAccessibleDocumentPagePreview::getAccessibleStateSet() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -1573,13 +1573,13 @@ uno::Reference<XAccessibleStateSet> SAL_CALL ScAccessibleDocumentPagePreview::ge //===== XServiceInfo ==================================================== -OUString SAL_CALL ScAccessibleDocumentPagePreview::getImplementationName(void) +OUString SAL_CALL ScAccessibleDocumentPagePreview::getImplementationName() throw (uno::RuntimeException, std::exception) { return OUString("ScAccessibleDocumentPagePreview"); } -uno::Sequence< OUString> SAL_CALL ScAccessibleDocumentPagePreview::getSupportedServiceNames(void) +uno::Sequence< OUString> SAL_CALL ScAccessibleDocumentPagePreview::getSupportedServiceNames() throw (uno::RuntimeException, std::exception) { uno::Sequence< OUString > aSequence = ScAccessibleContextBase::getSupportedServiceNames(); @@ -1594,7 +1594,7 @@ uno::Sequence< OUString> SAL_CALL ScAccessibleDocumentPagePreview::getSupportedS //===== XTypeProvider ======================================================= uno::Sequence<sal_Int8> SAL_CALL - ScAccessibleDocumentPagePreview::getImplementationId(void) + ScAccessibleDocumentPagePreview::getImplementationId() throw (uno::RuntimeException, std::exception) { return css::uno::Sequence<sal_Int8>(); @@ -1602,14 +1602,14 @@ uno::Sequence<sal_Int8> SAL_CALL //===== internal ======================================================== -OUString SAL_CALL ScAccessibleDocumentPagePreview::createAccessibleDescription(void) +OUString SAL_CALL ScAccessibleDocumentPagePreview::createAccessibleDescription() throw (uno::RuntimeException) { OUString sDescription = OUString(ScResId(STR_ACC_PREVIEWDOC_DESCR)); return sDescription; } -OUString SAL_CALL ScAccessibleDocumentPagePreview::createAccessibleName(void) +OUString SAL_CALL ScAccessibleDocumentPagePreview::createAccessibleName() throw (uno::RuntimeException, std::exception) { OUString sName = OUString(ScResId(STR_ACC_PREVIEWDOC_NAME)); @@ -1673,7 +1673,7 @@ ScShapeChildren* ScAccessibleDocumentPagePreview::GetShapeChildren() return mpShapeChildren; } -OUString ScAccessibleDocumentPagePreview::getAccessibleName(void) +OUString ScAccessibleDocumentPagePreview::getAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) { SolarMutexGuard g; diff --git a/sc/source/ui/Accessibility/AccessibleEditObject.cxx b/sc/source/ui/Accessibility/AccessibleEditObject.cxx index a16028147575..e975bd527912 100644 --- a/sc/source/ui/Accessibility/AccessibleEditObject.cxx +++ b/sc/source/ui/Accessibility/AccessibleEditObject.cxx @@ -139,13 +139,13 @@ com::sun::star::uno::Any SAL_CALL return aReturn; } void SAL_CALL - ScAccessibleEditObject::acquire (void) + ScAccessibleEditObject::acquire() throw () { ScAccessibleContextBase::acquire (); } void SAL_CALL - ScAccessibleEditObject::release (void) + ScAccessibleEditObject::release() throw () { ScAccessibleContextBase::release (); @@ -171,7 +171,7 @@ uno::Reference< XAccessible > SAL_CALL ScAccessibleEditObject::getAccessibleAtPo return xRet; } -Rectangle ScAccessibleEditObject::GetBoundingBoxOnScreen(void) const +Rectangle ScAccessibleEditObject::GetBoundingBoxOnScreen() const throw (uno::RuntimeException, std::exception) { Rectangle aScreenBounds; @@ -200,7 +200,7 @@ Rectangle ScAccessibleEditObject::GetBoundingBoxOnScreen(void) const return aScreenBounds; } -Rectangle ScAccessibleEditObject::GetBoundingBox(void) const +Rectangle ScAccessibleEditObject::GetBoundingBox() const throw (uno::RuntimeException, std::exception) { Rectangle aBounds( GetBoundingBoxOnScreen() ); @@ -235,7 +235,7 @@ Rectangle ScAccessibleEditObject::GetBoundingBox(void) const //===== XAccessibleContext ============================================== sal_Int32 SAL_CALL - ScAccessibleEditObject::getAccessibleChildCount(void) + ScAccessibleEditObject::getAccessibleChildCount() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -258,7 +258,7 @@ uno::Reference< XAccessible > SAL_CALL } uno::Reference<XAccessibleStateSet> SAL_CALL - ScAccessibleEditObject::getAccessibleStateSet(void) + ScAccessibleEditObject::getAccessibleStateSet() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -286,7 +286,7 @@ uno::Reference<XAccessibleStateSet> SAL_CALL } OUString SAL_CALL - ScAccessibleEditObject::createAccessibleDescription(void) + ScAccessibleEditObject::createAccessibleDescription() throw (uno::RuntimeException) { // OSL_FAIL("Should never be called, because is set in the constructor.") @@ -294,7 +294,7 @@ OUString SAL_CALL } OUString SAL_CALL - ScAccessibleEditObject::createAccessibleName(void) + ScAccessibleEditObject::createAccessibleName() throw (uno::RuntimeException, std::exception) { OSL_FAIL("Should never be called, because is set in the constructor."); @@ -329,7 +329,7 @@ void SAL_CALL //===== XServiceInfo ==================================================== -OUString SAL_CALL ScAccessibleEditObject::getImplementationName(void) +OUString SAL_CALL ScAccessibleEditObject::getImplementationName() throw (uno::RuntimeException, std::exception) { return OUString("ScAccessibleEditObject"); @@ -338,7 +338,7 @@ OUString SAL_CALL ScAccessibleEditObject::getImplementationName(void) //===== XTypeProvider ======================================================= uno::Sequence<sal_Int8> SAL_CALL - ScAccessibleEditObject::getImplementationId(void) + ScAccessibleEditObject::getImplementationId() throw (uno::RuntimeException, std::exception) { return css::uno::Sequence<sal_Int8>(); diff --git a/sc/source/ui/Accessibility/AccessiblePageHeader.cxx b/sc/source/ui/Accessibility/AccessiblePageHeader.cxx index 5749093d83e3..936a8fce7561 100644 --- a/sc/source/ui/Accessibility/AccessiblePageHeader.cxx +++ b/sc/source/ui/Accessibility/AccessiblePageHeader.cxx @@ -331,14 +331,14 @@ uno::Sequence<OUString> SAL_CALL ScAccessiblePageHeader::getSupportedServiceName //==== internal ========================================================= -OUString SAL_CALL ScAccessiblePageHeader::createAccessibleDescription(void) +OUString SAL_CALL ScAccessiblePageHeader::createAccessibleDescription() throw (uno::RuntimeException) { OUString sDesc(SC_RESSTR(mbHeader ? STR_ACC_HEADER_DESCR : STR_ACC_FOOTER_DESCR)); return sDesc.replaceFirst("%1", SC_RESSTR(SCSTR_UNKNOWN)); } -OUString SAL_CALL ScAccessiblePageHeader::createAccessibleName(void) +OUString SAL_CALL ScAccessiblePageHeader::createAccessibleName() throw (uno::RuntimeException, std::exception) { OUString sName(SC_RESSTR(mbHeader ? STR_ACC_HEADER_NAME : STR_ACC_FOOTER_NAME)); diff --git a/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx b/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx index 88403d803f26..a4370fe3a56c 100644 --- a/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx +++ b/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx @@ -65,7 +65,7 @@ ScAccessiblePageHeaderArea::ScAccessiblePageHeaderArea( mpViewShell->AddAccessibilityObject(*this); } -ScAccessiblePageHeaderArea::~ScAccessiblePageHeaderArea(void) +ScAccessiblePageHeaderArea::~ScAccessiblePageHeaderArea() { if (!ScAccessibleContextBase::IsDefunc() && !rBHelper.bInDispose) { @@ -136,7 +136,7 @@ uno::Reference< XAccessible > SAL_CALL ScAccessiblePageHeaderArea::getAccessible //===== XAccessibleContext ============================================== sal_Int32 SAL_CALL - ScAccessiblePageHeaderArea::getAccessibleChildCount(void) + ScAccessiblePageHeaderArea::getAccessibleChildCount() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -159,7 +159,7 @@ uno::Reference< XAccessible > SAL_CALL } uno::Reference<XAccessibleStateSet> SAL_CALL - ScAccessiblePageHeaderArea::getAccessibleStateSet(void) + ScAccessiblePageHeaderArea::getAccessibleStateSet() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -187,14 +187,14 @@ uno::Reference<XAccessibleStateSet> SAL_CALL //===== XServiceInfo ======================================================== OUString SAL_CALL - ScAccessiblePageHeaderArea::getImplementationName(void) + ScAccessiblePageHeaderArea::getImplementationName() throw (uno::RuntimeException, std::exception) { return OUString("ScAccessiblePageHeaderArea"); } uno::Sequence< OUString> SAL_CALL - ScAccessiblePageHeaderArea::getSupportedServiceNames(void) + ScAccessiblePageHeaderArea::getSupportedServiceNames() throw (uno::RuntimeException, std::exception) { uno::Sequence< OUString > aSequence = ScAccessibleContextBase::getSupportedServiceNames(); @@ -209,14 +209,14 @@ uno::Sequence< OUString> SAL_CALL //===== XTypeProvider ======================================================= uno::Sequence<sal_Int8> SAL_CALL - ScAccessiblePageHeaderArea::getImplementationId(void) + ScAccessiblePageHeaderArea::getImplementationId() throw (uno::RuntimeException, std::exception) { return css::uno::Sequence<sal_Int8>(); } //===== internal ============================================================== -OUString SAL_CALL ScAccessiblePageHeaderArea::createAccessibleDescription(void) +OUString SAL_CALL ScAccessiblePageHeaderArea::createAccessibleDescription() throw(uno::RuntimeException) { OUString sDesc; @@ -238,7 +238,7 @@ OUString SAL_CALL ScAccessiblePageHeaderArea::createAccessibleDescription(void) return sDesc; } -OUString SAL_CALL ScAccessiblePageHeaderArea::createAccessibleName(void) +OUString SAL_CALL ScAccessiblePageHeaderArea::createAccessibleName() throw (uno::RuntimeException, std::exception) { OUString sName; @@ -260,7 +260,7 @@ OUString SAL_CALL ScAccessiblePageHeaderArea::createAccessibleName(void) return sName; } -Rectangle ScAccessiblePageHeaderArea::GetBoundingBoxOnScreen(void) const +Rectangle ScAccessiblePageHeaderArea::GetBoundingBoxOnScreen() const throw(::com::sun::star::uno::RuntimeException, std::exception) { Rectangle aRect; @@ -277,7 +277,7 @@ Rectangle ScAccessiblePageHeaderArea::GetBoundingBoxOnScreen(void) const return aRect; } -Rectangle ScAccessiblePageHeaderArea::GetBoundingBox(void) const +Rectangle ScAccessiblePageHeaderArea::GetBoundingBox() const throw (::com::sun::star::uno::RuntimeException, std::exception) { Rectangle aRect; diff --git a/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx b/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx index df7fb5749e5e..810befd1f879 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx @@ -202,7 +202,7 @@ uno::Sequence<OUString> SAL_CALL ScAccessiblePreviewCell::getSupportedServiceNam //===== XTypeProvider ======================================================= uno::Sequence<sal_Int8> SAL_CALL - ScAccessiblePreviewCell::getImplementationId(void) + ScAccessiblePreviewCell::getImplementationId() throw (uno::RuntimeException, std::exception) { return css::uno::Sequence<sal_Int8>(); diff --git a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx index cea59f9facf5..90e5e91bbd31 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx @@ -322,7 +322,7 @@ uno::Sequence< uno::Type > SAL_CALL ScAccessiblePreviewHeaderCell::getTypes() } uno::Sequence<sal_Int8> SAL_CALL - ScAccessiblePreviewHeaderCell::getImplementationId(void) + ScAccessiblePreviewHeaderCell::getImplementationId() throw (uno::RuntimeException, std::exception) { return css::uno::Sequence<sal_Int8>(); diff --git a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx index db7790cf3bb6..fcac4494089c 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx @@ -603,7 +603,7 @@ uno::Sequence<sal_Int8> SAL_CALL ScAccessiblePreviewTable::getImplementationId() //==== internal ========================================================= -OUString SAL_CALL ScAccessiblePreviewTable::createAccessibleDescription(void) +OUString SAL_CALL ScAccessiblePreviewTable::createAccessibleDescription() throw (uno::RuntimeException) { OUString sDesc(ScResId(STR_ACC_TABLE_DESCR)); diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx index f1c5b4402317..e46e6df7444e 100644 --- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx +++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx @@ -1039,7 +1039,7 @@ sal_Int32 SAL_CALL ScAccessibleSpreadsheet::getBackground( ) //===== XAccessibleContext ============================================== -uno::Reference<XAccessibleRelationSet> SAL_CALL ScAccessibleSpreadsheet::getAccessibleRelationSet(void) +uno::Reference<XAccessibleRelationSet> SAL_CALL ScAccessibleSpreadsheet::getAccessibleRelationSet() throw (::com::sun::star::uno::RuntimeException, std::exception) { utl::AccessibleRelationSetHelper* pRelationSet = NULL; @@ -1051,7 +1051,7 @@ uno::Reference<XAccessibleRelationSet> SAL_CALL ScAccessibleSpreadsheet::getAcce } uno::Reference<XAccessibleStateSet> SAL_CALL - ScAccessibleSpreadsheet::getAccessibleStateSet(void) + ScAccessibleSpreadsheet::getAccessibleStateSet() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -1308,14 +1308,14 @@ void ScAccessibleSpreadsheet::AddMarkedRange(const ScRange& rRange) //===== XServiceInfo ==================================================== -OUString SAL_CALL ScAccessibleSpreadsheet::getImplementationName(void) +OUString SAL_CALL ScAccessibleSpreadsheet::getImplementationName() throw (uno::RuntimeException, std::exception) { return OUString("ScAccessibleSpreadsheet"); } uno::Sequence< OUString> SAL_CALL - ScAccessibleSpreadsheet::getSupportedServiceNames (void) + ScAccessibleSpreadsheet::getSupportedServiceNames() throw (uno::RuntimeException, std::exception) { uno::Sequence< OUString > aSequence = ScAccessibleTableBase::getSupportedServiceNames(); @@ -1330,7 +1330,7 @@ uno::Sequence< OUString> SAL_CALL //===== XTypeProvider ======================================================= uno::Sequence<sal_Int8> SAL_CALL - ScAccessibleSpreadsheet::getImplementationId(void) + ScAccessibleSpreadsheet::getImplementationId() throw (uno::RuntimeException, std::exception) { return css::uno::Sequence<sal_Int8>(); diff --git a/sc/source/ui/Accessibility/AccessibleTableBase.cxx b/sc/source/ui/Accessibility/AccessibleTableBase.cxx index be6ab391cb72..5b483c3b9c90 100644 --- a/sc/source/ui/Accessibility/AccessibleTableBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleTableBase.cxx @@ -364,7 +364,7 @@ uno::Reference< XAccessible > SAL_CALL } OUString SAL_CALL - ScAccessibleTableBase::createAccessibleDescription(void) + ScAccessibleTableBase::createAccessibleDescription() throw (uno::RuntimeException) { OUString sDesc(ScResId(STR_ACC_TABLE_DESCR)); @@ -382,7 +382,7 @@ OUString SAL_CALL ScAccessibleTableBase::createAccessibleName() } uno::Reference<XAccessibleRelationSet> SAL_CALL - ScAccessibleTableBase::getAccessibleRelationSet(void) + ScAccessibleTableBase::getAccessibleRelationSet() throw (uno::RuntimeException, std::exception) { OSL_FAIL("should be implemented in the abrevated class"); @@ -390,7 +390,7 @@ uno::Reference<XAccessibleRelationSet> SAL_CALL } uno::Reference<XAccessibleStateSet> SAL_CALL - ScAccessibleTableBase::getAccessibleStateSet(void) + ScAccessibleTableBase::getAccessibleStateSet() throw (uno::RuntimeException, std::exception) { OSL_FAIL("should be implemented in the abrevated class"); @@ -449,7 +449,7 @@ void SAL_CALL ScAccessibleTableBase::deselectAccessibleChild( sal_Int32 /* nSele //===== XServiceInfo ==================================================== -OUString SAL_CALL ScAccessibleTableBase::getImplementationName(void) +OUString SAL_CALL ScAccessibleTableBase::getImplementationName() throw (uno::RuntimeException, std::exception) { return OUString("ScAccessibleTableBase"); @@ -464,7 +464,7 @@ uno::Sequence< uno::Type > SAL_CALL ScAccessibleTableBase::getTypes() } uno::Sequence<sal_Int8> SAL_CALL - ScAccessibleTableBase::getImplementationId(void) + ScAccessibleTableBase::getImplementationId() throw (uno::RuntimeException, std::exception) { return css::uno::Sequence<sal_Int8>(); diff --git a/sc/source/ui/drawfunc/drawsh2.cxx b/sc/source/ui/drawfunc/drawsh2.cxx index edada20f2da6..d880f372433c 100644 --- a/sc/source/ui/drawfunc/drawsh2.cxx +++ b/sc/source/ui/drawfunc/drawsh2.cxx @@ -400,7 +400,7 @@ void ScDrawShell::Activate (const bool bMDI) GetSidebarContextName())); } -::rtl::OUString ScDrawShell::GetSidebarContextName (void) +::rtl::OUString ScDrawShell::GetSidebarContextName() { return sfx2::sidebar::EnumContext::GetContextName( ::svx::sidebar::SelectionAnalyzer::GetContextForSelection_SC( diff --git a/sc/source/ui/inc/AccessibleCell.hxx b/sc/source/ui/inc/AccessibleCell.hxx index 5dbce7033f37..75bd457b4ad0 100644 --- a/sc/source/ui/inc/AccessibleCell.hxx +++ b/sc/source/ui/inc/AccessibleCell.hxx @@ -96,7 +96,7 @@ public: protected: /// Return the object's current bounding box relative to the desktop. - virtual Rectangle GetBoundingBoxOnScreen(void) const + virtual Rectangle GetBoundingBoxOnScreen() const throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return the object's current bounding box relative to the parent object. @@ -109,7 +109,7 @@ public: /// Return the number of currently visible children. /// override to calculate this on demand virtual sal_Int32 SAL_CALL - getAccessibleChildCount(void) + getAccessibleChildCount() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return the specified child or NULL if index is invalid. @@ -122,7 +122,7 @@ public: /// Return the set of current states. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet> SAL_CALL - getAccessibleStateSet(void) + getAccessibleStateSet() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< @@ -135,13 +135,13 @@ public: /** Returns an identifier for the implementation of this object. */ virtual OUString SAL_CALL - getImplementationName(void) + getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Returns a list of all supported services. */ virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL - getSupportedServiceNames(void) + getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Any SAL_CALL getExtendedAttributes() diff --git a/sc/source/ui/inc/AccessibleCellBase.hxx b/sc/source/ui/inc/AccessibleCellBase.hxx index 779d166525d2..3094541c0af4 100644 --- a/sc/source/ui/inc/AccessibleCellBase.hxx +++ b/sc/source/ui/inc/AccessibleCellBase.hxx @@ -70,18 +70,18 @@ public: /// Return this objects index among the parents children. virtual sal_Int32 SAL_CALL - getAccessibleIndexInParent(void) + getAccessibleIndexInParent() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: /// Return this object's description. virtual OUString SAL_CALL - createAccessibleDescription(void) + createAccessibleDescription() throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; /// Return the object's current name. virtual OUString SAL_CALL - createAccessibleName(void) + createAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; public: @@ -109,7 +109,7 @@ public: /** Returns an identifier for the implementation of this object. */ virtual OUString SAL_CALL - getImplementationName(void) + getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; ///===== XTypeProvider =================================================== @@ -122,7 +122,7 @@ public: /** Returns a implementation id. */ virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL - getImplementationId(void) + getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: @@ -137,14 +137,14 @@ private: const com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet>& rxParentStates); protected: - OUString SAL_CALL GetNote(void) + OUString SAL_CALL GetNote() throw (::com::sun::star::uno::RuntimeException); - OUString SAL_CALL GetAllDisplayNote(void) + OUString SAL_CALL GetAllDisplayNote() throw (::com::sun::star::uno::RuntimeException); - OUString SAL_CALL getShadowAttrs(void) + OUString SAL_CALL getShadowAttrs() throw (::com::sun::star::uno::RuntimeException); - OUString SAL_CALL getBorderAttrs(void) + OUString SAL_CALL getBorderAttrs() throw (::com::sun::star::uno::RuntimeException); public: const ScAddress& GetCellAddress() const { return maCellAddress; } diff --git a/sc/source/ui/inc/AccessibleContextBase.hxx b/sc/source/ui/inc/AccessibleContextBase.hxx index 0eecb33385b7..61f1cbcca487 100644 --- a/sc/source/ui/inc/AccessibleContextBase.hxx +++ b/sc/source/ui/inc/AccessibleContextBase.hxx @@ -76,7 +76,7 @@ public: virtual void Init(); virtual void SAL_CALL disposing() SAL_OVERRIDE; protected: - virtual ~ScAccessibleContextBase(void); + virtual ~ScAccessibleContextBase(); public: bool SAL_CALL isShowing( ) @@ -103,7 +103,7 @@ public: /// Return the XAccessibleContext. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext> SAL_CALL - getAccessibleContext(void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + getAccessibleContext() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; ///===== XAccessibleComponent ============================================ @@ -152,27 +152,27 @@ public: /// Return a reference to the parent. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL - getAccessibleParent(void) + getAccessibleParent() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return this objects index among the parents children. virtual sal_Int32 SAL_CALL - getAccessibleIndexInParent(void) + getAccessibleIndexInParent() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return this object's role. virtual sal_Int16 SAL_CALL - getAccessibleRole(void) + getAccessibleRole() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return this object's description. virtual OUString SAL_CALL - getAccessibleDescription(void) + getAccessibleDescription() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return the object's current name. virtual OUString SAL_CALL - getAccessibleName(void) + getAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return NULL to indicate that an empty relation set. @@ -184,14 +184,14 @@ public: /// Return the set of current states. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet> SAL_CALL - getAccessibleStateSet(void) + getAccessibleStateSet() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Return the parents locale or throw exception if this object has no parent yet/anymore. */ virtual ::com::sun::star::lang::Locale SAL_CALL - getLocale(void) + getLocale() throw (::com::sun::star::uno::RuntimeException, ::com::sun::star::accessibility::IllegalAccessibleComponentStateException, std::exception) SAL_OVERRIDE; @@ -229,7 +229,7 @@ public: /** Returns an identifier for the implementation of this object. */ virtual OUString SAL_CALL - getImplementationName(void) + getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Return whether the specified service is supported by this class. @@ -242,7 +242,7 @@ public: the AccessibleContext and Accessible service. */ virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL - getSupportedServiceNames(void) + getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; ///===== XTypeProvider =================================================== @@ -255,18 +255,18 @@ public: /** Returns a implementation id. */ virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL - getImplementationId(void) + getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: /// Return this object's description. virtual OUString SAL_CALL - createAccessibleDescription(void) + createAccessibleDescription() throw (::com::sun::star::uno::RuntimeException); /// Return the object's current name. virtual OUString SAL_CALL - createAccessibleName(void) + createAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception); diff --git a/sc/source/ui/inc/AccessibleDocument.hxx b/sc/source/ui/inc/AccessibleDocument.hxx index a450fa38e836..0d47e004205c 100644 --- a/sc/source/ui/inc/AccessibleDocument.hxx +++ b/sc/source/ui/inc/AccessibleDocument.hxx @@ -67,7 +67,7 @@ public: DECL_LINK( WindowChildEventListener, VclSimpleEvent* ); protected: - virtual ~ScAccessibleDocument(void); + virtual ~ScAccessibleDocument(); using ScAccessibleDocumentBase::IsDefunc; @@ -103,7 +103,7 @@ public: /// Return the number of currently visible children. virtual sal_Int32 SAL_CALL - getAccessibleChildCount(void) + getAccessibleChildCount() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return the specified child or NULL if index is invalid. @@ -115,11 +115,11 @@ public: /// Return the set of current states. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet> SAL_CALL - getAccessibleStateSet(void) + getAccessibleStateSet() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL - getAccessibleName(void) + getAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Any SAL_CALL getExtendedAttributes() @@ -172,13 +172,13 @@ public: /** Returns an identifier for the implementation of this object. */ virtual OUString SAL_CALL - getImplementationName(void) + getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Returns a list of all supported services. */ virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL - getSupportedServiceNames(void) + getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; ///===== XTypeProvider =================================================== @@ -191,7 +191,7 @@ public: /** Returns a implementation id. */ virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL - getImplementationId(void) + getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; ///===== IAccessibleViewForwarder ======================================== @@ -202,7 +202,7 @@ public: @return Return <true/> if the view forwarder is valid and <false/> else. */ - virtual bool IsValid (void) const SAL_OVERRIDE; + virtual bool IsValid() const SAL_OVERRIDE; /** Returns the area of the underlying document that is visible in the * corresponding window. @@ -270,20 +270,20 @@ public: protected: /// Return this object's description. virtual OUString SAL_CALL - createAccessibleDescription(void) + createAccessibleDescription() throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; /// Return the object's current name. virtual OUString SAL_CALL - createAccessibleName(void) + createAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return the object's current bounding box relative to the desktop. - virtual Rectangle GetBoundingBoxOnScreen(void) const + virtual Rectangle GetBoundingBoxOnScreen() const throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return the object's current bounding box relative to the parent object. - virtual Rectangle GetBoundingBox(void) const + virtual Rectangle GetBoundingBox() const throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: diff --git a/sc/source/ui/inc/AccessibleDocumentBase.hxx b/sc/source/ui/inc/AccessibleDocumentBase.hxx index 7ab210daf913..de147514f252 100644 --- a/sc/source/ui/inc/AccessibleDocumentBase.hxx +++ b/sc/source/ui/inc/AccessibleDocumentBase.hxx @@ -32,7 +32,7 @@ public: ::com::sun::star::accessibility::XAccessible>& rxParent); virtual void SwitchViewFireFocus(); protected: - virtual ~ScAccessibleDocumentBase (void); + virtual ~ScAccessibleDocumentBase(); }; #endif diff --git a/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx b/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx index 6aa038504325..0a05bb781089 100644 --- a/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx +++ b/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx @@ -38,7 +38,7 @@ public: ::com::sun::star::accessibility::XAccessible>& rxParent, ScPreviewShell* pViewShell ); protected: - virtual ~ScAccessibleDocumentPagePreview(void); + virtual ~ScAccessibleDocumentPagePreview(); using ScAccessibleDocumentBase::IsDefunc; @@ -77,23 +77,23 @@ public: /// Return the set of current states. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet> SAL_CALL - getAccessibleStateSet(void) + getAccessibleStateSet() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual OUString SAL_CALL getAccessibleName(void) + virtual OUString SAL_CALL getAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; ///===== XServiceInfo ==================================================== /** Returns an identifier for the implementation of this object. */ virtual OUString SAL_CALL - getImplementationName(void) + getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Returns a list of all supported services. */ virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL - getSupportedServiceNames(void) + getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; ///===== XTypeProvider =================================================== @@ -101,7 +101,7 @@ public: /** Returns a implementation id. */ virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL - getImplementationId(void) + getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; ///===== internal ======================================================== @@ -109,22 +109,22 @@ public: protected: /// Return this object's description. virtual OUString SAL_CALL - createAccessibleDescription(void) + createAccessibleDescription() throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; /// Return the object's current name. virtual OUString SAL_CALL - createAccessibleName(void) + createAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; public: // needed in ScShapeChildren /// Return the object's current bounding box relative to the desktop. - virtual Rectangle GetBoundingBoxOnScreen(void) const + virtual Rectangle GetBoundingBoxOnScreen() const throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: /// Return the object's current bounding box relative to the parent object. - virtual Rectangle GetBoundingBox(void) const + virtual Rectangle GetBoundingBox() const throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: diff --git a/sc/source/ui/inc/AccessibleEditObject.hxx b/sc/source/ui/inc/AccessibleEditObject.hxx index b9c2fdf85a4d..919a896a561f 100644 --- a/sc/source/ui/inc/AccessibleEditObject.hxx +++ b/sc/source/ui/inc/AccessibleEditObject.hxx @@ -85,11 +85,11 @@ public: protected: /// Return the object's current bounding box relative to the desktop. - virtual Rectangle GetBoundingBoxOnScreen(void) const + virtual Rectangle GetBoundingBoxOnScreen() const throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return the object's current bounding box relative to the parent object. - virtual Rectangle GetBoundingBox(void) const + virtual Rectangle GetBoundingBox() const throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; public: @@ -98,7 +98,7 @@ public: /// Return the number of currently visible children. /// override to calculate this on demand virtual sal_Int32 SAL_CALL - getAccessibleChildCount(void) + getAccessibleChildCount() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return the specified child or NULL if index is invalid. @@ -111,7 +111,7 @@ public: /// Return the set of current states. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet> SAL_CALL - getAccessibleStateSet(void) + getAccessibleStateSet() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; //===== XAccessibleSelection ============================================ @@ -142,12 +142,12 @@ public: protected: /// Return this object's description. virtual OUString SAL_CALL - createAccessibleDescription(void) + createAccessibleDescription() throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; /// Return the object's current name. virtual OUString SAL_CALL - createAccessibleName(void) + createAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; public: @@ -174,7 +174,7 @@ public: /** Returns an identifier for the implementation of this object. */ virtual OUString SAL_CALL - getImplementationName(void) + getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; ///===== XTypeProvider =================================================== @@ -182,7 +182,7 @@ public: /** Returns a implementation id. */ virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL - getImplementationId(void) + getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: diff --git a/sc/source/ui/inc/AccessiblePageHeader.hxx b/sc/source/ui/inc/AccessiblePageHeader.hxx index 2e1739db3757..5e00d62fc8c1 100644 --- a/sc/source/ui/inc/AccessiblePageHeader.hxx +++ b/sc/source/ui/inc/AccessiblePageHeader.hxx @@ -77,11 +77,11 @@ public: void SetCurrentIndexInParent(sal_Int32 nNew) { mnIndex = nNew; } protected: - virtual OUString SAL_CALL createAccessibleDescription(void) throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; - virtual OUString SAL_CALL createAccessibleName(void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual OUString SAL_CALL createAccessibleDescription() throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + virtual OUString SAL_CALL createAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual Rectangle GetBoundingBoxOnScreen(void) const throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual Rectangle GetBoundingBox(void) const throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual Rectangle GetBoundingBoxOnScreen() const throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual Rectangle GetBoundingBox() const throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: ScPreviewShell* mpViewShell; diff --git a/sc/source/ui/inc/AccessiblePageHeaderArea.hxx b/sc/source/ui/inc/AccessiblePageHeaderArea.hxx index 2a9bbd1b3c23..123e9b8bd643 100644 --- a/sc/source/ui/inc/AccessiblePageHeaderArea.hxx +++ b/sc/source/ui/inc/AccessiblePageHeaderArea.hxx @@ -43,7 +43,7 @@ public: bool bHeader, SvxAdjust eAdjust); protected: - virtual ~ScAccessiblePageHeaderArea (void); + virtual ~ScAccessiblePageHeaderArea(); public: const EditTextObject* GetEditTextObject() const { return mpEditObj; } @@ -66,7 +66,7 @@ public: /// Return the number of currently visible children. /// override to calculate this on demand virtual sal_Int32 SAL_CALL - getAccessibleChildCount(void) + getAccessibleChildCount() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return the specified child or NULL if index is invalid. @@ -79,7 +79,7 @@ public: /// Return the set of current states. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet> SAL_CALL - getAccessibleStateSet(void) + getAccessibleStateSet() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; ///===== XServiceInfo ==================================================== @@ -87,14 +87,14 @@ public: /** Returns an identifier for the implementation of this object. */ virtual OUString SAL_CALL - getImplementationName(void) + getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Returns a list of all supported services. In this case that is just the AccessibleContext and Accessible service. */ virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL - getSupportedServiceNames(void) + getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; ///===== XTypeProvider =================================================== @@ -102,15 +102,15 @@ public: /** Returns a implementation id. */ virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL - getImplementationId(void) + getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: - virtual OUString SAL_CALL createAccessibleDescription(void) throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; - virtual OUString SAL_CALL createAccessibleName(void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual OUString SAL_CALL createAccessibleDescription() throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + virtual OUString SAL_CALL createAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual Rectangle GetBoundingBoxOnScreen(void) const throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual Rectangle GetBoundingBox(void) const throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual Rectangle GetBoundingBoxOnScreen() const throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual Rectangle GetBoundingBox() const throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: EditTextObject* mpEditObj; diff --git a/sc/source/ui/inc/AccessiblePreviewCell.hxx b/sc/source/ui/inc/AccessiblePreviewCell.hxx index 68dd70e5f40e..8615b6386e76 100644 --- a/sc/source/ui/inc/AccessiblePreviewCell.hxx +++ b/sc/source/ui/inc/AccessiblePreviewCell.hxx @@ -82,7 +82,7 @@ public: /** Returns a implementation id. */ virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL - getImplementationId(void) + getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: diff --git a/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx b/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx index c399e4ebb098..4b8d2c9c980e 100644 --- a/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx +++ b/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx @@ -112,12 +112,12 @@ public: /** Returns a implementation id. */ virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL - getImplementationId(void) + getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: - virtual OUString SAL_CALL createAccessibleDescription(void) throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; - virtual OUString SAL_CALL createAccessibleName(void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual OUString SAL_CALL createAccessibleDescription() throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + virtual OUString SAL_CALL createAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual Rectangle GetBoundingBoxOnScreen() const throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual Rectangle GetBoundingBox() const throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sc/source/ui/inc/AccessiblePreviewTable.hxx b/sc/source/ui/inc/AccessiblePreviewTable.hxx index ba281afb8867..29b524b8e0d7 100644 --- a/sc/source/ui/inc/AccessiblePreviewTable.hxx +++ b/sc/source/ui/inc/AccessiblePreviewTable.hxx @@ -175,7 +175,7 @@ protected: throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual Rectangle GetBoundingBoxOnScreen(void) const throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual Rectangle GetBoundingBoxOnScreen() const throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual Rectangle GetBoundingBox() const throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: diff --git a/sc/source/ui/inc/AccessibleSpreadsheet.hxx b/sc/source/ui/inc/AccessibleSpreadsheet.hxx index 9ec6ecb60195..b74360f5c743 100644 --- a/sc/source/ui/inc/AccessibleSpreadsheet.hxx +++ b/sc/source/ui/inc/AccessibleSpreadsheet.hxx @@ -168,13 +168,13 @@ private: /// Return NULL to indicate that an empty relation set. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet> SAL_CALL - getAccessibleRelationSet(void) + getAccessibleRelationSet() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return the set of current states. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet> SAL_CALL - getAccessibleStateSet(void) + getAccessibleStateSet() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; ///===== XAccessibleSelection =========================================== @@ -214,13 +214,13 @@ private: /** Returns an identifier for the implementation of this object. */ virtual OUString SAL_CALL - getImplementationName(void) + getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Returns a list of all supported services. */ virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL - getSupportedServiceNames(void) + getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; ///===== XTypeProvider =================================================== @@ -228,7 +228,7 @@ private: /** Returns a implementation id. */ virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL - getImplementationId(void) + getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; ///===== XAccessibleEventBroadcaster ===================================== @@ -257,11 +257,11 @@ private: protected: /// Return the object's current bounding box relative to the desktop. - virtual Rectangle GetBoundingBoxOnScreen(void) const + virtual Rectangle GetBoundingBoxOnScreen() const throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return the object's current bounding box relative to the parent object. - virtual Rectangle GetBoundingBox(void) const + virtual Rectangle GetBoundingBox() const throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: ScTabViewShell* mpViewShell; diff --git a/sc/source/ui/inc/AccessibleTableBase.hxx b/sc/source/ui/inc/AccessibleTableBase.hxx index ff3659e083df..7e923c1ec92a 100644 --- a/sc/source/ui/inc/AccessibleTableBase.hxx +++ b/sc/source/ui/inc/AccessibleTableBase.hxx @@ -198,7 +198,7 @@ public: /// Return the number of currently visible children. /// override to calculate this on demand virtual sal_Int32 SAL_CALL - getAccessibleChildCount(void) + getAccessibleChildCount() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -225,7 +225,7 @@ public: protected: /// Return this object's description. virtual OUString SAL_CALL - createAccessibleDescription(void) + createAccessibleDescription() throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; /// Return the object's current name. @@ -238,14 +238,14 @@ public: /// Return NULL to indicate that an empty relation set. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet> SAL_CALL - getAccessibleRelationSet(void) + getAccessibleRelationSet() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; /// Return the set of current states. // perhaps sometimes to be implemented virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet> SAL_CALL - getAccessibleStateSet(void) + getAccessibleStateSet() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; ///===== XAccessibleSelection =========================================== @@ -291,7 +291,7 @@ public: /** Returns an identifier for the implementation of this object. */ virtual OUString SAL_CALL - getImplementationName(void) + getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; ///===== XTypeProvider =================================================== @@ -304,7 +304,7 @@ public: /** Returns a implementation id. */ virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL - getImplementationId(void) + getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: diff --git a/sc/source/ui/inc/drawsh.hxx b/sc/source/ui/inc/drawsh.hxx index 50b90bcf4b6d..3f12fe64bb86 100644 --- a/sc/source/ui/inc/drawsh.hxx +++ b/sc/source/ui/inc/drawsh.hxx @@ -88,7 +88,7 @@ public: bool AreAllObjectsOnLayer(sal_uInt16 nLayerNo,const SdrMarkList& rMark); void GetDrawAttrStateForIFBX( SfxItemSet& rSet ); - ::rtl::OUString GetSidebarContextName (void); + ::rtl::OUString GetSidebarContextName(); }; #endif diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx index af0bfe8fbe90..38c0154d3785 100644 --- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx +++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx @@ -56,7 +56,7 @@ svx::sidebar::PopupControl* CellAppearancePropertyPanel::CreateCellLineStylePopu return new CellLineStyleControl(pParent, *this); } -void CellAppearancePropertyPanel::EndCellLineStylePopupMode(void) +void CellAppearancePropertyPanel::EndCellLineStylePopupMode() { if(mpCellLineStylePopup.get()) { @@ -69,7 +69,7 @@ svx::sidebar::PopupControl* CellAppearancePropertyPanel::CreateCellBorderStylePo return new CellBorderStyleControl(pParent, *this); } -void CellAppearancePropertyPanel::EndCellBorderStylePopupMode(void) +void CellAppearancePropertyPanel::EndCellBorderStylePopupMode() { if(mpCellBorderStylePopup.get()) { diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx index f8da7a59bfb9..eb9e7dc45eb7 100644 --- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx +++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx @@ -139,11 +139,11 @@ private: // for CellLineStyle popup svx::sidebar::PopupControl* CreateCellLineStylePopupControl(svx::sidebar::PopupContainer* pParent); - void EndCellLineStylePopupMode(void); + void EndCellLineStylePopupMode(); // for CellBorderStyle popup svx::sidebar::PopupControl* CreateCellBorderStylePopupControl(svx::sidebar::PopupContainer* pParent); - void EndCellBorderStylePopupMode(void); + void EndCellBorderStylePopupMode(); // constructor/destuctor CellAppearancePropertyPanel( diff --git a/sc/source/ui/sidebar/CellBorderStyleControl.cxx b/sc/source/ui/sidebar/CellBorderStyleControl.cxx index 08f7417bea08..ad6507dcda71 100644 --- a/sc/source/ui/sidebar/CellBorderStyleControl.cxx +++ b/sc/source/ui/sidebar/CellBorderStyleControl.cxx @@ -56,7 +56,7 @@ CellBorderStyleControl::CellBorderStyleControl(vcl::Window* pParent, CellAppeara FreeResource(); } -CellBorderStyleControl::~CellBorderStyleControl(void) +CellBorderStyleControl::~CellBorderStyleControl() { delete[] mpImageList; } diff --git a/sc/source/ui/sidebar/CellBorderStyleControl.hxx b/sc/source/ui/sidebar/CellBorderStyleControl.hxx index 7cf04e2d68fd..cf0db80ae3ef 100644 --- a/sc/source/ui/sidebar/CellBorderStyleControl.hxx +++ b/sc/source/ui/sidebar/CellBorderStyleControl.hxx @@ -47,7 +47,7 @@ private: public: CellBorderStyleControl(vcl::Window* pParent, CellAppearancePropertyPanel& rPanel); - virtual ~CellBorderStyleControl(void); + virtual ~CellBorderStyleControl(); }; } } // end of namespace svx::sidebar diff --git a/sc/source/ui/sidebar/CellBorderStylePopup.cxx b/sc/source/ui/sidebar/CellBorderStylePopup.cxx index ae491f611005..1a27c25e6a55 100644 --- a/sc/source/ui/sidebar/CellBorderStylePopup.cxx +++ b/sc/source/ui/sidebar/CellBorderStylePopup.cxx @@ -29,7 +29,7 @@ CellBorderStylePopup::CellBorderStylePopup ( { } -CellBorderStylePopup::~CellBorderStylePopup (void) +CellBorderStylePopup::~CellBorderStylePopup() { } diff --git a/sc/source/ui/sidebar/CellBorderStylePopup.hxx b/sc/source/ui/sidebar/CellBorderStylePopup.hxx index de5b3727cafd..62899d555ae8 100644 --- a/sc/source/ui/sidebar/CellBorderStylePopup.hxx +++ b/sc/source/ui/sidebar/CellBorderStylePopup.hxx @@ -30,7 +30,7 @@ public : CellBorderStylePopup( vcl::Window* pParent, const ::boost::function<svx::sidebar::PopupControl*(svx::sidebar::PopupContainer*)>& rControlCreator); - virtual ~CellBorderStylePopup(void); + virtual ~CellBorderStylePopup(); }; } } // end of namespace sc::sidebar diff --git a/sc/source/ui/sidebar/CellLineStylePopup.cxx b/sc/source/ui/sidebar/CellLineStylePopup.cxx index 1409037bb5b2..a65cc219a3f5 100644 --- a/sc/source/ui/sidebar/CellLineStylePopup.cxx +++ b/sc/source/ui/sidebar/CellLineStylePopup.cxx @@ -29,7 +29,7 @@ CellLineStylePopup::CellLineStylePopup ( { } -CellLineStylePopup::~CellLineStylePopup (void) +CellLineStylePopup::~CellLineStylePopup() { } diff --git a/sc/source/ui/sidebar/CellLineStylePopup.hxx b/sc/source/ui/sidebar/CellLineStylePopup.hxx index cfca1afe76b7..757a86a8af2c 100644 --- a/sc/source/ui/sidebar/CellLineStylePopup.hxx +++ b/sc/source/ui/sidebar/CellLineStylePopup.hxx @@ -30,7 +30,7 @@ public : CellLineStylePopup( vcl::Window* pParent, const ::boost::function<svx::sidebar::PopupControl*(svx::sidebar::PopupContainer*)>& rControlCreator); - virtual ~CellLineStylePopup(void); + virtual ~CellLineStylePopup(); void SetLineStyleSelect(sal_uInt16 out, sal_uInt16 in, sal_uInt16 dis); }; diff --git a/sc/source/ui/sidebar/ScPanelFactory.cxx b/sc/source/ui/sidebar/ScPanelFactory.cxx index b0d4c8fdd4ed..cb1c23852bdc 100644 --- a/sc/source/ui/sidebar/ScPanelFactory.cxx +++ b/sc/source/ui/sidebar/ScPanelFactory.cxx @@ -67,12 +67,12 @@ css::uno::Sequence<OUString> SAL_CALL ScPanelFactory::getSupportedServiceNames_s } -ScPanelFactory::ScPanelFactory (void) +ScPanelFactory::ScPanelFactory() : PanelFactoryInterfaceBase(m_aMutex) { } -ScPanelFactory::~ScPanelFactory (void) +ScPanelFactory::~ScPanelFactory() { } diff --git a/sc/source/ui/unoobj/linkuno.cxx b/sc/source/ui/unoobj/linkuno.cxx index bec0c4d25302..13772e37070e 100644 --- a/sc/source/ui/unoobj/linkuno.cxx +++ b/sc/source/ui/unoobj/linkuno.cxx @@ -273,7 +273,7 @@ SC_IMPL_DUMMY_PROPERTY_LISTENER( ScSheetLinkObj ) // internal: -OUString ScSheetLinkObj::getFileName(void) const +OUString ScSheetLinkObj::getFileName() const { SolarMutexGuard aGuard; return aFileName; @@ -316,7 +316,7 @@ void ScSheetLinkObj::setFileName(const OUString& rNewName) } } -OUString ScSheetLinkObj::getFilter(void) const +OUString ScSheetLinkObj::getFilter() const { SolarMutexGuard aGuard; OUString aRet; @@ -337,7 +337,7 @@ void ScSheetLinkObj::setFilter(const OUString& Filter) } } -OUString ScSheetLinkObj::getFilterOptions(void) const +OUString ScSheetLinkObj::getFilterOptions() const { SolarMutexGuard aGuard; OUString aRet; @@ -358,7 +358,7 @@ void ScSheetLinkObj::setFilterOptions(const OUString& FilterOptions) } } -sal_Int32 ScSheetLinkObj::getRefreshDelay(void) const +sal_Int32 ScSheetLinkObj::getRefreshDelay() const { SolarMutexGuard aGuard; sal_Int32 nRet = 0; @@ -819,7 +819,7 @@ SC_IMPL_DUMMY_PROPERTY_LISTENER( ScAreaLinkObj ) // internal: -OUString ScAreaLinkObj::getFileName(void) const +OUString ScAreaLinkObj::getFileName() const { SolarMutexGuard aGuard; OUString aRet; @@ -835,7 +835,7 @@ void ScAreaLinkObj::setFileName(const OUString& rNewName) Modify_Impl( &rNewName, NULL, NULL, NULL, NULL ); } -OUString ScAreaLinkObj::getFilter(void) const +OUString ScAreaLinkObj::getFilter() const { SolarMutexGuard aGuard; OUString aRet; @@ -851,7 +851,7 @@ void ScAreaLinkObj::setFilter(const OUString& Filter) Modify_Impl( NULL, &Filter, NULL, NULL, NULL ); } -OUString ScAreaLinkObj::getFilterOptions(void) const +OUString ScAreaLinkObj::getFilterOptions() const { SolarMutexGuard aGuard; OUString aRet; @@ -867,7 +867,7 @@ void ScAreaLinkObj::setFilterOptions(const OUString& FilterOptions) Modify_Impl( NULL, NULL, &FilterOptions, NULL, NULL ); } -sal_Int32 ScAreaLinkObj::getRefreshDelay(void) const +sal_Int32 ScAreaLinkObj::getRefreshDelay() const { SolarMutexGuard aGuard; sal_Int32 nRet = 0; diff --git a/sc/source/ui/unoobj/miscuno.cxx b/sc/source/ui/unoobj/miscuno.cxx index a3d18ebe8bc0..9f187786be2a 100644 --- a/sc/source/ui/unoobj/miscuno.cxx +++ b/sc/source/ui/unoobj/miscuno.cxx @@ -230,7 +230,7 @@ sal_Bool SAL_CALL ScIndexEnumeration::supportsService( const OUString& ServiceNa } ::com::sun::star::uno::Sequence< OUString > - SAL_CALL ScIndexEnumeration::getSupportedServiceNames(void) + SAL_CALL ScIndexEnumeration::getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) { ::com::sun::star::uno::Sequence< OUString > aRet(1); diff --git a/sc/source/ui/unoobj/targuno.cxx b/sc/source/ui/unoobj/targuno.cxx index 6b8c897fdde7..09dce6220125 100644 --- a/sc/source/ui/unoobj/targuno.cxx +++ b/sc/source/ui/unoobj/targuno.cxx @@ -104,7 +104,7 @@ uno::Any SAL_CALL ScLinkTargetTypesObj::getByName(const OUString& aName) throw container::NoSuchElementException(); } -uno::Sequence<OUString> SAL_CALL ScLinkTargetTypesObj::getElementNames(void) throw( uno::RuntimeException, std::exception ) +uno::Sequence<OUString> SAL_CALL ScLinkTargetTypesObj::getElementNames() throw( uno::RuntimeException, std::exception ) { uno::Sequence<OUString> aRet(SC_LINKTARGETTYPE_COUNT); OUString* pArray = aRet.getArray(); @@ -124,12 +124,12 @@ sal_Bool SAL_CALL ScLinkTargetTypesObj::hasByName(const OUString& aName) throw( // container::XElementAccess -uno::Type SAL_CALL ScLinkTargetTypesObj::getElementType(void) throw( uno::RuntimeException, std::exception ) +uno::Type SAL_CALL ScLinkTargetTypesObj::getElementType() throw( uno::RuntimeException, std::exception ) { return cppu::UnoType<beans::XPropertySet>::get(); } -sal_Bool SAL_CALL ScLinkTargetTypesObj::hasElements(void) throw( uno::RuntimeException, std::exception ) +sal_Bool SAL_CALL ScLinkTargetTypesObj::hasElements() throw( uno::RuntimeException, std::exception ) { return sal_True; } @@ -159,7 +159,7 @@ void ScLinkTargetTypeObj::Notify( SfxBroadcaster&, const SfxHint& rHint ) // document::XLinkTargetSupplier -uno::Reference< container::XNameAccess > SAL_CALL ScLinkTargetTypeObj::getLinks(void) throw( uno::RuntimeException, std::exception ) +uno::Reference< container::XNameAccess > SAL_CALL ScLinkTargetTypeObj::getLinks() throw( uno::RuntimeException, std::exception ) { uno::Reference< container::XNameAccess > xCollection; @@ -190,7 +190,7 @@ uno::Reference< container::XNameAccess > SAL_CALL ScLinkTargetTypeObj::getLinks // beans::XPropertySet -uno::Reference< beans::XPropertySetInfo > SAL_CALL ScLinkTargetTypeObj::getPropertySetInfo(void) throw( uno::RuntimeException, std::exception ) +uno::Reference< beans::XPropertySetInfo > SAL_CALL ScLinkTargetTypeObj::getPropertySetInfo() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; static uno::Reference< beans::XPropertySetInfo > aRef(new SfxItemPropertySetInfo( lcl_GetLinkTargetMap() )); @@ -270,7 +270,7 @@ uno::Any SAL_CALL ScLinkTargetsObj::getByName(const OUString& aName) // return uno::Any(); } -uno::Sequence<OUString> SAL_CALL ScLinkTargetsObj::getElementNames(void) throw( uno::RuntimeException, std::exception ) +uno::Sequence<OUString> SAL_CALL ScLinkTargetsObj::getElementNames() throw( uno::RuntimeException, std::exception ) { return xCollection->getElementNames(); } @@ -282,12 +282,12 @@ sal_Bool SAL_CALL ScLinkTargetsObj::hasByName(const OUString& aName) throw( uno: // container::XElementAccess -uno::Type SAL_CALL ScLinkTargetsObj::getElementType(void) throw( uno::RuntimeException, std::exception ) +uno::Type SAL_CALL ScLinkTargetsObj::getElementType() throw( uno::RuntimeException, std::exception ) { return cppu::UnoType<beans::XPropertySet>::get(); } -sal_Bool SAL_CALL ScLinkTargetsObj::hasElements(void) throw( uno::RuntimeException, std::exception ) +sal_Bool SAL_CALL ScLinkTargetsObj::hasElements() throw( uno::RuntimeException, std::exception ) { return xCollection->hasElements(); } diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx index 494b2c58c231..1d5647143def 100644 --- a/sc/source/ui/unoobj/viewuno.cxx +++ b/sc/source/ui/unoobj/viewuno.cxx @@ -1426,7 +1426,7 @@ void SAL_CALL ScTabViewObj::removeActivationEventListener( const uno::Reference< EndActivationListening(); } -sal_Int16 ScTabViewObj::GetZoom(void) const +sal_Int16 ScTabViewObj::GetZoom() const { ScTabViewShell* pViewSh = GetViewShell(); if (pViewSh) @@ -1463,7 +1463,7 @@ void ScTabViewObj::SetZoom(sal_Int16 nZoom) } } -sal_Int16 ScTabViewObj::GetZoomType(void) const +sal_Int16 ScTabViewObj::GetZoomType() const { sal_Int16 aZoomType = view::DocumentZoomType::OPTIMAL; ScTabViewShell* pViewSh = GetViewShell(); diff --git a/sc/source/ui/vba/vbaapplication.hxx b/sc/source/ui/vba/vbaapplication.hxx index 76aa0297bf4d..c70c9eef8640 100644 --- a/sc/source/ui/vba/vbaapplication.hxx +++ b/sc/source/ui/vba/vbaapplication.hxx @@ -53,7 +53,7 @@ public: virtual OUString SAL_CALL getExactName( const OUString& aApproximateName ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XInvocation - virtual css::uno::Reference< css::beans::XIntrospectionAccess > SAL_CALL getIntrospection(void) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual css::uno::Reference< css::beans::XIntrospectionAccess > SAL_CALL getIntrospection() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Any SAL_CALL invoke(const OUString& FunctionName, const css::uno::Sequence< css::uno::Any >& Params, css::uno::Sequence< sal_Int16 >& OutParamIndex, css::uno::Sequence< css::uno::Any >& OutParam) throw(css::lang::IllegalArgumentException, css::script::CannotConvertException, css::reflection::InvocationTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setValue(const OUString& PropertyName, const css::uno::Any& Value) throw(css::beans::UnknownPropertyException, css::script::CannotConvertException, css::reflection::InvocationTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Any SAL_CALL getValue(const OUString& PropertyName) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sc/source/ui/vba/vbawsfunction.cxx b/sc/source/ui/vba/vbawsfunction.cxx index 0a70bb60bb73..3635a198809f 100644 --- a/sc/source/ui/vba/vbawsfunction.cxx +++ b/sc/source/ui/vba/vbawsfunction.cxx @@ -72,7 +72,7 @@ ScVbaWSFunction::ScVbaWSFunction( const uno::Reference< XHelperInterface >& xPar } uno::Reference< beans::XIntrospectionAccess > -ScVbaWSFunction::getIntrospection(void) throw(uno::RuntimeException, std::exception) +ScVbaWSFunction::getIntrospection() throw(uno::RuntimeException, std::exception) { return uno::Reference<beans::XIntrospectionAccess>(); } diff --git a/sc/source/ui/vba/vbawsfunction.hxx b/sc/source/ui/vba/vbawsfunction.hxx index 1f8094bcd91e..69f9e961b66f 100644 --- a/sc/source/ui/vba/vbawsfunction.hxx +++ b/sc/source/ui/vba/vbawsfunction.hxx @@ -34,7 +34,7 @@ public: ScVbaWSFunction( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext); virtual ~ScVbaWSFunction(){} - virtual css::uno::Reference< css::beans::XIntrospectionAccess > SAL_CALL getIntrospection(void) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual css::uno::Reference< css::beans::XIntrospectionAccess > SAL_CALL getIntrospection() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Any SAL_CALL invoke(const OUString& FunctionName, const css::uno::Sequence< css::uno::Any >& Params, css::uno::Sequence< sal_Int16 >& OutParamIndex, css::uno::Sequence< css::uno::Any >& OutParam) throw(css::lang::IllegalArgumentException, css::script::CannotConvertException, css::reflection::InvocationTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setValue(const OUString& PropertyName, const css::uno::Any& Value) throw(css::beans::UnknownPropertyException, css::script::CannotConvertException, css::reflection::InvocationTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Any SAL_CALL getValue(const OUString& PropertyName) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; |