summaryrefslogtreecommitdiff
path: root/include/svx/sidebar
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-10 16:50:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-10 17:47:01 +0100
commitafe53855a221a3c767e8eb06adfc3d1090d13bfb (patch)
treedd8fb8c18b663d6278a725968709cc92c4e8b8ec /include/svx/sidebar
parent61bd09dba251503d262edf6c443cbd7cf627392b (diff)
fix crash on rightclicking image in tdf#93675 and pressing esc
SfxBindings::UpdateControllers_Impl in sfx2/source/control/bindings.cxx has an awesome reinterpret_cast<SfxPoolItem *>(-1) so the unconditional dynamic_casts introduced during the rework of commit fee180f13d48c1fa97a3ecde4b2067e5b0f13fc2 Author: Markus Mohrhard <markus.mohrhard@googlemail.com> Date: Tue Jul 28 18:52:30 2015 +0200 split the line width panel into two pieces explode and die Change-Id: Ic99b5e515bb530b74461155b7e71b7e8814666b2
Diffstat (limited to 'include/svx/sidebar')
-rw-r--r--include/svx/sidebar/LinePropertyPanelBase.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/svx/sidebar/LinePropertyPanelBase.hxx b/include/svx/sidebar/LinePropertyPanelBase.hxx
index a5f4a992e90c..8db5b449181c 100644
--- a/include/svx/sidebar/LinePropertyPanelBase.hxx
+++ b/include/svx/sidebar/LinePropertyPanelBase.hxx
@@ -101,14 +101,14 @@ protected:
virtual void setLineCap(const XLineCapItem* pItem) = 0;
- void updateLineStyle(bool bDisabled, bool bSetOrDefault, const XLineStyleItem* pItem);
- void updateLineDash(bool bDisabled, bool bSetOrDefault, const XLineDashItem* pItem);
- void updateLineTransparence(bool bDisabled, bool bSetOrDefault, const XLineTransparenceItem* pItem);
- void updateLineWidth(bool bDisabled, bool bSetOrDefault, const XLineWidthItem* pItem);
- void updateLineStart(bool bDisabled, bool bSetOrDefault, const XLineStartItem* pItem);
- void updateLineEnd(bool bDisabled, bool bSetOrDefault, const XLineEndItem* pItem);
- void updateLineJoint(bool bDisabled, bool bSetOrDefault, const XLineJointItem* pItem);
- void updateLineCap(bool bDisabled, bool bSetOrDefault, const XLineCapItem* pItem);
+ void updateLineStyle(bool bDisabled, bool bSetOrDefault, const SfxPoolItem* pItem);
+ void updateLineDash(bool bDisabled, bool bSetOrDefault, const SfxPoolItem* pItem);
+ void updateLineTransparence(bool bDisabled, bool bSetOrDefault, const SfxPoolItem* pItem);
+ void updateLineWidth(bool bDisabled, bool bSetOrDefault, const SfxPoolItem* pItem);
+ void updateLineStart(bool bDisabled, bool bSetOrDefault, const SfxPoolItem* pItem);
+ void updateLineEnd(bool bDisabled, bool bSetOrDefault, const SfxPoolItem* pItem);
+ void updateLineJoint(bool bDisabled, bool bSetOrDefault, const SfxPoolItem* pItem);
+ void updateLineCap(bool bDisabled, bool bSetOrDefault, const SfxPoolItem* pItem);
void FillLineEndList();
void FillLineStyleList();