summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdibrow.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-04 19:22:55 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-04 19:22:55 +0200
commit151fbebf8ced85ee8582fe1ad8a8176e061845a6 (patch)
tree1615fcdaf075969b08302c5fb33e0f10d31d4d1e /svx/source/svdraw/svdibrow.cxx
parent013744a5b475e151ca0918565fb369e22dfbc1db (diff)
Consistency around SdrOnOffItem in svx/sdtagitm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I6d8b3709d6d55bd6958d38f262141c43779dfdcc
Diffstat (limited to 'svx/source/svdraw/svdibrow.cxx')
-rw-r--r--svx/source/svdraw/svdibrow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdibrow.cxx b/svx/source/svdraw/svdibrow.cxx
index 40ca0d9f212a..05de58c280bd 100644
--- a/svx/source/svdraw/svdibrow.cxx
+++ b/svx/source/svdraw/svdibrow.cxx
@@ -789,7 +789,7 @@ bool IsItemIneffective(sal_uInt16 nWhich, const SfxItemSet* pSet, sal_uInt16& rI
case SDRATTR_TEXT_MAXFRAMEHEIGHT: {
rIndent=1;
if (ImpGetItem(*pSet,SDRATTR_TEXT_AUTOGROWHEIGHT,pItem)) {
- bool bAutoGrow=((const SdrTextAutoGrowHeightItem*)pItem)->GetValue();
+ bool bAutoGrow=((const SdrOnOffItem*)pItem)->GetValue();
if (!bAutoGrow) return true;
}
} break;
@@ -797,7 +797,7 @@ bool IsItemIneffective(sal_uInt16 nWhich, const SfxItemSet* pSet, sal_uInt16& rI
case SDRATTR_TEXT_MAXFRAMEWIDTH: {
rIndent=1;
if (ImpGetItem(*pSet,SDRATTR_TEXT_AUTOGROWWIDTH,pItem)) {
- bool bAutoGrow=((const SdrTextAutoGrowWidthItem*)pItem)->GetValue();
+ bool bAutoGrow=((const SdrOnOffItem*)pItem)->GetValue();
if (!bAutoGrow) return true;
}
} break;