summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unodraw.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-23 11:53:22 +0200
committerNoel Grandin <noel@peralex.com>2016-08-24 08:47:57 +0200
commit44b2afa192fbf78d337cf18840c26b7d04e91a4e (patch)
tree7e317015cada10da03f4395b265dd0bd68b75684 /sw/source/core/unocore/unodraw.cxx
parentc33a1d47de07c327013979b1165f72298eaded45 (diff)
convert ShapeProperty to scoped enum
Change-Id: I2e0dc3aaefb174c8960bb6b8ce9a4ad830626ba4
Diffstat (limited to 'sw/source/core/unocore/unodraw.cxx')
-rw-r--r--sw/source/core/unocore/unodraw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx
index b608315d90ce..f3d7cf5614e2 100644
--- a/sw/source/core/unocore/unodraw.cxx
+++ b/sw/source/core/unocore/unodraw.cxx
@@ -911,7 +911,7 @@ namespace
void lcl_addShapePropertyEventFactories( SdrObject& _rObj, SwXShape& _rShape )
{
std::shared_ptr<svx::IPropertyValueProvider> pProvider( new svx::PropertyValueProvider( _rShape, "AnchorType" ) );
- _rObj.getShapePropertyChangeNotifier().registerProvider( svx::eTextShapeAnchorType, pProvider );
+ _rObj.getShapePropertyChangeNotifier().registerProvider( svx::ShapeProperty::TextDocAnchor, pProvider );
}
}