[Libreoffice-commits] core.git: svx/source
Stephan Bergmann
sbergman at redhat.com
Fri Oct 10 06:32:58 PDT 2014
svx/source/tbxctrls/tbcontrl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d8a23406a563913235d7ef75cff0d1506d398b0f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Oct 10 15:32:31 2014 +0200
UBSan: SfxBoolItem vs. SfxTemplateItem confusion
Change-Id: I277481734ae260109a6a9446b0d7769324a40aaf
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index edf9eec..7d59ac0 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -2228,7 +2228,7 @@ void SvxStyleToolBoxControl::StateChanged(
switch ( eState )
{
case SfxItemState::DEFAULT:
- eTri = ((const SfxBoolItem*)pState)->GetValue()
+ eTri = ((const SfxTemplateItem*)pState)->GetValue()
? TRISTATE_TRUE
: TRISTATE_FALSE;
break;
More information about the Libreoffice-commits
mailing list