summaryrefslogtreecommitdiff
path: root/basic/source/inc/dlgcont.hxx
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 /basic/source/inc/dlgcont.hxx
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 'basic/source/inc/dlgcont.hxx')
-rw-r--r--basic/source/inc/dlgcont.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/basic/source/inc/dlgcont.hxx b/basic/source/inc/dlgcont.hxx
index 13a10dc92693..c3084be98896 100644
--- a/basic/source/inc/dlgcont.hxx
+++ b/basic/source/inc/dlgcont.hxx
@@ -59,7 +59,7 @@ class SfxDialogLibraryContainer : public SfxLibraryContainer
virtual void SAL_CALL importFromOldStorage( const OUString& aFile ) SAL_OVERRIDE;
- virtual SfxLibraryContainer* createInstanceImpl( void ) SAL_OVERRIDE;
+ virtual SfxLibraryContainer* createInstanceImpl() SAL_OVERRIDE;
virtual void onNewRootStorage() SAL_OVERRIDE;
@@ -69,7 +69,7 @@ class SfxDialogLibraryContainer : public SfxLibraryContainer
virtual const sal_Char* SAL_CALL getLibrariesDir() const SAL_OVERRIDE;
public:
- SfxDialogLibraryContainer( void );
+ SfxDialogLibraryContainer();
SfxDialogLibraryContainer( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage );
// Methods XStorageBasedLibraryContainer
@@ -107,8 +107,8 @@ class SfxDialogLibrary :public SfxLibrary
OUString m_aName;
// Provide modify state including resources
- virtual bool isModified( void ) SAL_OVERRIDE;
- virtual void storeResources( void ) SAL_OVERRIDE;
+ virtual bool isModified() SAL_OVERRIDE;
+ virtual void storeResources() SAL_OVERRIDE;
virtual void storeResourcesAsURL( const OUString& URL, const OUString& NewName ) SAL_OVERRIDE;
virtual void storeResourcesToURL( const OUString& URL,
const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& xHandler ) SAL_OVERRIDE;
@@ -142,11 +142,11 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::resource::XStringResourceResolver >
SAL_CALL getStringResource( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- OUString getName( void )
+ OUString getName()
{ return m_aName; }
::com::sun::star::uno::Reference< ::com::sun::star::resource::XStringResourcePersistence >
- getStringResourcePersistence( void )
+ getStringResourcePersistence()
{
return m_xStringResourcePersistence;
}