summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de (CIB)>2018-03-18 11:20:36 +0100
committerArmin Le Grand <Armin.Le.Grand@cib.de>2018-04-06 18:06:35 +0200
commit8cd37871876db7f56d8b1a6d8b9700b5d4936143 (patch)
tree9fd39028a3b65482a93af2596c9fa7ee524f3a51
parent6bdae9bd89ec629dded42414b0c96e998046a780 (diff)
SOSAW080: getSdrModelFromUnoModel added override marks
Change-Id: I22de9a1c8af7c25be5c108671ddc548ba323ed47
-rw-r--r--include/svx/unomodel.hxx2
-rw-r--r--reportdesign/inc/ReportDefinition.hxx5
-rw-r--r--sc/inc/docuno.hxx2
-rw-r--r--sd/source/ui/inc/unomodel.hxx2
-rw-r--r--sw/inc/unotxdoc.hxx2
5 files changed, 8 insertions, 5 deletions
diff --git a/include/svx/unomodel.hxx b/include/svx/unomodel.hxx
index 7f8a27a20f2b..e637e4486d2a 100644
--- a/include/svx/unomodel.hxx
+++ b/include/svx/unomodel.hxx
@@ -56,7 +56,7 @@ private:
protected:
// SvxUnoDrawMSFactory
- virtual SdrModel* getSdrModelFromUnoModel() const;
+ virtual SdrModel* getSdrModelFromUnoModel() const override;
public:
SvxUnoDrawingModel( SdrModel* pDoc ) throw();
diff --git a/reportdesign/inc/ReportDefinition.hxx b/reportdesign/inc/ReportDefinition.hxx
index 6d877a08ae24..79c58c998600 100644
--- a/reportdesign/inc/ReportDefinition.hxx
+++ b/reportdesign/inc/ReportDefinition.hxx
@@ -186,11 +186,14 @@ namespace reportdesign
css::uno::Reference< css::uno::XComponentContext > getContext();
+ protected:
/** abstract SdrModel provider */
- virtual SdrModel* getSdrModelFromUnoModel() const;
+ virtual SdrModel* getSdrModelFromUnoModel() const override;
+ public:
//TTTT Needed? Or same as above?
static std::shared_ptr<rptui::OReportModel> getSdrModel(const css::uno::Reference< css::report::XReportDefinition >& _xReportDefinition);
+
private:
DECLARE_XINTERFACE( )
DECLARE_XTYPEPROVIDER( )
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx
index dd19e0bbdc58..8c7382cd1050 100644
--- a/sc/inc/docuno.hxx
+++ b/sc/inc/docuno.hxx
@@ -125,7 +125,7 @@ protected:
const SfxItemPropertySet& GetPropertySet() const { return aPropSet; }
/** abstract SdrModel provider */
- virtual SdrModel* getSdrModelFromUnoModel() const;
+ virtual SdrModel* getSdrModelFromUnoModel() const override;
public:
ScModelObj(ScDocShell* pDocSh);
diff --git a/sd/source/ui/inc/unomodel.hxx b/sd/source/ui/inc/unomodel.hxx
index 3df8e955fb25..381b22be955f 100644
--- a/sd/source/ui/inc/unomodel.hxx
+++ b/sd/source/ui/inc/unomodel.hxx
@@ -130,7 +130,7 @@ private:
protected:
/** abstract SdrModel provider */
- virtual SdrModel* getSdrModelFromUnoModel() const;
+ virtual SdrModel* getSdrModelFromUnoModel() const override;
public:
SdXImpressDocument(::sd::DrawDocShell* pShell, bool bClipBoard);
diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx
index 51dee53c47da..eb0964f922c6 100644
--- a/sw/inc/unotxdoc.hxx
+++ b/sw/inc/unotxdoc.hxx
@@ -201,7 +201,7 @@ private:
protected:
/** abstract SdrModel provider */
- virtual SdrModel* getSdrModelFromUnoModel() const;
+ virtual SdrModel* getSdrModelFromUnoModel() const override;
virtual ~SwXTextDocument() override;
public: