summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-14 12:44:47 +0200
committerNoel Grandin <noel@peralex.com>2015-04-15 11:47:12 +0200
commit71b809959bb8f775d83dc52628448bb8b8322b28 (patch)
treef9aa4308050eb7d55611068602c0cf0e3c1b3690 /sw/source/uibase
parent135907f2061550624ee1859745d94eee01849070 (diff)
remove unnecessary use of void in function declarations
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx2
-rw-r--r--sw/source/uibase/docvw/AnnotationWin.cxx2
-rw-r--r--sw/source/uibase/docvw/SidebarWin.cxx2
-rw-r--r--sw/source/uibase/inc/conttree.hxx4
-rw-r--r--sw/source/uibase/inc/frmpage.hxx4
-rw-r--r--sw/source/uibase/inc/optpage.hxx2
-rw-r--r--sw/source/uibase/inc/unoatxt.hxx32
-rw-r--r--sw/source/uibase/inc/unomod.hxx16
-rw-r--r--sw/source/uibase/inc/unotxvw.hxx24
-rw-r--r--sw/source/uibase/sidebar/PageColumnControl.cxx2
-rw-r--r--sw/source/uibase/sidebar/PageColumnControl.hxx2
-rw-r--r--sw/source/uibase/sidebar/PageMarginControl.cxx2
-rw-r--r--sw/source/uibase/sidebar/PageMarginControl.hxx2
-rw-r--r--sw/source/uibase/sidebar/PageOrientationControl.cxx2
-rw-r--r--sw/source/uibase/sidebar/PageOrientationControl.hxx2
-rw-r--r--sw/source/uibase/sidebar/PagePropertyPanel.hxx2
-rw-r--r--sw/source/uibase/sidebar/PageSizeControl.cxx2
-rw-r--r--sw/source/uibase/sidebar/PageSizeControl.hxx2
-rw-r--r--sw/source/uibase/sidebar/SwPanelFactory.cxx8
-rw-r--r--sw/source/uibase/uno/unoatxt.cxx44
-rw-r--r--sw/source/uibase/uno/unomod.cxx16
-rw-r--r--sw/source/uibase/uno/unotxdoc.cxx104
-rw-r--r--sw/source/uibase/uno/unotxvw.cxx24
-rw-r--r--sw/source/uibase/utlui/content.cxx2
24 files changed, 152 insertions, 152 deletions
diff --git a/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx b/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx
index b7a4f44629cc..e6bd8b2e3f1a 100644
--- a/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx
+++ b/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx
@@ -170,7 +170,7 @@ SwSpellDialogChildWindow::~SwSpellDialogChildWindow ()
delete m_pSpellState;
}
-SfxChildWinInfo SwSpellDialogChildWindow::GetInfo (void) const
+SfxChildWinInfo SwSpellDialogChildWindow::GetInfo() const
{
SfxChildWinInfo aInfo = svx::SpellDialogChildWindow::GetInfo();
aInfo.bVisible = false;
diff --git a/sw/source/uibase/docvw/AnnotationWin.cxx b/sw/source/uibase/docvw/AnnotationWin.cxx
index 539b5bab2177..cbc518b4185c 100644
--- a/sw/source/uibase/docvw/AnnotationWin.cxx
+++ b/sw/source/uibase/docvw/AnnotationWin.cxx
@@ -278,7 +278,7 @@ void SwAnnotationWin::InitAnswer(OutlinerParaObject* pText)
Engine()->GetUndoManager().Clear();
}
-SvxLanguageItem SwAnnotationWin::GetLanguage(void)
+SvxLanguageItem SwAnnotationWin::GetLanguage()
{
// set initial language for outliner
sal_uInt16 nScriptType = SvtLanguageOptions::GetScriptTypeOfLanguage( mpFld->GetLanguage() );
diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx
index 3832f7c5c60a..93b3cae87068 100644
--- a/sw/source/uibase/docvw/SidebarWin.cxx
+++ b/sw/source/uibase/docvw/SidebarWin.cxx
@@ -1351,7 +1351,7 @@ void SwSidebarWin::SwitchToFieldPos()
GrabFocusToDocument();
}
-SvxLanguageItem SwSidebarWin::GetLanguage(void)
+SvxLanguageItem SwSidebarWin::GetLanguage()
{
return SvxLanguageItem(SwLangHelper::GetLanguage(mrView.GetWrtShell(),RES_CHRATR_LANGUAGE),RES_CHRATR_LANGUAGE);
}
diff --git a/sw/source/uibase/inc/conttree.hxx b/sw/source/uibase/inc/conttree.hxx
index 7867f957c8a8..080572081d5a 100644
--- a/sw/source/uibase/inc/conttree.hxx
+++ b/sw/source/uibase/inc/conttree.hxx
@@ -138,7 +138,7 @@ protected:
void GotoContent(SwContent* pCnt);
static void SetInDrag(bool bSet) {bIsInDrag = bSet;}
- virtual PopupMenu* CreateContextMenu( void ) SAL_OVERRIDE;
+ virtual PopupMenu* CreateContextMenu() SAL_OVERRIDE;
virtual void ExcecuteContextMenuAction( sal_uInt16 nSelectedPopupEntry ) SAL_OVERRIDE;
public:
@@ -307,7 +307,7 @@ protected:
static void SetShowShell(const SfxObjectShell*pSet) {pShowShell = pSet;}
DECL_STATIC_LINK(SwGlobalTree, ShowFrameHdl, SwGlobalTree*);
- virtual PopupMenu* CreateContextMenu( void ) SAL_OVERRIDE;
+ virtual PopupMenu* CreateContextMenu() SAL_OVERRIDE;
virtual void ExcecuteContextMenuAction( sal_uInt16 nSelectedPopupEntry ) SAL_OVERRIDE;
public:
diff --git a/sw/source/uibase/inc/frmpage.hxx b/sw/source/uibase/inc/frmpage.hxx
index f4b55a91bd64..88099079a5bc 100644
--- a/sw/source/uibase/inc/frmpage.hxx
+++ b/sw/source/uibase/inc/frmpage.hxx
@@ -172,7 +172,7 @@ class SwFrmPage: public SfxTabPage
void setOptimalFrmWidth();
void setOptimalRelWidth();
- void EnableGraficMode( void ); // hides auto check boxes and re-org controls for "Real Size" button
+ void EnableGraficMode(); // hides auto check boxes and re-org controls for "Real Size" button
SwFrmPage(vcl::Window *pParent, const SfxItemSet &rSet);
virtual ~SwFrmPage();
@@ -195,7 +195,7 @@ public:
void SetNewFrame(bool bNewFrame) { bNew = bNewFrame; }
void SetFormatUsed(bool bFmt);
void SetFrmType(const OUString &rType) { sDlgType = rType; }
- inline bool IsInGraficMode( void ) { return sDlgType == "PictureDialog" || sDlgType == "ObjectDialog"; }
+ inline bool IsInGraficMode() { return sDlgType == "PictureDialog" || sDlgType == "ObjectDialog"; }
void EnableVerticalPositioning( bool bEnable );
};
diff --git a/sw/source/uibase/inc/optpage.hxx b/sw/source/uibase/inc/optpage.hxx
index 05789ce0cb9a..ba424c9b596d 100644
--- a/sw/source/uibase/inc/optpage.hxx
+++ b/sw/source/uibase/inc/optpage.hxx
@@ -311,7 +311,7 @@ class SwMarkPreview : public vcl::Window
void Paint(const Rectangle&) SAL_OVERRIDE;
void PaintPage(const Rectangle &rRect);
- void InitColors( void );
+ void InitColors();
protected:
virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
diff --git a/sw/source/uibase/inc/unoatxt.hxx b/sw/source/uibase/inc/unoatxt.hxx
index f95c333eee3f..9563e16a4f01 100644
--- a/sw/source/uibase/inc/unoatxt.hxx
+++ b/sw/source/uibase/inc/unoatxt.hxx
@@ -69,7 +69,7 @@ public:
//XNameAccess
virtual ::com::sun::star::uno::Any SAL_CALL getByName(const OUString& Name) throw( ::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getElementNames(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getElementNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL hasByName(const OUString& Name) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
//XElementAccess
@@ -81,9 +81,9 @@ public:
virtual void SAL_CALL removeByName(const OUString& aGroupName) throw( ::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
};
@@ -114,13 +114,13 @@ public:
virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//XAutoTextGroup
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getTitles(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getTitles() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL renameByName(const OUString& aElementName, const OUString& aNewElementName, const OUString& aNewElementTitle) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::ElementExistException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XAutoTextEntry > SAL_CALL insertNewByName(const OUString& aName, const OUString& aTitle, const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xTextRange) throw( ::com::sun::star::container::ElementExistException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL removeByName(const OUString& aEntryName) throw( ::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
//XNamed
- virtual OUString SAL_CALL getName(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual OUString SAL_CALL getName() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL setName(const OUString& Name_) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
//XIndexAccess
@@ -129,7 +129,7 @@ public:
//XNameAccess
virtual ::com::sun::star::uno::Any SAL_CALL getByName(const OUString& Name) throw( ::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getElementNames(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getElementNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL hasByName(const OUString& Name) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
//XElementAccess
@@ -137,9 +137,9 @@ public:
virtual sal_Bool SAL_CALL hasElements( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
//XPropertySet
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -207,7 +207,7 @@ public:
virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//XText
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextCursor > SAL_CALL createTextCursor(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextCursor > SAL_CALL createTextCursor() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextCursor > SAL_CALL createTextCursorByRange(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & aTextPosition) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL insertString(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xRange, const OUString& aString, sal_Bool bAbsorb) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL insertControlCharacter(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xRange, sal_Int16 nControlCharacter, sal_Bool bAbsorb) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -215,19 +215,19 @@ public:
virtual void SAL_CALL removeTextContent(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextContent > & xContent) throw( ::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//XTextRange
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > SAL_CALL getText(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getStart(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getEnd(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual OUString SAL_CALL getString(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > SAL_CALL getText() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getStart() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > SAL_CALL getEnd() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual OUString SAL_CALL getString() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL setString(const OUString& aString) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
//XAutoTextEntry
virtual void SAL_CALL applyTo(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xRange)throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
// XEventsSupplier
virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > SAL_CALL getEvents( ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -253,7 +253,7 @@ public:
virtual ~SwAutoTextEventDescriptor();
- virtual OUString SAL_CALL getImplementationName(void)
+ virtual OUString SAL_CALL getImplementationName()
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
protected:
diff --git a/sw/source/uibase/inc/unomod.hxx b/sw/source/uibase/inc/unomod.hxx
index 38df3f4deb44..5def889b8ec6 100644
--- a/sw/source/uibase/inc/unomod.hxx
+++ b/sw/source/uibase/inc/unomod.hxx
@@ -53,19 +53,19 @@ public:
SwXModule();
//XViewSettings
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getViewSettings(void)
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getViewSettings()
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
//XPrintSettings
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getPrintSettings(void)
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getPrintSettings()
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName(void)
+ virtual OUString SAL_CALL getImplementationName()
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames(void)
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
};
@@ -117,11 +117,11 @@ public:
SwXPrintSettings( SwXPrintSettingsType eType, SwDoc * pDoc = NULL );
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName(void)
+ virtual OUString SAL_CALL getImplementationName()
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames(void)
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
};
@@ -179,9 +179,9 @@ public:
SwXViewSettings(bool bWeb, SwView* pView);
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
bool IsValid() const {return bObjectValid;}
void Invalidate() {bObjectValid = false;}
diff --git a/sw/source/uibase/inc/unotxvw.hxx b/sw/source/uibase/inc/unotxvw.hxx
index 17187fd68db1..aa5fb76a5aec 100644
--- a/sw/source/uibase/inc/unotxvw.hxx
+++ b/sw/source/uibase/inc/unotxvw.hxx
@@ -104,10 +104,10 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl > SAL_CALL getControl(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > & Model) throw( ::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
//XTextViewCursorSupplier
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextViewCursor > SAL_CALL getViewCursor(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextViewCursor > SAL_CALL getViewCursor() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
//XViewSettings
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getViewSettings(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getViewSettings() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
//XRubySelection
virtual ::com::sun::star::uno::Sequence<
@@ -137,9 +137,9 @@ public:
virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
//XTransferableSupplier
virtual ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::XTransferable > SAL_CALL getTransferable( )
@@ -183,9 +183,9 @@ public:
DECLARE_XINTERFACE()
//XTextViewCursor
- virtual sal_Bool SAL_CALL isVisible(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL isVisible() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL setVisible(sal_Bool bVisible) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual ::com::sun::star::awt::Point SAL_CALL getPosition(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::awt::Point SAL_CALL getPosition() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
//XTextCursor - neu
virtual void SAL_CALL collapseToStart()
@@ -221,10 +221,10 @@ public:
throw (::com::sun::star::uno::RuntimeException,
std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL jumpToPage(sal_Int16 nPage) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual sal_Bool SAL_CALL jumpToNextPage(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual sal_Bool SAL_CALL jumpToPreviousPage(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual sal_Bool SAL_CALL jumpToEndOfPage(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual sal_Bool SAL_CALL jumpToStartOfPage(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL jumpToNextPage() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL jumpToPreviousPage() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL jumpToEndOfPage() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL jumpToStartOfPage() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Int16 SAL_CALL getPage()
throw (::com::sun::star::uno::RuntimeException,
std::exception) SAL_OVERRIDE;
@@ -315,9 +315,9 @@ public:
std::exception) SAL_OVERRIDE;
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId();
diff --git a/sw/source/uibase/sidebar/PageColumnControl.cxx b/sw/source/uibase/sidebar/PageColumnControl.cxx
index eaec7905f221..a8aa1223d6d7 100644
--- a/sw/source/uibase/sidebar/PageColumnControl.cxx
+++ b/sw/source/uibase/sidebar/PageColumnControl.cxx
@@ -75,7 +75,7 @@ PageColumnControl::PageColumnControl(
FreeResource();
}
-PageColumnControl::~PageColumnControl(void)
+PageColumnControl::~PageColumnControl()
{
delete mpColumnValueSet;
}
diff --git a/sw/source/uibase/sidebar/PageColumnControl.hxx b/sw/source/uibase/sidebar/PageColumnControl.hxx
index a5ddcda8ed1b..508951a09670 100644
--- a/sw/source/uibase/sidebar/PageColumnControl.hxx
+++ b/sw/source/uibase/sidebar/PageColumnControl.hxx
@@ -44,7 +44,7 @@ public:
const sal_uInt16 nColumnType,
const bool bLandscape );
- virtual ~PageColumnControl(void);
+ virtual ~PageColumnControl();
private:
::svx::sidebar::ValueSetWithTextControl* mpColumnValueSet;
diff --git a/sw/source/uibase/sidebar/PageMarginControl.cxx b/sw/source/uibase/sidebar/PageMarginControl.cxx
index 7cb842960b2f..015ac8c79a90 100644
--- a/sw/source/uibase/sidebar/PageMarginControl.cxx
+++ b/sw/source/uibase/sidebar/PageMarginControl.cxx
@@ -131,7 +131,7 @@ PageMarginControl::PageMarginControl(
FreeResource();
}
-PageMarginControl::~PageMarginControl(void)
+PageMarginControl::~PageMarginControl()
{
delete mpMarginValueSet;
diff --git a/sw/source/uibase/sidebar/PageMarginControl.hxx b/sw/source/uibase/sidebar/PageMarginControl.hxx
index 908b1c6ba180..6a0af3c4bea0 100644
--- a/sw/source/uibase/sidebar/PageMarginControl.hxx
+++ b/sw/source/uibase/sidebar/PageMarginControl.hxx
@@ -60,7 +60,7 @@ public:
const bool bLandscape,
const FieldUnit eFUnit,
const SfxMapUnit eUnit );
- virtual ~PageMarginControl(void);
+ virtual ~PageMarginControl();
private:
::svx::sidebar::ValueSetWithTextControl* mpMarginValueSet;
diff --git a/sw/source/uibase/sidebar/PageOrientationControl.cxx b/sw/source/uibase/sidebar/PageOrientationControl.cxx
index 1d7e5a225cc8..105eecccf13b 100644
--- a/sw/source/uibase/sidebar/PageOrientationControl.cxx
+++ b/sw/source/uibase/sidebar/PageOrientationControl.cxx
@@ -61,7 +61,7 @@ PageOrientationControl::PageOrientationControl(
FreeResource();
}
-PageOrientationControl::~PageOrientationControl(void)
+PageOrientationControl::~PageOrientationControl()
{
delete mpOrientationValueSet;
}
diff --git a/sw/source/uibase/sidebar/PageOrientationControl.hxx b/sw/source/uibase/sidebar/PageOrientationControl.hxx
index b829cc47e61d..15d7e785b2cc 100644
--- a/sw/source/uibase/sidebar/PageOrientationControl.hxx
+++ b/sw/source/uibase/sidebar/PageOrientationControl.hxx
@@ -37,7 +37,7 @@ public:
vcl::Window* pParent,
PagePropertyPanel& rPanel,
const bool bLandscape );
- virtual ~PageOrientationControl(void);
+ virtual ~PageOrientationControl();
private:
::svx::sidebar::ValueSetWithTextControl* mpOrientationValueSet;
diff --git a/sw/source/uibase/sidebar/PagePropertyPanel.hxx b/sw/source/uibase/sidebar/PagePropertyPanel.hxx
index 76a9a0f7cb2c..68e3bb3c074d 100644
--- a/sw/source/uibase/sidebar/PagePropertyPanel.hxx
+++ b/sw/source/uibase/sidebar/PagePropertyPanel.hxx
@@ -102,7 +102,7 @@ namespace sw { namespace sidebar {
vcl::Window* pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame>& rxFrame,
SfxBindings* pBindings );
- virtual ~PagePropertyPanel(void);
+ virtual ~PagePropertyPanel();
SfxBindings* mpBindings;
diff --git a/sw/source/uibase/sidebar/PageSizeControl.cxx b/sw/source/uibase/sidebar/PageSizeControl.cxx
index 84c8db420239..dedc35530ce8 100644
--- a/sw/source/uibase/sidebar/PageSizeControl.cxx
+++ b/sw/source/uibase/sidebar/PageSizeControl.cxx
@@ -141,7 +141,7 @@ PageSizeControl::PageSizeControl(
FreeResource();
}
-PageSizeControl::~PageSizeControl(void)
+PageSizeControl::~PageSizeControl()
{
delete mpSizeValueSet;
}
diff --git a/sw/source/uibase/sidebar/PageSizeControl.hxx b/sw/source/uibase/sidebar/PageSizeControl.hxx
index 2fba0461ae7b..bd3e9f0ca1b8 100644
--- a/sw/source/uibase/sidebar/PageSizeControl.hxx
+++ b/sw/source/uibase/sidebar/PageSizeControl.hxx
@@ -47,7 +47,7 @@ public:
const Paper ePaper,
const bool bLandscape,
const FieldUnit eFUnit );
- virtual ~PageSizeControl(void);
+ virtual ~PageSizeControl();
private:
::svx::sidebar::ValueSetWithTextControl* mpSizeValueSet;
diff --git a/sw/source/uibase/sidebar/SwPanelFactory.cxx b/sw/source/uibase/sidebar/SwPanelFactory.cxx
index cc7984077b0d..2df61c244c27 100644
--- a/sw/source/uibase/sidebar/SwPanelFactory.cxx
+++ b/sw/source/uibase/sidebar/SwPanelFactory.cxx
@@ -53,8 +53,8 @@ class SwPanelFactory
public PanelFactoryInterfaceBase
{
public:
- SwPanelFactory(void);
- virtual ~SwPanelFactory(void);
+ SwPanelFactory();
+ virtual ~SwPanelFactory();
// XUIElementFactory
css::uno::Reference<css::ui::XUIElement> SAL_CALL createUIElement(
@@ -78,12 +78,12 @@ public:
{ return css::uno::Sequence<OUString>{"com.sun.star.ui.UIElementFactory"}; }
};
-SwPanelFactory::SwPanelFactory (void)
+SwPanelFactory::SwPanelFactory()
: PanelFactoryInterfaceBase(m_aMutex)
{
}
-SwPanelFactory::~SwPanelFactory (void)
+SwPanelFactory::~SwPanelFactory()
{
}
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();
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index bec9651f0370..b41cbf5e998c 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -1104,7 +1104,7 @@ sal_Int8 SwContentTree::ExecuteDrop( const ExecuteDropEvent& rEvt )
// Handler for Dragging and ContextMenu
-PopupMenu* SwContentTree::CreateContextMenu( void )
+PopupMenu* SwContentTree::CreateContextMenu()
{
PopupMenu* pPop = new PopupMenu;
PopupMenu* pSubPop1 = new PopupMenu;