diff options
Diffstat (limited to 'sc/source/ui/unoobj/shapeuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/shapeuno.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/shapeuno.cxx b/sc/source/ui/unoobj/shapeuno.cxx index d009bda949ce..253c341338d9 100644 --- a/sc/source/ui/unoobj/shapeuno.cxx +++ b/sc/source/ui/unoobj/shapeuno.cxx @@ -1361,7 +1361,7 @@ class ShapeUnoEventAccessImpl : public ::cppu::WeakImplHelper< container::XNameR private: ScShapeObj* mpShape; - ScMacroInfo* getInfo( bool bCreate = false ) + ScMacroInfo* getInfo( bool bCreate ) { return ScShapeObj_getShapeHyperMacroInfo( mpShape, bCreate ); } @@ -1416,7 +1416,7 @@ public: uno::RuntimeException, std::exception) override { uno::Sequence< beans::PropertyValue > aProperties; - ScMacroInfo* pInfo = getInfo(); + ScMacroInfo* pInfo = getInfo(false); if ( aName == SC_EVENTACC_ONCLICK ) { |