[Libreoffice-commits] .: sd/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Nov 11 00:48:33 PST 2010
sd/source/ui/view/drviewsj.cxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit b360f3ed6af41bd690c2c0d64291e002f5adc5ea
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Nov 11 08:48:19 2010 +0000
fix compile error
diff --git a/sd/source/ui/view/drviewsj.cxx b/sd/source/ui/view/drviewsj.cxx
index 65e93ae..1d01f04 100644
--- a/sd/source/ui/view/drviewsj.cxx
+++ b/sd/source/ui/view/drviewsj.cxx
@@ -289,9 +289,8 @@ void DrawViewShell::GetMenuStateSel( SfxItemSet &rSet )
}
if( SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_OUTLINE_TEXT_AUTOFIT ) )
{
- SdrObject* const pObj = rMarkList.GetMark(0)->GetMarkedSdrObj();
- bool const bSet = ((const SdrTextFitToSizeTypeItem*)pObj->GetMergedItemSet().GetItem(SDRATTR_TEXT_FITTOSIZE))->GetValue() != SDRTEXTFIT_NONE;
- }
+ const SdrObject* pObj = rMarkList.GetMark(0)->GetMarkedSdrObj();
+ const bool bSet = ((const SdrTextFitToSizeTypeItem*)pObj->GetMergedItemSet().GetItem(SDRATTR_TEXT_FITTOSIZE))->GetValue() != SDRTEXTFIT_NONE;
rSet.Put(SfxBoolItem(SID_OUTLINE_TEXT_AUTOFIT, bSet));
}
More information about the Libreoffice-commits
mailing list