diff options
Diffstat (limited to 'sw/source/uibase/uno')
| -rw-r--r-- | sw/source/uibase/uno/unoatxt.cxx | 44 | ||||
| -rw-r--r-- | sw/source/uibase/uno/unomod.cxx | 16 | ||||
| -rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 104 | ||||
| -rw-r--r-- | sw/source/uibase/uno/unotxvw.cxx | 24 |
4 files changed, 94 insertions, 94 deletions
diff --git a/sw/source/uibase/uno/unoatxt.cxx b/sw/source/uibase/uno/unoatxt.cxx index 6eca90ae8e04..c0490a2a39cf 100644 --- a/sw/source/uibase/uno/unoatxt.cxx +++ b/sw/source/uibase/uno/unoatxt.cxx @@ -70,7 +70,7 @@ SwXAutoTextContainer::~SwXAutoTextContainer() } -sal_Int32 SwXAutoTextContainer::getCount(void) throw( uno::RuntimeException, std::exception ) +sal_Int32 SwXAutoTextContainer::getCount() throw( uno::RuntimeException, std::exception ) { OSL_ENSURE(pGlossaries->GetGroupCnt() < static_cast<size_t>(SAL_MAX_INT32), "SwXAutoTextContainer::getCount: too many items"); @@ -87,13 +87,13 @@ uno::Any SwXAutoTextContainer::getByIndex(sal_Int32 nIndex) return getByName(pGlossaries->GetGroupName( static_cast<size_t>(nIndex) )); } -uno::Type SwXAutoTextContainer::getElementType(void) throw( uno::RuntimeException, std::exception ) +uno::Type SwXAutoTextContainer::getElementType() throw( uno::RuntimeException, std::exception ) { return cppu::UnoType<text::XAutoTextGroup>::get(); } -sal_Bool SwXAutoTextContainer::hasElements(void) throw( uno::RuntimeException, std::exception ) +sal_Bool SwXAutoTextContainer::hasElements() throw( uno::RuntimeException, std::exception ) { // At least standard should always exists! return sal_True; @@ -115,7 +115,7 @@ uno::Any SwXAutoTextContainer::getByName(const OUString& GroupName) return makeAny( xGroup ); } -uno::Sequence< OUString > SwXAutoTextContainer::getElementNames(void) throw( uno::RuntimeException, std::exception ) +uno::Sequence< OUString > SwXAutoTextContainer::getElementNames() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; const size_t nCount = pGlossaries->GetGroupCnt(); @@ -197,7 +197,7 @@ void SwXAutoTextContainer::removeByName(const OUString& aGroupName) pGlossaries->DelGroupDoc(sGroupName); } -OUString SwXAutoTextContainer::getImplementationName(void) throw( uno::RuntimeException, std::exception ) +OUString SwXAutoTextContainer::getImplementationName() throw( uno::RuntimeException, std::exception ) { return OUString("SwXAutoTextContainer" ); } @@ -207,7 +207,7 @@ sal_Bool SwXAutoTextContainer::supportsService(const OUString& rServiceName) thr return cppu::supportsService(this, rServiceName); } -uno::Sequence< OUString > SwXAutoTextContainer::getSupportedServiceNames(void) throw( uno::RuntimeException, std::exception ) +uno::Sequence< OUString > SwXAutoTextContainer::getSupportedServiceNames() throw( uno::RuntimeException, std::exception ) { OUString sService("com.sun.star.text.AutoTextContainer"); const uno::Sequence< OUString > aSeq( &sService, 1 ); @@ -251,7 +251,7 @@ SwXAutoTextGroup::~SwXAutoTextGroup() { } -uno::Sequence< OUString > SwXAutoTextGroup::getTitles(void) throw( uno::RuntimeException, std::exception ) +uno::Sequence< OUString > SwXAutoTextGroup::getTitles() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; boost::scoped_ptr<SwTextBlocks> pGlosGroup(pGlossaries ? pGlossaries->GetGroupDoc(m_sGroupName, false) : 0); @@ -451,7 +451,7 @@ void SwXAutoTextGroup::removeByName(const OUString& aEntryName) throw( container throw container::NoSuchElementException(); } -OUString SwXAutoTextGroup::getName(void) throw( uno::RuntimeException, std::exception ) +OUString SwXAutoTextGroup::getName() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; return sName; @@ -499,7 +499,7 @@ void SwXAutoTextGroup::setName(const OUString& rName) throw( uno::RuntimeExcepti pGlossaries = pTempGlossaries; } -sal_Int32 SwXAutoTextGroup::getCount(void) throw( uno::RuntimeException, std::exception ) +sal_Int32 SwXAutoTextGroup::getCount() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; boost::scoped_ptr<SwTextBlocks> pGlosGroup(pGlossaries ? pGlossaries->GetGroupDoc(m_sGroupName, false) : 0); @@ -521,13 +521,13 @@ uno::Any SwXAutoTextGroup::getByIndex(sal_Int32 nIndex) return getByName(pGlosGroup->GetShortName(static_cast<sal_uInt16>(nIndex))); } -uno::Type SwXAutoTextGroup::getElementType(void) throw( uno::RuntimeException, std::exception ) +uno::Type SwXAutoTextGroup::getElementType() throw( uno::RuntimeException, std::exception ) { return cppu::UnoType<text::XAutoTextEntry>::get(); } -sal_Bool SwXAutoTextGroup::hasElements(void) throw( uno::RuntimeException, std::exception ) +sal_Bool SwXAutoTextGroup::hasElements() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; boost::scoped_ptr<SwTextBlocks> pGlosGroup(pGlossaries ? pGlossaries->GetGroupDoc(m_sGroupName, false) : 0); @@ -547,7 +547,7 @@ uno::Any SwXAutoTextGroup::getByName(const OUString& _rName) return makeAny( xEntry ); } -uno::Sequence< OUString > SwXAutoTextGroup::getElementNames(void) +uno::Sequence< OUString > SwXAutoTextGroup::getElementNames() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; @@ -586,7 +586,7 @@ sal_Bool SwXAutoTextGroup::hasByName(const OUString& rName) return bRet; } -uno::Reference< beans::XPropertySetInfo > SwXAutoTextGroup::getPropertySetInfo(void) +uno::Reference< beans::XPropertySetInfo > SwXAutoTextGroup::getPropertySetInfo() throw( uno::RuntimeException, std::exception ) { static uno::Reference< beans::XPropertySetInfo > xRet = pPropSet->getPropertySetInfo(); @@ -680,7 +680,7 @@ void SwXAutoTextGroup::Invalidate() m_sGroupName.clear(); } -OUString SwXAutoTextGroup::getImplementationName(void) throw( uno::RuntimeException, std::exception ) +OUString SwXAutoTextGroup::getImplementationName() throw( uno::RuntimeException, std::exception ) { return OUString("SwXAutoTextGroup"); } @@ -690,7 +690,7 @@ sal_Bool SwXAutoTextGroup::supportsService(const OUString& rServiceName) throw( return cppu::supportsService(this, rServiceName); } -uno::Sequence< OUString > SwXAutoTextGroup::getSupportedServiceNames(void) throw( uno::RuntimeException, std::exception ) +uno::Sequence< OUString > SwXAutoTextGroup::getSupportedServiceNames() throw( uno::RuntimeException, std::exception ) { uno::Sequence< OUString > aRet(1); OUString* pArray = aRet.getArray(); @@ -806,7 +806,7 @@ void SwXAutoTextEntry::GetBodyText () xBodyText = uno::Reference < lang::XServiceInfo > ( *pBodyText, uno::UNO_QUERY); } -uno::Reference< text::XTextCursor > SwXAutoTextEntry::createTextCursor(void) throw( uno::RuntimeException, std::exception ) +uno::Reference< text::XTextCursor > SwXAutoTextEntry::createTextCursor() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; EnsureBodyText(); @@ -856,28 +856,28 @@ void SwXAutoTextEntry::removeTextContent( pBodyText->removeTextContent ( xContent ); } -uno::Reference< text::XText > SwXAutoTextEntry::getText(void) throw( uno::RuntimeException, std::exception ) +uno::Reference< text::XText > SwXAutoTextEntry::getText() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; uno::Reference< text::XText > xRet = (text::XText*)this; return xRet; } -uno::Reference< text::XTextRange > SwXAutoTextEntry::getStart(void) throw( uno::RuntimeException, std::exception ) +uno::Reference< text::XTextRange > SwXAutoTextEntry::getStart() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; EnsureBodyText(); return pBodyText->getStart(); } -uno::Reference< text::XTextRange > SwXAutoTextEntry::getEnd(void) throw( uno::RuntimeException, std::exception ) +uno::Reference< text::XTextRange > SwXAutoTextEntry::getEnd() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; EnsureBodyText(); return pBodyText->getEnd(); } -OUString SwXAutoTextEntry::getString(void) throw( uno::RuntimeException, std::exception ) +OUString SwXAutoTextEntry::getString() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; EnsureBodyText(); @@ -963,7 +963,7 @@ void SwXAutoTextEntry::applyTo(const uno::Reference< text::XTextRange > & xTextR throw uno::RuntimeException(); } -OUString SwXAutoTextEntry::getImplementationName(void) throw( uno::RuntimeException, std::exception ) +OUString SwXAutoTextEntry::getImplementationName() throw( uno::RuntimeException, std::exception ) { return OUString("SwXAutoTextEntry"); } @@ -973,7 +973,7 @@ sal_Bool SwXAutoTextEntry::supportsService(const OUString& rServiceName) throw( return cppu::supportsService(this, rServiceName); } -uno::Sequence< OUString > SwXAutoTextEntry::getSupportedServiceNames(void) throw( uno::RuntimeException, std::exception ) +uno::Sequence< OUString > SwXAutoTextEntry::getSupportedServiceNames() throw( uno::RuntimeException, std::exception ) { uno::Sequence< OUString > aRet(1); OUString* pArray = aRet.getArray(); diff --git a/sw/source/uibase/uno/unomod.cxx b/sw/source/uibase/uno/unomod.cxx index 30dcaf8e8849..da1a01efe78a 100644 --- a/sw/source/uibase/uno/unomod.cxx +++ b/sw/source/uibase/uno/unomod.cxx @@ -203,7 +203,7 @@ SwXModule::~SwXModule() delete pxPrintSettings; } -Reference< XPropertySet > SwXModule::getViewSettings(void) throw( uno::RuntimeException, std::exception ) +Reference< XPropertySet > SwXModule::getViewSettings() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!pxViewSettings) @@ -215,7 +215,7 @@ Reference< XPropertySet > SwXModule::getViewSettings(void) throw( uno::RuntimeE return *pxViewSettings; } -Reference< XPropertySet > SwXModule::getPrintSettings(void) throw( uno::RuntimeException, std::exception ) +Reference< XPropertySet > SwXModule::getPrintSettings() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!pxPrintSettings) @@ -227,7 +227,7 @@ Reference< XPropertySet > SwXModule::getPrintSettings(void) throw( uno::Runtime return *pxPrintSettings; } -OUString SwXModule::getImplementationName(void) throw( RuntimeException, std::exception ) +OUString SwXModule::getImplementationName() throw( RuntimeException, std::exception ) { return OUString( "SwXModule" ); } @@ -237,7 +237,7 @@ sal_Bool SwXModule::supportsService(const OUString& rServiceName) throw( Runtime return cppu::supportsService(this, rServiceName); } -Sequence< OUString > SwXModule::getSupportedServiceNames(void) throw( RuntimeException, std::exception ) +Sequence< OUString > SwXModule::getSupportedServiceNames() throw( RuntimeException, std::exception ) { OUString sService( "com.sun.star.text.GlobalSettings"); const Sequence< OUString > aSeq( &sService, 1 ); @@ -522,7 +522,7 @@ void SwXPrintSettings::_postGetValues () mpPrtOpt = NULL; } -OUString SwXPrintSettings::getImplementationName(void) throw( RuntimeException, std::exception ) +OUString SwXPrintSettings::getImplementationName() throw( RuntimeException, std::exception ) { return OUString("SwXPrintSettings"); } @@ -532,7 +532,7 @@ sal_Bool SwXPrintSettings::supportsService(const OUString& rServiceName) throw( return cppu::supportsService(this, rServiceName); } -Sequence< OUString > SwXPrintSettings::getSupportedServiceNames(void) throw( RuntimeException, std::exception ) +Sequence< OUString > SwXPrintSettings::getSupportedServiceNames() throw( RuntimeException, std::exception ) { Sequence< OUString > aRet(1); OUString* pArray = aRet.getArray(); @@ -967,7 +967,7 @@ void SwXViewSettings::_postGetValues () mpConstViewOption = NULL; } -OUString SwXViewSettings::getImplementationName(void) throw( RuntimeException, std::exception ) +OUString SwXViewSettings::getImplementationName() throw( RuntimeException, std::exception ) { return OUString("SwXViewSettings"); } @@ -977,7 +977,7 @@ sal_Bool SwXViewSettings::supportsService(const OUString& rServiceName) throw( R return cppu::supportsService(this, rServiceName); } -Sequence< OUString > SwXViewSettings::getSupportedServiceNames(void) throw( RuntimeException, std::exception ) +Sequence< OUString > SwXViewSettings::getSupportedServiceNames() throw( RuntimeException, std::exception ) { Sequence< OUString > aRet(1); OUString* pArray = aRet.getArray(); diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index 0dca9b0d624e..f570dd9954de 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -465,7 +465,7 @@ void SwXTextDocument::GetNumberFormatter() } } -Reference< XText > SwXTextDocument::getText(void) throw( RuntimeException, std::exception ) +Reference< XText > SwXTextDocument::getText() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) @@ -478,14 +478,14 @@ Reference< XText > SwXTextDocument::getText(void) throw( RuntimeException, std: return xBodyText; } -void SwXTextDocument::reformat(void) throw( RuntimeException, std::exception ) +void SwXTextDocument::reformat() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) throw RuntimeException(); } -void SwXTextDocument::lockControllers(void) throw( RuntimeException, std::exception ) +void SwXTextDocument::lockControllers() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(IsValid()) @@ -497,7 +497,7 @@ void SwXTextDocument::lockControllers(void) throw( RuntimeException, std::except throw RuntimeException(); } -void SwXTextDocument::unlockControllers(void) throw( RuntimeException, std::exception ) +void SwXTextDocument::unlockControllers() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!aActionArr.empty()) @@ -510,13 +510,13 @@ void SwXTextDocument::unlockControllers(void) throw( RuntimeException, std::exce throw RuntimeException(); } -sal_Bool SwXTextDocument::hasControllersLocked(void) throw( RuntimeException, std::exception ) +sal_Bool SwXTextDocument::hasControllersLocked() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; return !aActionArr.empty(); } -Reference< frame::XController > SwXTextDocument::getCurrentController(void) throw( RuntimeException, std::exception ) +Reference< frame::XController > SwXTextDocument::getCurrentController() throw( RuntimeException, std::exception ) { return SfxBaseModel::getCurrentController(); } @@ -555,12 +555,12 @@ sal_Bool SwXTextDocument::attachResource(const OUString& aURL, const Sequence< b return SfxBaseModel::attachResource(aURL, aArgs); } -OUString SwXTextDocument::getURL(void) throw( RuntimeException, std::exception ) +OUString SwXTextDocument::getURL() throw( RuntimeException, std::exception ) { return SfxBaseModel::getURL(); } -Sequence< beans::PropertyValue > SwXTextDocument::getArgs(void) throw( RuntimeException, std::exception ) +Sequence< beans::PropertyValue > SwXTextDocument::getArgs() throw( RuntimeException, std::exception ) { return SfxBaseModel::getArgs(); } @@ -575,7 +575,7 @@ void SwXTextDocument::disconnectController(const Reference< frame::XController > SfxBaseModel::disconnectController(xController); } -void SwXTextDocument::dispose(void) throw( RuntimeException, std::exception ) +void SwXTextDocument::dispose() throw( RuntimeException, std::exception ) { SfxBaseModel::dispose(); } @@ -598,7 +598,7 @@ void SwXTextDocument::removeEventListener(const Reference< lang::XEventListener SfxBaseModel::removeEventListener(aListener); } -Reference< XPropertySet > SwXTextDocument::getLineNumberingProperties(void) +Reference< XPropertySet > SwXTextDocument::getLineNumberingProperties() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; @@ -615,7 +615,7 @@ Reference< XPropertySet > SwXTextDocument::getLineNumberingProperties(void) return *pxXLineNumberingProperties; } -Reference< XIndexReplace > SwXTextDocument::getChapterNumberingRules(void) +Reference< XIndexReplace > SwXTextDocument::getChapterNumberingRules() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; @@ -629,7 +629,7 @@ Reference< XIndexReplace > SwXTextDocument::getChapterNumberingRules(void) return *pxXChapterNumbering; } -Reference< XIndexAccess > SwXTextDocument::getNumberingRules(void) throw( RuntimeException, std::exception ) +Reference< XIndexAccess > SwXTextDocument::getNumberingRules() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) @@ -642,7 +642,7 @@ Reference< XIndexAccess > SwXTextDocument::getNumberingRules(void) throw( Runti return *pxXNumberingRules; } -Reference< XIndexAccess > SwXTextDocument::getFootnotes(void) throw( RuntimeException, std::exception ) +Reference< XIndexAccess > SwXTextDocument::getFootnotes() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) @@ -656,7 +656,7 @@ Reference< XIndexAccess > SwXTextDocument::getFootnotes(void) throw( RuntimeExc } Reference< XPropertySet > SAL_CALL - SwXTextDocument::getFootnoteSettings(void) throw( RuntimeException, std::exception ) + SwXTextDocument::getFootnoteSettings() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) @@ -669,7 +669,7 @@ Reference< XPropertySet > SAL_CALL return *pxXFootnoteSettings; } -Reference< XIndexAccess > SwXTextDocument::getEndnotes(void) throw( RuntimeException, std::exception ) +Reference< XIndexAccess > SwXTextDocument::getEndnotes() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) @@ -682,7 +682,7 @@ Reference< XIndexAccess > SwXTextDocument::getEndnotes(void) throw( RuntimeExce return *pxXEndnotes; } -Reference< XPropertySet > SwXTextDocument::getEndnoteSettings(void) throw( RuntimeException, std::exception ) +Reference< XPropertySet > SwXTextDocument::getEndnoteSettings() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) @@ -695,7 +695,7 @@ Reference< XPropertySet > SwXTextDocument::getEndnoteSettings(void) throw( Runt return *pxXEndnoteSettings; } -Reference< util::XReplaceDescriptor > SwXTextDocument::createReplaceDescriptor(void) +Reference< util::XReplaceDescriptor > SwXTextDocument::createReplaceDescriptor() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; @@ -789,7 +789,7 @@ sal_Int32 SwXTextDocument::replaceAll(const Reference< util::XSearchDescriptor > } -Reference< util::XSearchDescriptor > SwXTextDocument::createSearchDescriptor(void) +Reference< util::XSearchDescriptor > SwXTextDocument::createSearchDescriptor() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; @@ -986,7 +986,7 @@ Reference< XInterface > SwXTextDocument::findNext(const Reference< XInterface > return xRet; } -Sequence< beans::PropertyValue > SwXTextDocument::getPagePrintSettings(void) +Sequence< beans::PropertyValue > SwXTextDocument::getPagePrintSettings() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; @@ -1216,7 +1216,7 @@ void SwXTextDocument::printPages(const Sequence< beans::PropertyValue >& xOption throw RuntimeException(); } -Reference< XNameAccess > SwXTextDocument::getReferenceMarks(void) +Reference< XNameAccess > SwXTextDocument::getReferenceMarks() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; @@ -1230,7 +1230,7 @@ Reference< XNameAccess > SwXTextDocument::getReferenceMarks(void) return *pxXReferenceMarks; } -Reference< XEnumerationAccess > SwXTextDocument::getTextFields(void) throw( RuntimeException, std::exception ) +Reference< XEnumerationAccess > SwXTextDocument::getTextFields() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) @@ -1243,7 +1243,7 @@ Reference< XEnumerationAccess > SwXTextDocument::getTextFields(void) throw( Run return *pxXTextFieldTypes; } -Reference< XNameAccess > SwXTextDocument::getTextFieldMasters(void) +Reference< XNameAccess > SwXTextDocument::getTextFieldMasters() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; @@ -1257,7 +1257,7 @@ Reference< XNameAccess > SwXTextDocument::getTextFieldMasters(void) return *pxXTextFieldMasters; } -Reference< XNameAccess > SwXTextDocument::getEmbeddedObjects(void) throw( RuntimeException, std::exception ) +Reference< XNameAccess > SwXTextDocument::getEmbeddedObjects() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) @@ -1270,7 +1270,7 @@ Reference< XNameAccess > SwXTextDocument::getEmbeddedObjects(void) throw( Runti return *pxXEmbeddedObjects; } -Reference< XNameAccess > SwXTextDocument::getBookmarks(void) throw( RuntimeException, std::exception ) +Reference< XNameAccess > SwXTextDocument::getBookmarks() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) @@ -1283,7 +1283,7 @@ Reference< XNameAccess > SwXTextDocument::getBookmarks(void) throw( RuntimeExce return *pxXBookmarks; } -Reference< XNameAccess > SwXTextDocument::getTextSections(void) throw( RuntimeException, std::exception ) +Reference< XNameAccess > SwXTextDocument::getTextSections() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) @@ -1296,7 +1296,7 @@ Reference< XNameAccess > SwXTextDocument::getTextSections(void) throw( RuntimeE return *pxXTextSections; } -Reference< XNameAccess > SwXTextDocument::getTextTables(void) throw( RuntimeException, std::exception ) +Reference< XNameAccess > SwXTextDocument::getTextTables() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) @@ -1309,7 +1309,7 @@ Reference< XNameAccess > SwXTextDocument::getTextTables(void) throw( RuntimeExc return *pxXTextTables; } -Reference< XNameAccess > SwXTextDocument::getGraphicObjects(void) throw( RuntimeException, std::exception ) +Reference< XNameAccess > SwXTextDocument::getGraphicObjects() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) @@ -1322,7 +1322,7 @@ Reference< XNameAccess > SwXTextDocument::getGraphicObjects(void) throw( Runtim return *pxXGraphicObjects; } -Reference< XNameAccess > SwXTextDocument::getTextFrames(void) throw( RuntimeException, std::exception ) +Reference< XNameAccess > SwXTextDocument::getTextFrames() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) @@ -1335,7 +1335,7 @@ Reference< XNameAccess > SwXTextDocument::getTextFrames(void) throw( RuntimeExc return *pxXTextFrames; } -Reference< XNameAccess > SwXTextDocument::getStyleFamilies(void) throw( RuntimeException, std::exception ) +Reference< XNameAccess > SwXTextDocument::getStyleFamilies() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) @@ -1363,7 +1363,7 @@ uno::Reference< style::XAutoStyles > SwXTextDocument::getAutoStyles( ) } -Reference< drawing::XDrawPage > SwXTextDocument::getDrawPage(void) throw( RuntimeException, std::exception ) +Reference< drawing::XDrawPage > SwXTextDocument::getDrawPage() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) @@ -1741,7 +1741,7 @@ Reference< XInterface > SwXTextDocument::createInstanceWithArguments( return create(ServiceSpecifier, &Arguments); } -Sequence< OUString > SwXTextDocument::getAvailableServiceNames(void) +Sequence< OUString > SwXTextDocument::getAvailableServiceNames() throw( RuntimeException, std::exception ) { static Sequence< OUString > aServices; @@ -1765,7 +1765,7 @@ Sequence< OUString > SwXTextDocument::getAvailableServiceNames(void) return aServices; } -OUString SwXTextDocument::getImplementationName(void) throw( RuntimeException, std::exception ) +OUString SwXTextDocument::getImplementationName() throw( RuntimeException, std::exception ) { return PTR_CAST(SwGlobalDocShell, pDocShell) != nullptr ? OUString("com.sun.star.comp.Writer.GlobalDocument") @@ -1779,7 +1779,7 @@ sal_Bool SwXTextDocument::supportsService(const OUString& rServiceName) throw( R return cppu::supportsService(this, rServiceName); } -Sequence< OUString > SwXTextDocument::getSupportedServiceNames(void) throw( RuntimeException, std::exception ) +Sequence< OUString > SwXTextDocument::getSupportedServiceNames() throw( RuntimeException, std::exception ) { bool bWebDoc = (0 != PTR_CAST(SwWebDocShell, pDocShell)); bool bGlobalDoc = (0 != PTR_CAST(SwGlobalDocShell, pDocShell)); @@ -1801,7 +1801,7 @@ Sequence< OUString > SwXTextDocument::getSupportedServiceNames(void) throw( Runt return aRet; } -Reference< XIndexAccess > SwXTextDocument::getDocumentIndexes(void) throw( RuntimeException, std::exception ) +Reference< XIndexAccess > SwXTextDocument::getDocumentIndexes() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) @@ -1814,7 +1814,7 @@ Reference< XIndexAccess > SwXTextDocument::getDocumentIndexes(void) throw( Runt return *pxXDocumentIndexes; } -Reference< XPropertySetInfo > SwXTextDocument::getPropertySetInfo(void) throw( RuntimeException, std::exception ) +Reference< XPropertySetInfo > SwXTextDocument::getPropertySetInfo() throw( RuntimeException, std::exception ) { static Reference< XPropertySetInfo > xRet = pPropSet->getPropertySetInfo(); return xRet; @@ -2185,7 +2185,7 @@ void SwXTextDocument::removeVetoableChangeListener(const OUString& /*PropertyNam OSL_FAIL("not implemented"); } -Reference< XNameAccess > SwXTextDocument::getLinks(void) throw( RuntimeException, std::exception ) +Reference< XNameAccess > SwXTextDocument::getLinks() throw( RuntimeException, std::exception ) { if(!pxLinkTargetSupplier) { @@ -2214,7 +2214,7 @@ void SwXTextDocument::NotifyRefreshListeners() & util::XRefreshListener::refreshed, ev); } -void SwXTextDocument::refresh(void) throw( RuntimeException, std::exception ) +void SwXTextDocument::refresh() throw( RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(!IsValid()) @@ -3567,7 +3567,7 @@ Any SwXLinkTargetSupplier::getByName(const OUString& rName) return aRet; } -Sequence< OUString > SwXLinkTargetSupplier::getElementNames(void) +Sequence< OUString > SwXLinkTargetSupplier::getElementNames() throw( RuntimeException, std::exception ) { Sequence< OUString > aRet(7); @@ -3597,19 +3597,19 @@ sal_Bool SwXLinkTargetSupplier::hasByName(const OUString& rName) return sal_False; } -uno::Type SwXLinkTargetSupplier::getElementType(void) +uno::Type SwXLinkTargetSupplier::getElementType() throw( RuntimeException, std::exception ) { return cppu::UnoType<XPropertySet>::get(); } -sal_Bool SwXLinkTargetSupplier::hasElements(void) throw( RuntimeException, std::exception ) +sal_Bool SwXLinkTargetSupplier::hasElements() throw( RuntimeException, std::exception ) { return 0 != pxDoc; } -OUString SwXLinkTargetSupplier::getImplementationName(void) throw( RuntimeException, std::exception ) +OUString SwXLinkTargetSupplier::getImplementationName() throw( RuntimeException, std::exception ) { return OUString("SwXLinkTargetSupplier"); } @@ -3620,7 +3620,7 @@ sal_Bool SwXLinkTargetSupplier::supportsService(const OUString& rServiceName) return cppu::supportsService(this, rServiceName); } -Sequence< OUString > SwXLinkTargetSupplier::getSupportedServiceNames(void) +Sequence< OUString > SwXLinkTargetSupplier::getSupportedServiceNames() throw( RuntimeException, std::exception ) { Sequence< OUString > aRet(1); @@ -3704,7 +3704,7 @@ Any SwXLinkNameAccessWrapper::getByName(const OUString& rName) return aRet; } -Sequence< OUString > SwXLinkNameAccessWrapper::getElementNames(void) +Sequence< OUString > SwXLinkNameAccessWrapper::getElementNames() throw( RuntimeException, std::exception ) { Sequence< OUString > aRet; @@ -3780,13 +3780,13 @@ sal_Bool SwXLinkNameAccessWrapper::hasByName(const OUString& rName) return bRet; } -uno::Type SwXLinkNameAccessWrapper::getElementType(void) +uno::Type SwXLinkNameAccessWrapper::getElementType() throw( RuntimeException, std::exception ) { return cppu::UnoType<XPropertySet>::get(); } -sal_Bool SwXLinkNameAccessWrapper::hasElements(void) throw( RuntimeException, std::exception ) +sal_Bool SwXLinkNameAccessWrapper::hasElements() throw( RuntimeException, std::exception ) { bool bRet = false; if(pxDoc) @@ -3800,7 +3800,7 @@ sal_Bool SwXLinkNameAccessWrapper::hasElements(void) throw( RuntimeException, st return bRet; } -Reference< XPropertySetInfo > SwXLinkNameAccessWrapper::getPropertySetInfo(void) +Reference< XPropertySetInfo > SwXLinkNameAccessWrapper::getPropertySetInfo() throw( RuntimeException, std::exception ) { static Reference< XPropertySetInfo > xRet = pPropSet->getPropertySetInfo(); @@ -3889,13 +3889,13 @@ void SwXLinkNameAccessWrapper::removeVetoableChangeListener( throw( UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception ) {} -Reference< XNameAccess > SwXLinkNameAccessWrapper::getLinks(void) +Reference< XNameAccess > SwXLinkNameAccessWrapper::getLinks() throw( RuntimeException, std::exception ) { return (SwXLinkNameAccessWrapper*)this; } -OUString SwXLinkNameAccessWrapper::getImplementationName(void) throw( RuntimeException, std::exception ) +OUString SwXLinkNameAccessWrapper::getImplementationName() throw( RuntimeException, std::exception ) { return OUString("SwXLinkNameAccessWrapper"); } @@ -3906,7 +3906,7 @@ sal_Bool SwXLinkNameAccessWrapper::supportsService(const OUString& rServiceName) return cppu::supportsService(this, rServiceName); } -Sequence< OUString > SwXLinkNameAccessWrapper::getSupportedServiceNames(void) +Sequence< OUString > SwXLinkNameAccessWrapper::getSupportedServiceNames() throw( RuntimeException, std::exception ) { Sequence< OUString > aRet(1); @@ -3925,7 +3925,7 @@ SwXOutlineTarget::~SwXOutlineTarget() { } -Reference< XPropertySetInfo > SwXOutlineTarget::getPropertySetInfo(void) throw( RuntimeException, std::exception ) +Reference< XPropertySetInfo > SwXOutlineTarget::getPropertySetInfo() throw( RuntimeException, std::exception ) { static Reference< XPropertySetInfo > xRet = pPropSet->getPropertySetInfo(); return xRet; @@ -3974,7 +3974,7 @@ void SwXOutlineTarget::removeVetoableChangeListener( { } -OUString SwXOutlineTarget::getImplementationName(void) throw( RuntimeException, std::exception ) +OUString SwXOutlineTarget::getImplementationName() throw( RuntimeException, std::exception ) { return OUString("SwXOutlineTarget"); } @@ -3984,7 +3984,7 @@ sal_Bool SwXOutlineTarget::supportsService(const OUString& ServiceName) throw( R return cppu::supportsService(this, ServiceName); } -Sequence< OUString > SwXOutlineTarget::getSupportedServiceNames(void) throw( RuntimeException, std::exception ) +Sequence< OUString > SwXOutlineTarget::getSupportedServiceNames() throw( RuntimeException, std::exception ) { Sequence < OUString > aRet(1); OUString* pArray = aRet.getArray(); diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx index d29561e12ba9..dbedf77c4153 100644 --- a/sw/source/uibase/uno/unotxvw.cxx +++ b/sw/source/uibase/uno/unotxvw.cxx @@ -495,7 +495,7 @@ void SAL_CALL SwXTextView::setFormDesignMode( sal_Bool _DesignMode ) throw (Runt pFormShell->SetDesignMode( _DesignMode ); } -uno::Reference< text::XTextViewCursor > SwXTextView::getViewCursor(void) throw( uno::RuntimeException, std::exception ) +uno::Reference< text::XTextViewCursor > SwXTextView::getViewCursor() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(GetView()) @@ -511,7 +511,7 @@ uno::Reference< text::XTextViewCursor > SwXTextView::getViewCursor(void) throw( throw uno::RuntimeException(); } -uno::Reference< beans::XPropertySet > SwXTextView::getViewSettings(void) throw( uno::RuntimeException, std::exception ) +uno::Reference< beans::XPropertySet > SwXTextView::getViewSettings() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; if(m_pView) @@ -844,7 +844,7 @@ void SAL_CALL SwXTextView::removeVetoableChangeListener( OSL_FAIL("not implemented"); } -OUString SwXTextView::getImplementationName(void) throw( RuntimeException, std::exception ) +OUString SwXTextView::getImplementationName() throw( RuntimeException, std::exception ) { return OUString("SwXTextView"); } @@ -854,7 +854,7 @@ sal_Bool SwXTextView::supportsService(const OUString& rServiceName) throw( Runti return cppu::supportsService(this, rServiceName); } -Sequence< OUString > SwXTextView::getSupportedServiceNames(void) throw( RuntimeException, std::exception ) +Sequence< OUString > SwXTextView::getSupportedServiceNames() throw( RuntimeException, std::exception ) { Sequence< OUString > aRet(2); OUString* pArray = aRet.getArray(); @@ -898,7 +898,7 @@ bool SwXTextViewCursor::IsTextSelection( bool bAllowTables ) const return bRes; } -sal_Bool SwXTextViewCursor::isVisible(void) throw( uno::RuntimeException, std::exception ) +sal_Bool SwXTextViewCursor::isVisible() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; OSL_FAIL("not implemented"); @@ -911,7 +911,7 @@ void SwXTextViewCursor::setVisible(sal_Bool /*bVisible*/) throw( uno::RuntimeExc OSL_FAIL("not implemented"); } -awt::Point SwXTextViewCursor::getPosition(void) throw( uno::RuntimeException, std::exception ) +awt::Point SwXTextViewCursor::getPosition() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; awt::Point aRet; @@ -1265,7 +1265,7 @@ sal_Bool SwXTextViewCursor::jumpToPage(sal_Int16 nPage) throw( uno::RuntimeExcep return bRet; } -sal_Bool SwXTextViewCursor::jumpToNextPage(void) throw( uno::RuntimeException, std::exception ) +sal_Bool SwXTextViewCursor::jumpToNextPage() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; bool bRet = false; @@ -1276,7 +1276,7 @@ sal_Bool SwXTextViewCursor::jumpToNextPage(void) throw( uno::RuntimeException, s return bRet; } -sal_Bool SwXTextViewCursor::jumpToPreviousPage(void) throw( uno::RuntimeException, std::exception ) +sal_Bool SwXTextViewCursor::jumpToPreviousPage() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; bool bRet = false; @@ -1287,7 +1287,7 @@ sal_Bool SwXTextViewCursor::jumpToPreviousPage(void) throw( uno::RuntimeExceptio return bRet; } -sal_Bool SwXTextViewCursor::jumpToEndOfPage(void) throw( uno::RuntimeException, std::exception ) +sal_Bool SwXTextViewCursor::jumpToEndOfPage() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; bool bRet = false; @@ -1298,7 +1298,7 @@ sal_Bool SwXTextViewCursor::jumpToEndOfPage(void) throw( uno::RuntimeException, return bRet; } -sal_Bool SwXTextViewCursor::jumpToStartOfPage(void) throw( uno::RuntimeException, std::exception ) +sal_Bool SwXTextViewCursor::jumpToStartOfPage() throw( uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; bool bRet = false; @@ -1716,7 +1716,7 @@ void SwXTextViewCursor::gotoStartOfLine(sal_Bool bExpand) throw uno::RuntimeException(); } -OUString SwXTextViewCursor::getImplementationName(void) throw( RuntimeException, std::exception ) +OUString SwXTextViewCursor::getImplementationName() throw( RuntimeException, std::exception ) { return OUString("SwXTextViewCursor"); } @@ -1726,7 +1726,7 @@ sal_Bool SwXTextViewCursor::supportsService(const OUString& rServiceName) throw( return cppu::supportsService(this, rServiceName); } -Sequence< OUString > SwXTextViewCursor::getSupportedServiceNames(void) throw( RuntimeException, std::exception ) +Sequence< OUString > SwXTextViewCursor::getSupportedServiceNames() throw( RuntimeException, std::exception ) { Sequence< OUString > aRet(7); OUString* pArray = aRet.getArray(); |
