diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-05-03 09:45:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-04 20:32:30 +0200 |
commit | fadf6427a9cbf351727e1412d8079757a994085b (patch) | |
tree | 99c956ba2d4f8bdd9271a01316edcb17a5b23615 /include/svx | |
parent | 8538f28377356a8abd1826c011b2e2cb33dacec2 (diff) |
convert EVAnchorMode enum to scoped enum
change values to match position in definition to their meaning
Change-Id: Ia96e0c7e0c70c847dea518ef871608516542d3cb
Reviewed-on: https://gerrit.libreoffice.org/37186
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/svdomeas.hxx | 2 | ||||
-rw-r--r-- | include/svx/svdotable.hxx | 2 | ||||
-rw-r--r-- | include/svx/svdotext.hxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/svdomeas.hxx b/include/svx/svdomeas.hxx index c9c9091c3d93..be2ce849890b 100644 --- a/include/svx/svdomeas.hxx +++ b/include/svx/svdomeas.hxx @@ -139,7 +139,7 @@ public: tools::Rectangle* pAnchorRect, bool bLineWidth = true ) const override; virtual void TakeTextAnchorRect(tools::Rectangle& rAnchorRect) const override; virtual void TakeTextEditArea(Size* pPaperMin, Size* pPaperMax, tools::Rectangle* pViewInit, tools::Rectangle* pViewMin) const override; - virtual sal_uInt16 GetOutlinerViewAnchorMode() const override; + virtual EEAnchorMode GetOutlinerViewAnchorMode() const override; virtual void NbcSetOutlinerParaObject(OutlinerParaObject* pTextObject) override; virtual OutlinerParaObject* GetOutlinerParaObject() const override; diff --git a/include/svx/svdotable.hxx b/include/svx/svdotable.hxx index 1a0d57bcda7f..905b4aa2ea98 100644 --- a/include/svx/svdotable.hxx +++ b/include/svx/svdotable.hxx @@ -229,7 +229,7 @@ public: virtual void EndTextEdit(SdrOutliner& rOutl) override; virtual void TakeTextEditArea(Size* pPaperMin, Size* pPaperMax, tools::Rectangle* pViewInit, tools::Rectangle* pViewMin) const override; void TakeTextEditArea(const sdr::table::CellPos& rPos, Size* pPaperMin, Size* pPaperMax, tools::Rectangle* pViewInit, tools::Rectangle* pViewMin) const; - virtual sal_uInt16 GetOutlinerViewAnchorMode() const override; + virtual EEAnchorMode GetOutlinerViewAnchorMode() const override; virtual void NbcSetOutlinerParaObject(OutlinerParaObject* pTextObject) override; diff --git a/include/svx/svdotext.hxx b/include/svx/svdotext.hxx index 98d83b1e4651..9f6f383b5344 100644 --- a/include/svx/svdotext.hxx +++ b/include/svx/svdotext.hxx @@ -48,7 +48,7 @@ class ImpSdrObjTextLink; class EditStatus; class TextChain; class TextChainFlow; - +enum class EEAnchorMode; namespace sdr { namespace properties { class TextProperties; @@ -487,7 +487,7 @@ public: virtual bool BegTextEdit(SdrOutliner& rOutl) override; virtual void TakeTextEditArea(Size* pPaperMin, Size* pPaperMax, tools::Rectangle* pViewInit, tools::Rectangle* pViewMin) const; virtual void EndTextEdit(SdrOutliner& rOutl) override; - virtual sal_uInt16 GetOutlinerViewAnchorMode() const; + virtual EEAnchorMode GetOutlinerViewAnchorMode() const; virtual void NbcSetOutlinerParaObject(OutlinerParaObject* pTextObject) override; void NbcSetOutlinerParaObjectForText( OutlinerParaObject* pTextObject, SdrText* pText ); |