diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-13 14:56:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-14 08:01:24 +0000 |
commit | 36bd6f9a616881db2193aa2e38d6d1703678db39 (patch) | |
tree | 6f8672f1314decf951ab5dae5e2c45a386599186 /svx | |
parent | 2b70fb58be039fbd05ea833a40b1b3e9f922e45c (diff) |
remove unused Invalid enumerator from ShapeProperty enum
Change-Id: I27f1d50cc67210ca976fd97beb9dc71b975ac98d
Reviewed-on: https://gerrit.libreoffice.org/34240
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/shapepropertynotifier.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/svx/source/unodraw/shapepropertynotifier.cxx b/svx/source/unodraw/shapepropertynotifier.cxx index 9ad56aed42b9..14bef235b355 100644 --- a/svx/source/unodraw/shapepropertynotifier.cxx +++ b/svx/source/unodraw/shapepropertynotifier.cxx @@ -102,7 +102,6 @@ namespace svx void PropertyChangeNotifier::registerProvider(const ShapeProperty _eProperty, const std::shared_ptr<IPropertyValueProvider>& _rProvider) { - ENSURE_OR_THROW( _eProperty != ShapeProperty::Invalid, "Illegal ShapeProperty value!" ); ENSURE_OR_THROW( !!_rProvider, "NULL factory not allowed." ); OSL_ENSURE( m_xData->m_aProviders.find( _eProperty ) == m_xData->m_aProviders.end(), @@ -113,8 +112,6 @@ namespace svx void PropertyChangeNotifier::notifyPropertyChange( const ShapeProperty _eProperty ) const { - ENSURE_OR_THROW( _eProperty != ShapeProperty::Invalid, "Illegal ShapeProperty value!" ); - PropertyProviders::const_iterator provPos = m_xData->m_aProviders.find( _eProperty ); OSL_ENSURE( provPos != m_xData->m_aProviders.end(), "PropertyChangeNotifier::notifyPropertyChange: no factory!" ); if ( provPos == m_xData->m_aProviders.end() ) |