summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-12 16:04:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-12 17:52:29 +0200
commitb36963c0a6a09f70ca6d8d607dd3249a3496497d (patch)
tree33e06dc8d227957cb31355277fb5cf20b9918628 /unotools
parentb08247a12b43fcd9f86ecd912fce7d69a3e66061 (diff)
Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
Diffstat (limited to 'unotools')
-rw-r--r--unotools/qa/unit/testGetEnglishSearchName.cxx2
-rw-r--r--unotools/source/config/cmdoptions.cxx4
-rw-r--r--unotools/source/config/compatibility.cxx4
-rw-r--r--unotools/source/config/configitem.cxx4
-rw-r--r--unotools/source/config/defaultoptions.cxx4
-rw-r--r--unotools/source/config/dynamicmenuoptions.cxx4
-rw-r--r--unotools/source/config/eventcfg.cxx4
-rw-r--r--unotools/source/config/extendedsecurityoptions.cxx4
-rw-r--r--unotools/source/config/fltrcfg.cxx8
-rw-r--r--unotools/source/config/fontoptions.cxx4
-rw-r--r--unotools/source/config/itemholder1.hxx2
-rw-r--r--unotools/source/config/lingucfg.cxx4
-rw-r--r--unotools/source/config/localisationoptions.cxx4
-rw-r--r--unotools/source/config/misccfg.cxx4
-rw-r--r--unotools/source/config/moduleoptions.cxx4
-rw-r--r--unotools/source/config/optionsdlg.cxx4
-rw-r--r--unotools/source/config/printwarningoptions.cxx4
-rw-r--r--unotools/source/config/saveopt.cxx8
-rw-r--r--unotools/source/config/searchopt.cxx4
-rw-r--r--unotools/source/config/securityoptions.cxx4
-rw-r--r--unotools/source/config/syslocaleoptions.cxx4
-rw-r--r--unotools/source/config/useroptions.cxx4
-rw-r--r--unotools/source/misc/ServiceDocumenter.hxx14
-rw-r--r--unotools/source/misc/closeveto.cxx6
-rw-r--r--unotools/source/misc/desktopterminationobserver.cxx6
-rw-r--r--unotools/source/misc/eventlisteneradapter.cxx2
-rw-r--r--unotools/source/misc/fontcvt.cxx2
-rw-r--r--unotools/source/misc/sharedunocomponent.cxx6
-rw-r--r--unotools/source/misc/syslocale.cxx2
-rw-r--r--unotools/source/ucbhelper/XTempFile.hxx46
-rw-r--r--unotools/source/ucbhelper/tempfile.cxx4
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx50
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.hxx12
33 files changed, 121 insertions, 121 deletions
diff --git a/unotools/qa/unit/testGetEnglishSearchName.cxx b/unotools/qa/unit/testGetEnglishSearchName.cxx
index c9d8e1fbe4b4..42ceebaa1498 100644
--- a/unotools/qa/unit/testGetEnglishSearchName.cxx
+++ b/unotools/qa/unit/testGetEnglishSearchName.cxx
@@ -18,7 +18,7 @@
class Test: public CppUnit::TestFixture
{
public:
- virtual void setUp() SAL_OVERRIDE;
+ virtual void setUp() override;
void testSingleElement();
CPPUNIT_TEST_SUITE(Test);
diff --git a/unotools/source/config/cmdoptions.cxx b/unotools/source/config/cmdoptions.cxx
index 6df847f8afa0..c3e324ef5ff2 100644
--- a/unotools/source/config/cmdoptions.cxx
+++ b/unotools/source/config/cmdoptions.cxx
@@ -105,7 +105,7 @@ class SvtCommandOptions_Impl : public ConfigItem
@param "lPropertyNames" is the list of properties which should be updated.
*//*-*****************************************************************************************************/
- virtual void Notify( const Sequence< OUString >& lPropertyNames ) SAL_OVERRIDE;
+ virtual void Notify( const Sequence< OUString >& lPropertyNames ) override;
/*-****************************************************************************************************
@short base implementation of public interface for "SvtDynamicMenuOptions"!
@@ -119,7 +119,7 @@ class SvtCommandOptions_Impl : public ConfigItem
private:
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
/*-****************************************************************************************************
@short return list of key names of our configuration management which represent oue module tree
diff --git a/unotools/source/config/compatibility.cxx b/unotools/source/config/compatibility.cxx
index 3578837c1a01..bb4ea726fa95 100644
--- a/unotools/source/config/compatibility.cxx
+++ b/unotools/source/config/compatibility.cxx
@@ -232,7 +232,7 @@ class SvtCompatibilityOptions_Impl : public ConfigItem
@param "lPropertyNames" is the list of properties which should be updated.
*//*-*****************************************************************************************************/
- virtual void Notify( const Sequence< OUString >& lPropertyNames ) SAL_OVERRIDE;
+ virtual void Notify( const Sequence< OUString >& lPropertyNames ) override;
// public interface
@@ -274,7 +274,7 @@ class SvtCompatibilityOptions_Impl : public ConfigItem
private:
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
/*-****************************************************************************************************
@short return list of key names of our configuration management which represent one module tree
diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx
index 7d03ab82d849..a830e8d249e6 100644
--- a/unotools/source/config/configitem.cxx
+++ b/unotools/source/config/configitem.cxx
@@ -90,10 +90,10 @@ namespace utl{
virtual ~ConfigChangeListener_Impl();
//XChangesListener
- virtual void SAL_CALL changesOccurred( const ChangesEvent& Event ) throw(RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL changesOccurred( const ChangesEvent& Event ) throw(RuntimeException, std::exception) override;
//XEventListener
- virtual void SAL_CALL disposing( const EventObject& Source ) throw(RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing( const EventObject& Source ) throw(RuntimeException, std::exception) override;
};
}
diff --git a/unotools/source/config/defaultoptions.cxx b/unotools/source/config/defaultoptions.cxx
index fab784414d80..340455586eca 100644
--- a/unotools/source/config/defaultoptions.cxx
+++ b/unotools/source/config/defaultoptions.cxx
@@ -93,10 +93,10 @@ public:
SvtDefaultOptions_Impl();
OUString GetDefaultPath( sal_uInt16 nId ) const;
- virtual void Notify( const com::sun::star::uno::Sequence<OUString>& aPropertyNames) SAL_OVERRIDE;
+ virtual void Notify( const com::sun::star::uno::Sequence<OUString>& aPropertyNames) override;
private:
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
};
// global ----------------------------------------------------------------
diff --git a/unotools/source/config/dynamicmenuoptions.cxx b/unotools/source/config/dynamicmenuoptions.cxx
index c16b8a291bad..d09ddad8acc9 100644
--- a/unotools/source/config/dynamicmenuoptions.cxx
+++ b/unotools/source/config/dynamicmenuoptions.cxx
@@ -169,7 +169,7 @@ class SvtDynamicMenuOptions_Impl : public ConfigItem
@param "lPropertyNames" is the list of properties which should be updated.
*//*-*****************************************************************************************************/
- virtual void Notify( const Sequence< OUString >& lPropertyNames ) SAL_OVERRIDE;
+ virtual void Notify( const Sequence< OUString >& lPropertyNames ) override;
/*-****************************************************************************************************
@short base implementation of public interface for "SvtDynamicMenuOptions"!
@@ -181,7 +181,7 @@ class SvtDynamicMenuOptions_Impl : public ConfigItem
private:
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
/*-****************************************************************************************************
@short return list of key names of our configuration management which represent oue module tree
diff --git a/unotools/source/config/eventcfg.cxx b/unotools/source/config/eventcfg.cxx
index 69dd7d15d0f2..d7f5ecd65564 100644
--- a/unotools/source/config/eventcfg.cxx
+++ b/unotools/source/config/eventcfg.cxx
@@ -90,13 +90,13 @@ private:
void initBindingInfo();
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
public:
GlobalEventConfig_Impl( );
virtual ~GlobalEventConfig_Impl( );
- void Notify( const com::sun::star::uno::Sequence<OUString>& aPropertyNames) SAL_OVERRIDE;
+ void Notify( const com::sun::star::uno::Sequence<OUString>& aPropertyNames) override;
void SAL_CALL replaceByName( const OUString& aName, const ::com::sun::star::uno::Any& aElement ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
diff --git a/unotools/source/config/extendedsecurityoptions.cxx b/unotools/source/config/extendedsecurityoptions.cxx
index 2622d935e894..30b27c85438e 100644
--- a/unotools/source/config/extendedsecurityoptions.cxx
+++ b/unotools/source/config/extendedsecurityoptions.cxx
@@ -70,12 +70,12 @@ class SvtExtendedSecurityOptions_Impl : public ConfigItem
@param "seqPropertyNames" is the list of properties which should be updated.
*//*-*****************************************************************************************************/
- virtual void Notify( const Sequence< OUString >& seqPropertyNames ) SAL_OVERRIDE;
+ virtual void Notify( const Sequence< OUString >& seqPropertyNames ) override;
SvtExtendedSecurityOptions::OpenHyperlinkMode GetOpenHyperlinkMode() { return m_eOpenHyperlinkMode;}
private:
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
/*-****************************************************************************************************
@short return list of key names of our configuration management which represent oue module tree
diff --git a/unotools/source/config/fltrcfg.cxx b/unotools/source/config/fltrcfg.cxx
index 20baaaa99932..38a22757a6f3 100644
--- a/unotools/source/config/fltrcfg.cxx
+++ b/unotools/source/config/fltrcfg.cxx
@@ -60,7 +60,7 @@ private:
bool bSaveVBA;
protected:
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
public:
explicit SvtAppFilterOptions_Impl(const OUString& rRoot) :
@@ -68,7 +68,7 @@ public:
bLoadVBA(false),
bSaveVBA(false) {}
virtual ~SvtAppFilterOptions_Impl();
- virtual void Notify( const com::sun::star::uno::Sequence<OUString>& aPropertyNames) SAL_OVERRIDE;
+ virtual void Notify( const com::sun::star::uno::Sequence<OUString>& aPropertyNames) override;
void Load();
bool IsLoad() const {return bLoadVBA;}
@@ -134,7 +134,7 @@ class SvtWriterFilterOptions_Impl : public SvtAppFilterOptions_Impl
private:
bool bLoadExecutable;
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
public:
explicit SvtWriterFilterOptions_Impl(const OUString& rRoot) :
@@ -182,7 +182,7 @@ class SvtCalcFilterOptions_Impl : public SvtAppFilterOptions_Impl
private:
bool bLoadExecutable;
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
public:
explicit SvtCalcFilterOptions_Impl(const OUString& rRoot) :
diff --git a/unotools/source/config/fontoptions.cxx b/unotools/source/config/fontoptions.cxx
index bd177fbe1a92..c6b32073022a 100644
--- a/unotools/source/config/fontoptions.cxx
+++ b/unotools/source/config/fontoptions.cxx
@@ -61,7 +61,7 @@ class SvtFontOptions_Impl : public ConfigItem
@param "seqPropertyNames" is the list of properties which should be updated.
*//*-*****************************************************************************************************/
- virtual void Notify( const Sequence< OUString >& seqPropertyNames ) SAL_OVERRIDE;
+ virtual void Notify( const Sequence< OUString >& seqPropertyNames ) override;
/*-****************************************************************************************************
@short access method to get internal values
@@ -76,7 +76,7 @@ class SvtFontOptions_Impl : public ConfigItem
private:
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
/*-****************************************************************************************************
@short return list of key names of our configuration management which represent oue module tree
diff --git a/unotools/source/config/itemholder1.hxx b/unotools/source/config/itemholder1.hxx
index 9e40618e317c..71383dfba57b 100644
--- a/unotools/source/config/itemholder1.hxx
+++ b/unotools/source/config/itemholder1.hxx
@@ -44,7 +44,7 @@ class ItemHolder1 : private ItemHolderMutexBase
public:
virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent)
- throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw(css::uno::RuntimeException, std::exception) override;
// helper
private:
diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx
index d2fceaed0a80..39e3877d4de2 100644
--- a/unotools/source/config/lingucfg.cxx
+++ b/unotools/source/config/lingucfg.cxx
@@ -153,14 +153,14 @@ class SvtLinguConfigItem : public utl::ConfigItem
SvtLinguConfigItem(const SvtLinguConfigItem&) = delete;
SvtLinguConfigItem& operator=(const SvtLinguConfigItem&) = delete;
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
public:
SvtLinguConfigItem();
virtual ~SvtLinguConfigItem();
// utl::ConfigItem
- virtual void Notify( const com::sun::star::uno::Sequence< OUString > &rPropertyNames ) SAL_OVERRIDE;
+ virtual void Notify( const com::sun::star::uno::Sequence< OUString > &rPropertyNames ) override;
// make some protected functions of utl::ConfigItem public
using utl::ConfigItem::GetNodeNames;
diff --git a/unotools/source/config/localisationoptions.cxx b/unotools/source/config/localisationoptions.cxx
index 9707104f63f8..72d16e864a55 100644
--- a/unotools/source/config/localisationoptions.cxx
+++ b/unotools/source/config/localisationoptions.cxx
@@ -60,7 +60,7 @@ class SvtLocalisationOptions_Impl : public ConfigItem
@param "seqPropertyNames" is the list of properties which should be updated.
*//*-*****************************************************************************************************/
- virtual void Notify( const Sequence< OUString >& seqPropertyNames ) SAL_OVERRIDE;
+ virtual void Notify( const Sequence< OUString >& seqPropertyNames ) override;
/*-****************************************************************************************************
@short access method to get internal values
@@ -73,7 +73,7 @@ class SvtLocalisationOptions_Impl : public ConfigItem
private:
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
/*-****************************************************************************************************
@short return list of key names of our configuration management which represent oue module tree
diff --git a/unotools/source/config/misccfg.cxx b/unotools/source/config/misccfg.cxx
index 1e33b09ad38e..5c7ff3fcbdbb 100644
--- a/unotools/source/config/misccfg.cxx
+++ b/unotools/source/config/misccfg.cxx
@@ -47,13 +47,13 @@ private:
static const com::sun::star::uno::Sequence<OUString> GetPropertyNames();
void Load();
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
public:
SfxMiscCfg( );
virtual ~SfxMiscCfg( );
- virtual void Notify( const com::sun::star::uno::Sequence<OUString>& aPropertyNames) SAL_OVERRIDE;
+ virtual void Notify( const com::sun::star::uno::Sequence<OUString>& aPropertyNames) override;
bool IsNotFoundWarning() const {return bNotFound;}
void SetNotFoundWarning( bool bSet);
diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx
index 93111494dc43..5677fb25f0b5 100644
--- a/unotools/source/config/moduleoptions.cxx
+++ b/unotools/source/config/moduleoptions.cxx
@@ -289,7 +289,7 @@ class SvtModuleOptions_Impl : public ::utl::ConfigItem
// override methods of baseclass
- virtual void Notify( const css::uno::Sequence< OUString >& lPropertyNames ) SAL_OVERRIDE;
+ virtual void Notify( const css::uno::Sequence< OUString >& lPropertyNames ) override;
// public interface
@@ -315,7 +315,7 @@ class SvtModuleOptions_Impl : public ::utl::ConfigItem
static css::uno::Sequence< OUString > impl_ExpandSetNames ( const css::uno::Sequence< OUString >& lSetNames );
void impl_Read ( const css::uno::Sequence< OUString >& lSetNames );
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
// private types
diff --git a/unotools/source/config/optionsdlg.cxx b/unotools/source/config/optionsdlg.cxx
index 2683a8870acb..38fd49392eab 100644
--- a/unotools/source/config/optionsdlg.cxx
+++ b/unotools/source/config/optionsdlg.cxx
@@ -52,12 +52,12 @@ private:
void ReadNode( const OUString& _rNode, NodeType _eType );
bool IsHidden( const OUString& _rPath ) const;
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
public:
SvtOptionsDlgOptions_Impl();
- virtual void Notify( const com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
+ virtual void Notify( const com::sun::star::uno::Sequence< OUString >& aPropertyNames ) override;
static ::osl::Mutex & getInitMutex();
diff --git a/unotools/source/config/printwarningoptions.cxx b/unotools/source/config/printwarningoptions.cxx
index 166e845f1711..b14efe94b0d7 100644
--- a/unotools/source/config/printwarningoptions.cxx
+++ b/unotools/source/config/printwarningoptions.cxx
@@ -59,7 +59,7 @@ public:
// override methods of baseclass
- virtual void Notify( const com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
+ virtual void Notify( const com::sun::star::uno::Sequence< OUString >& aPropertyNames ) override;
// public interface
@@ -77,7 +77,7 @@ public:
private:
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
static Sequence< OUString > impl_GetPropertyNames();
diff --git a/unotools/source/config/saveopt.cxx b/unotools/source/config/saveopt.cxx
index fd6f0736233d..928d4556ae40 100644
--- a/unotools/source/config/saveopt.cxx
+++ b/unotools/source/config/saveopt.cxx
@@ -93,13 +93,13 @@ class SvtSaveOptions_Impl : public utl::ConfigItem
bROUseSHA1InODF12,
bROUseBlowfishInODF12;
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
public:
SvtSaveOptions_Impl();
virtual ~SvtSaveOptions_Impl();
- virtual void Notify( const com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
+ virtual void Notify( const com::sun::star::uno::Sequence< OUString >& aPropertyNames ) override;
sal_Int32 GetAutoSaveTime() const { return nAutoSaveTime; }
bool IsUseUserData() const { return bUseUserData; }
@@ -766,13 +766,13 @@ class SvtLoadOptions_Impl : public utl::ConfigItem
private:
bool bLoadUserDefinedSettings;
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
public:
SvtLoadOptions_Impl();
virtual ~SvtLoadOptions_Impl();
- virtual void Notify( const com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
+ virtual void Notify( const com::sun::star::uno::Sequence< OUString >& aPropertyNames ) override;
void SetLoadUserSettings(bool b){bLoadUserDefinedSettings = b; SetModified();}
bool IsLoadUserSettings() const {return bLoadUserDefinedSettings;}
diff --git a/unotools/source/config/searchopt.cxx b/unotools/source/config/searchopt.cxx
index 8afa66b0bc5f..c98eb3e43301 100644
--- a/unotools/source/config/searchopt.cxx
+++ b/unotools/source/config/searchopt.cxx
@@ -44,7 +44,7 @@ class SvtSearchOptions_Impl : public ConfigItem
SvtSearchOptions_Impl& operator=(const SvtSearchOptions_Impl&) = delete;
// ConfigItem
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
protected:
bool IsModified() const { return bModified; }
@@ -59,7 +59,7 @@ public:
SvtSearchOptions_Impl();
virtual ~SvtSearchOptions_Impl();
- virtual void Notify( const com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
+ virtual void Notify( const com::sun::star::uno::Sequence< OUString >& aPropertyNames ) override;
bool GetFlag( sal_uInt16 nOffset ) const;
void SetFlag( sal_uInt16 nOffset, bool bVal );
diff --git a/unotools/source/config/securityoptions.cxx b/unotools/source/config/securityoptions.cxx
index 3c8fdff3fefb..df767dfeb620 100644
--- a/unotools/source/config/securityoptions.cxx
+++ b/unotools/source/config/securityoptions.cxx
@@ -101,7 +101,7 @@ class SvtSecurityOptions_Impl : public ConfigItem
{
private:
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
// public methods
@@ -125,7 +125,7 @@ class SvtSecurityOptions_Impl : public ConfigItem
@param "seqPropertyNames" is the list of properties which should be updated.
*//*-*****************************************************************************************************/
- virtual void Notify( const Sequence< OUString >& seqPropertyNames ) SAL_OVERRIDE;
+ virtual void Notify( const Sequence< OUString >& seqPropertyNames ) override;
// public interface
diff --git a/unotools/source/config/syslocaleoptions.cxx b/unotools/source/config/syslocaleoptions.cxx
index 05d25d003203..8d613d734299 100644
--- a/unotools/source/config/syslocaleoptions.cxx
+++ b/unotools/source/config/syslocaleoptions.cxx
@@ -68,13 +68,13 @@ class SvtSysLocaleOptions_Impl : public utl::ConfigItem
void MakeRealLocale();
void MakeRealUILocale();
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() override;
public:
SvtSysLocaleOptions_Impl();
virtual ~SvtSysLocaleOptions_Impl();
- virtual void Notify( const com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
+ virtual void Notify( const com::sun::star::uno::Sequence< OUString >& aPropertyNames ) override;
const OUString& GetLocaleString() const
{ return m_aLocaleString; }
diff --git a/unotools/source/config/useroptions.cxx b/unotools/source/config/useroptions.cxx
index 639200fab9c0..3dbd034a9077 100644
--- a/unotools/source/config/useroptions.cxx
+++ b/unotools/source/config/useroptions.cxx
@@ -77,9 +77,9 @@ public:
explicit ChangeListener (Impl& rParent): m_rParent(rParent) { }
// XChangesListener
- virtual void SAL_CALL changesOccurred (util::ChangesEvent const& Event) throw(uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL changesOccurred (util::ChangesEvent const& Event) throw(uno::RuntimeException, std::exception) override;
// XEventListener
- virtual void SAL_CALL disposing (lang::EventObject const& Source) throw(uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing (lang::EventObject const& Source) throw(uno::RuntimeException, std::exception) override;
private:
Impl& m_rParent;
diff --git a/unotools/source/misc/ServiceDocumenter.hxx b/unotools/source/misc/ServiceDocumenter.hxx
index 1ade2505512a..031a7efc6e66 100644
--- a/unotools/source/misc/ServiceDocumenter.hxx
+++ b/unotools/source/misc/ServiceDocumenter.hxx
@@ -25,17 +25,17 @@ class ServiceDocumenter : public ::cppu::WeakImplHelper<
, m_sServiceBaseUrl("http://api.libreoffice.org/docs/idl/ref")
{};
// XServiceDocumenter
- virtual ::rtl::OUString SAL_CALL getCoreBaseUrl() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
+ virtual ::rtl::OUString SAL_CALL getCoreBaseUrl() throw (css::uno::RuntimeException, std::exception) override
{ return m_sCoreBaseUrl; };
- virtual void SAL_CALL setCoreBaseUrl( const ::rtl::OUString& sCoreBaseUrl ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
+ virtual void SAL_CALL setCoreBaseUrl( const ::rtl::OUString& sCoreBaseUrl ) throw (css::uno::RuntimeException, std::exception) override
{ m_sCoreBaseUrl = sCoreBaseUrl; };
- virtual ::rtl::OUString SAL_CALL getServiceBaseUrl() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
+ virtual ::rtl::OUString SAL_CALL getServiceBaseUrl() throw (css::uno::RuntimeException, std::exception) override
{ return m_sServiceBaseUrl; };
- virtual void SAL_CALL setServiceBaseUrl( const ::rtl::OUString& sServiceBaseUrl ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
+ virtual void SAL_CALL setServiceBaseUrl( const ::rtl::OUString& sServiceBaseUrl ) throw (css::uno::RuntimeException, std::exception) override
{ m_sServiceBaseUrl = sServiceBaseUrl; };
- virtual void SAL_CALL showServiceDocs( const ::css::uno::Reference< ::css::lang::XServiceInfo >& xService) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL showInterfaceDocs( const ::css::uno::Reference< ::css::lang::XTypeProvider >& xTypeProvider ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL showCoreDocs( const ::css::uno::Reference< ::css::lang::XServiceInfo >& xService) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL showServiceDocs( const ::css::uno::Reference< ::css::lang::XServiceInfo >& xService) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL showInterfaceDocs( const ::css::uno::Reference< ::css::lang::XTypeProvider >& xTypeProvider ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL showCoreDocs( const ::css::uno::Reference< ::css::lang::XServiceInfo >& xService) throw (css::uno::RuntimeException, std::exception) override;
protected:
virtual ~ServiceDocumenter()
{};
diff --git a/unotools/source/misc/closeveto.cxx b/unotools/source/misc/closeveto.cxx
index 144cb248b825..958943c46587 100644
--- a/unotools/source/misc/closeveto.cxx
+++ b/unotools/source/misc/closeveto.cxx
@@ -57,11 +57,11 @@ namespace utl
}
// XCloseListener
- virtual void SAL_CALL queryClosing( const EventObject& Source, sal_Bool GetsOwnership ) throw (CloseVetoException, RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL notifyClosing( const EventObject& Source ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL queryClosing( const EventObject& Source, sal_Bool GetsOwnership ) throw (CloseVetoException, RuntimeException, std::exception) override;
+ virtual void SAL_CALL notifyClosing( const EventObject& Source ) throw (RuntimeException, std::exception) override;
// XEventListener
- virtual void SAL_CALL disposing( const EventObject& Source) throw (RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing( const EventObject& Source) throw (RuntimeException, std::exception) override;
bool hasOwnership() const { return m_bHasOwnership; }
diff --git a/unotools/source/misc/desktopterminationobserver.cxx b/unotools/source/misc/desktopterminationobserver.cxx
index cecb590c9828..3c9114f721fb 100644
--- a/unotools/source/misc/desktopterminationobserver.cxx
+++ b/unotools/source/misc/desktopterminationobserver.cxx
@@ -67,11 +67,11 @@ namespace utl
private:
// XTerminateListener
- virtual void SAL_CALL queryTermination( const EventObject& Event ) throw (TerminationVetoException, RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL notifyTermination( const EventObject& Event ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL queryTermination( const EventObject& Event ) throw (TerminationVetoException, RuntimeException, std::exception) override;
+ virtual void SAL_CALL notifyTermination( const EventObject& Event ) throw (RuntimeException, std::exception) override;
// XEventListener
- virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
};
OObserverImpl::OObserverImpl()
diff --git a/unotools/source/misc/eventlisteneradapter.cxx b/unotools/source/misc/eventlisteneradapter.cxx
index 316cc4fcf4f0..08779571ca0c 100644
--- a/unotools/source/misc/eventlisteneradapter.cxx
+++ b/unotools/source/misc/eventlisteneradapter.cxx
@@ -49,7 +49,7 @@ namespace utl
const Reference< XComponent >& getComponent() const { return m_xComponent; }
protected:
- virtual void SAL_CALL disposing( const EventObject& _rSource ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing( const EventObject& _rSource ) throw (RuntimeException, std::exception) override;
};
OEventListenerImpl::OEventListenerImpl( OEventListenerAdapter* _pAdapter, const Reference< XComponent >& _rxComp )
diff --git a/unotools/source/misc/fontcvt.cxx b/unotools/source/misc/fontcvt.cxx
index 492fd34cd687..59c34b25ef2e 100644
--- a/unotools/source/misc/fontcvt.cxx
+++ b/unotools/source/misc/fontcvt.cxx
@@ -1033,7 +1033,7 @@ private:
::std::multimap<sal_Unicode, SymbolEntry> maMagicMap;
public:
explicit StarSymbolToMSMultiFontImpl(bool bPerfectOnly);
- OUString ConvertChar(sal_Unicode &rChar) SAL_OVERRIDE;
+ OUString ConvertChar(sal_Unicode &rChar) override;
};
struct ExtraTable { sal_Unicode cStar; sal_uInt8 cMS;};
diff --git a/unotools/source/misc/sharedunocomponent.cxx b/unotools/source/misc/sharedunocomponent.cxx
index a2f29e328756..8cdde6266ecb 100644
--- a/unotools/source/misc/sharedunocomponent.cxx
+++ b/unotools/source/misc/sharedunocomponent.cxx
@@ -87,11 +87,11 @@ namespace utl
virtual ~CloseableComponentImpl();
// XCloseListener overridables
- virtual void SAL_CALL queryClosing( const EventObject& Source, sal_Bool GetsOwnership ) throw (CloseVetoException, RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL notifyClosing( const EventObject& Source ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL queryClosing( const EventObject& Source, sal_Bool GetsOwnership ) throw (CloseVetoException, RuntimeException, std::exception) override;
+ virtual void SAL_CALL notifyClosing( const EventObject& Source ) throw (RuntimeException, std::exception) override;
// XEventListener overridables
- virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
private:
/** starts or stops being a CloseListener at the component
diff --git a/unotools/source/misc/syslocale.cxx b/unotools/source/misc/syslocale.cxx
index b8e6d5678b9d..8c15256b0ca9 100644
--- a/unotools/source/misc/syslocale.cxx
+++ b/unotools/source/misc/syslocale.cxx
@@ -47,7 +47,7 @@ public:
virtual ~SvtSysLocale_Impl();
CharClass* GetCharClass();
- virtual void ConfigurationChanged( utl::ConfigurationBroadcaster*, sal_uInt32 ) SAL_OVERRIDE;
+ virtual void ConfigurationChanged( utl::ConfigurationBroadcaster*, sal_uInt32 ) override;
private:
void setDateAcceptancePatternsConfig();
diff --git a/unotools/source/ucbhelper/XTempFile.hxx b/unotools/source/ucbhelper/XTempFile.hxx
index 855e073f377b..f655217778ec 100644
--- a/unotools/source/ucbhelper/XTempFile.hxx
+++ b/unotools/source/ucbhelper/XTempFile.hxx
@@ -63,60 +63,60 @@ public:
//Methods
// XInterface
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType )
- throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL acquire( )
- throw () SAL_OVERRIDE;
+ throw () override;
virtual void SAL_CALL release( )
- throw () SAL_OVERRIDE;
+ throw () override;
// XTypeProvider
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( )
- throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::uno::RuntimeException, std::exception) override;
virtual ::com::sun::star::uno::Sequence< ::sal_Int8 > SAL_CALL getImplementationId( )
- throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::uno::RuntimeException, std::exception) override;
// XTempFile
virtual sal_Bool SAL_CALL getRemoveFile()
- throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL setRemoveFile( sal_Bool _removefile )
- throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getUri()
- throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getResourceName()
- throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::uno::RuntimeException, std::exception) override;
// XInputStream
virtual ::sal_Int32 SAL_CALL readBytes( ::com::sun::star::uno::Sequence< ::sal_Int8 >& aData, ::sal_Int32 nBytesToRead )
- throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) override;
virtual ::sal_Int32 SAL_CALL readSomeBytes( ::com::sun::star::uno::Sequence< ::sal_Int8 >& aData, ::sal_Int32 nMaxBytesToRead )
- throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL skipBytes( ::sal_Int32 nBytesToSkip )
- throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) override;
virtual ::sal_Int32 SAL_CALL available( )
- throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL closeInput( )
- throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) override;
// XOutputStream
virtual void SAL_CALL writeBytes( const ::com::sun::star::uno::Sequence< ::sal_Int8 >& aData )
- throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL flush( )
- throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL closeOutput( )
- throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) override;
// XSeekable
virtual void SAL_CALL seek( sal_Int64 location )
- throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) override;
virtual sal_Int64 SAL_CALL getPosition( )
- throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) override;
virtual sal_Int64 SAL_CALL getLength( )
- throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) override;
// XStream
virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getInputStream( )
- throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::uno::RuntimeException, std::exception) override;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > SAL_CALL getOutputStream( )
- throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::uno::RuntimeException, std::exception) override;
// XTruncate
virtual void SAL_CALL truncate()
- throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) override;
virtual ~OTempFileService ();
};
diff --git a/unotools/source/ucbhelper/tempfile.cxx b/unotools/source/ucbhelper/tempfile.cxx
index 3a7bb6389208..a8c2822dd318 100644
--- a/unotools/source/ucbhelper/tempfile.cxx
+++ b/unotools/source/ucbhelper/tempfile.cxx
@@ -172,7 +172,7 @@ class SequentialTokens: public Tokens {
public:
explicit SequentialTokens(bool showZero): m_value(0), m_show(showZero) {}
- bool next(OUString * token) SAL_OVERRIDE {
+ bool next(OUString * token) override {
assert(token != 0);
if (m_value == SAL_MAX_UINT32) {
return false;
@@ -192,7 +192,7 @@ class UniqueTokens: public Tokens {
public:
UniqueTokens(): m_count(0) {}
- bool next(OUString * token) SAL_OVERRIDE {
+ bool next(OUString * token) override {
assert(token != 0);
// Because of the shared globalValue, no single instance of UniqueTokens
// is guaranteed to exhaustively test all 36^6 possible values, but stop
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index a6fe80a0ad06..e0b486f91571 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -79,16 +79,16 @@ public:
{}
// XActiveDataControl.
- virtual void SAL_CALL addListener ( const Reference<XStreamListener> &/*rxListener*/) throw(RuntimeException, std::exception) SAL_OVERRIDE {}
- virtual void SAL_CALL removeListener ( const Reference<XStreamListener> &/*rxListener*/) throw(RuntimeException, std::exception) SAL_OVERRIDE {}
- virtual void SAL_CALL start() throw(RuntimeException, std::exception) SAL_OVERRIDE {}
- virtual void SAL_CALL terminate() throw(RuntimeException, std::exception) SAL_OVERRIDE
+ virtual void SAL_CALL addListener ( const Reference<XStreamListener> &/*rxListener*/) throw(RuntimeException, std::exception) override {}
+ virtual void SAL_CALL removeListener ( const Reference<XStreamListener> &/*rxListener*/) throw(RuntimeException, std::exception) override {}
+ virtual void SAL_CALL start() throw(RuntimeException, std::exception) override {}
+ virtual void SAL_CALL terminate() throw(RuntimeException, std::exception) override
{ m_xLockBytes->terminate_Impl(); }
// XActiveDataSink.
- virtual void SAL_CALL setInputStream ( const Reference<XInputStream> &rxInputStream) throw(RuntimeException, std::exception) SAL_OVERRIDE
+ virtual void SAL_CALL setInputStream ( const Reference<XInputStream> &rxInputStream) throw(RuntimeException, std::exception) override
{ m_xLockBytes->setInputStream_Impl (rxInputStream); }
- virtual Reference<XInputStream> SAL_CALL getInputStream() throw(RuntimeException, std::exception) SAL_OVERRIDE
+ virtual Reference<XInputStream> SAL_CALL getInputStream() throw(RuntimeException, std::exception) override
{ return m_xLockBytes->getInputStream_Impl(); }
};
@@ -106,16 +106,16 @@ public:
{}
// XActiveDataControl.
- virtual void SAL_CALL addListener ( const Reference<XStreamListener> &/*rxListener*/) throw(RuntimeException, std::exception) SAL_OVERRIDE {}
- virtual void SAL_CALL removeListener ( const Reference<XStreamListener> &/*rxListener*/) throw(RuntimeException, std::exception) SAL_OVERRIDE {}
- virtual void SAL_CALL start() throw(RuntimeException, std::exception) SAL_OVERRIDE {}
- virtual void SAL_CALL terminate() throw(RuntimeException, std::exception) SAL_OVERRIDE
+ virtual void SAL_CALL addListener ( const Reference<XStreamListener> &/*rxListener*/) throw(RuntimeException, std::exception) override {}
+ virtual void SAL_CALL removeListener ( const Reference<XStreamListener> &/*rxListener*/) throw(RuntimeException, std::exception) override {}
+ virtual void SAL_CALL start() throw(RuntimeException, std::exception) override {}
+ virtual void SAL_CALL terminate() throw(RuntimeException, std::exception) override
{ m_xLockBytes->terminate_Impl(); }
// XActiveDataStreamer
- virtual void SAL_CALL setStream( const Reference< XStream >& aStream ) throw(RuntimeException, std::exception) SAL_OVERRIDE
+ virtual void SAL_CALL setStream( const Reference< XStream >& aStream ) throw(RuntimeException, std::exception) override
{ m_xStream = aStream; m_xLockBytes->setStream_Impl( aStream ); }
- virtual Reference< XStream > SAL_CALL getStream() throw(RuntimeException, std::exception) SAL_OVERRIDE
+ virtual Reference< XStream > SAL_CALL getStream() throw(RuntimeException, std::exception) override
{ return m_xStream; }
};
@@ -134,10 +134,10 @@ public:
, m_xProgressHandler( rxProgressHandler )
{}
- virtual Reference<XInteractionHandler> SAL_CALL getInteractionHandler() throw (RuntimeException, std::exception) SAL_OVERRIDE
+ virtual Reference<XInteractionHandler> SAL_CALL getInteractionHandler() throw (RuntimeException, std::exception) override
{ return m_xInteractionHandler; }
- virtual Reference<XProgressHandler> SAL_CALL getProgressHandler() throw (RuntimeException, std::exception) SAL_OVERRIDE
+ virtual Reference<XProgressHandler> SAL_CALL getProgressHandler() throw (RuntimeException, std::exception) override
{ return m_xProgressHandler; }
};
@@ -153,8 +153,8 @@ public:
: m_xLockBytes( rRef )
{}
- virtual void SAL_CALL disposing ( const EventObject &/*rEvent*/) throw(RuntimeException, std::exception) SAL_OVERRIDE {}
- virtual void SAL_CALL propertiesChange ( const Sequence<PropertyChangeEvent> &rEvent) throw(RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing ( const EventObject &/*rEvent*/) throw(RuntimeException, std::exception) override {}
+ virtual void SAL_CALL propertiesChange ( const Sequence<PropertyChangeEvent> &rEvent) throw(RuntimeException, std::exception) override;
};
void SAL_CALL UcbPropertiesChangeListener_Impl::propertiesChange ( const Sequence<PropertyChangeEvent> &rEvent) throw(RuntimeException, std::exception)
@@ -263,7 +263,7 @@ public:
}
protected:
- bool applies() const SAL_OVERRIDE {
+ bool applies() const override {
return m_aModerator.m_aResultType != NORESULT;
}
@@ -297,7 +297,7 @@ public:
}
protected:
- bool applies() const SAL_OVERRIDE {
+ bool applies() const override {
return m_aModerator.m_aReplyType != NOREPLY;
}
@@ -313,8 +313,8 @@ public:
void setInputStream(const Reference<XInputStream> &rxInputStream);
protected:
- virtual void SAL_CALL run() SAL_OVERRIDE;
- virtual void SAL_CALL onTerminated() SAL_OVERRIDE;
+ virtual void SAL_CALL run() override;
+ virtual void SAL_CALL onTerminated() override;
private:
osl::Mutex m_aMutex;
@@ -351,14 +351,14 @@ public:
)
throw(
RuntimeException, std::exception
- ) SAL_OVERRIDE;
+ ) override;
virtual Reference<XStream> SAL_CALL
getStream (
void
) throw(
RuntimeException, std::exception
- ) SAL_OVERRIDE
+ ) override
{
osl::MutexGuard aGuard(m_aMutex);
return m_xStream;
@@ -387,14 +387,14 @@ public:
)
throw(
RuntimeException, std::exception
- ) SAL_OVERRIDE;
+ ) override;
virtual Reference<XInputStream> SAL_CALL
getInputStream (
void
) throw(
RuntimeException, std::exception
- ) SAL_OVERRIDE
+ ) override
{
osl::MutexGuard aGuard(m_aMutex);
return m_xStream;
@@ -465,7 +465,7 @@ public:
virtual void SAL_CALL
handle( const Reference<XInteractionRequest >& Request )
- throw (RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (RuntimeException, std::exception) override;
private:
diff --git a/unotools/source/ucbhelper/ucblockbytes.hxx b/unotools/source/ucbhelper/ucblockbytes.hxx
index ad432ecf9c77..0fda19bf52d0 100644
--- a/unotools/source/ucbhelper/ucblockbytes.hxx
+++ b/unotools/source/ucbhelper/ucblockbytes.hxx
@@ -113,12 +113,12 @@ public:
static UcbLockBytesRef CreateLockBytes( const ::com::sun::star::uno::Reference < ::com::sun::star::io::XStream >& xContent );
// SvLockBytes
- virtual void SetSynchronMode (bool bSynchron) SAL_OVERRIDE;
- virtual ErrCode ReadAt(sal_uInt64 nPos, void *pBuffer, sal_uLong nCount, sal_uLong *pRead) const SAL_OVERRIDE;
- virtual ErrCode WriteAt(sal_uInt64, const void*, sal_uLong, sal_uLong *pWritten) SAL_OVERRIDE;
- virtual ErrCode Flush() const SAL_OVERRIDE;
- virtual ErrCode SetSize(sal_uInt64) SAL_OVERRIDE;
- virtual ErrCode Stat ( SvLockBytesStat *pStat, SvLockBytesStatFlag) const SAL_OVERRIDE;
+ virtual void SetSynchronMode (bool bSynchron) override;
+ virtual ErrCode ReadAt(sal_uInt64 nPos, void *pBuffer, sal_uLong nCount, sal_uLong *pRead) const override;
+ virtual ErrCode WriteAt(sal_uInt64, const void*, sal_uLong, sal_uLong *pWritten) override;
+ virtual ErrCode Flush() const override;
+ virtual ErrCode SetSize(sal_uInt64) override;
+ virtual ErrCode Stat ( SvLockBytesStat *pStat, SvLockBytesStatFlag) const override;
void SetError( ErrCode nError )
{ m_nError = nError; }