"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "sd/source/ui/view/drviewsj.cxx" between
libreoffice-7.1.5.1.tar.xz and libreoffice-7.1.5.2.tar.xz

About: LibreOffice source code (core). "Fresh" packages (pre-release version).

drviewsj.cxx  (libreoffice-7.1.5.1.tar.xz):drviewsj.cxx  (libreoffice-7.1.5.2.tar.xz)
skipping to change at line 274 skipping to change at line 274
{ {
rSet.DisableItem( SID_MODIFY_FIELD ); rSet.DisableItem( SID_MODIFY_FIELD );
} }
} }
else else
rSet.DisableItem( SID_MODIFY_FIELD ); rSet.DisableItem( SID_MODIFY_FIELD );
} }
if( SfxItemState::DEFAULT == rSet.GetItemState( SID_OUTLINE_TEXT_AUTOFIT ) ) if( SfxItemState::DEFAULT == rSet.GetItemState( SID_OUTLINE_TEXT_AUTOFIT ) )
{ {
const SdrObject* pObj = rMarkList.GetMark(0)->GetMarkedSdrObj(); const SdrObject* pObj = rMarkList.GetMark(0)->GetMarkedSdrObj();
const bool bSet = pObj->GetMergedItemSet().GetItem<SdrTextFitToSizeT const SdrTextFitToSizeTypeItem* pItem = pObj->GetMergedItemSet().Get
ypeItem>(SDRATTR_TEXT_FITTOSIZE)->GetValue() != drawing::TextFitToSizeType_NONE; Item<SdrTextFitToSizeTypeItem>(SDRATTR_TEXT_FITTOSIZE);
const bool bSet = pItem && pItem->GetValue() != drawing::TextFitToSi
zeType_NONE;
rSet.Put(SfxBoolItem(SID_OUTLINE_TEXT_AUTOFIT, bSet)); rSet.Put(SfxBoolItem(SID_OUTLINE_TEXT_AUTOFIT, bSet));
} }
rSet.DisableItem(SID_GROUP); rSet.DisableItem(SID_GROUP);
rSet.DisableItem(SID_TEXT_COMBINE); rSet.DisableItem(SID_TEXT_COMBINE);
rSet.DisableItem(SID_COMBINE); rSet.DisableItem(SID_COMBINE);
rSet.DisableItem(SID_DISTRIBUTE_HLEFT); rSet.DisableItem(SID_DISTRIBUTE_HLEFT);
rSet.DisableItem(SID_DISTRIBUTE_HCENTER); rSet.DisableItem(SID_DISTRIBUTE_HCENTER);
rSet.DisableItem(SID_DISTRIBUTE_HDISTANCE); rSet.DisableItem(SID_DISTRIBUTE_HDISTANCE);
rSet.DisableItem(SID_DISTRIBUTE_HRIGHT); rSet.DisableItem(SID_DISTRIBUTE_HRIGHT);
 End of changes. 1 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)