From dc7b71c581b9560a9a0c7bafe46bc0eaaa61117b Mon Sep 17 00:00:00 2001 From: Wol Date: Mon, 29 Nov 2010 15:10:42 +0000 Subject: More deleted comments ../../../dbaccess/source/core/misc/0001-More-translations-and-comment-deletion-for-Base.patch --- reportdesign/source/ui/misc/FunctionHelper.cxx | 5 ----- reportdesign/source/ui/misc/UITools.cxx | 14 -------------- 2 files changed, 19 deletions(-) diff --git a/reportdesign/source/ui/misc/FunctionHelper.cxx b/reportdesign/source/ui/misc/FunctionHelper.cxx index 731a59ee5ce8..d666fd3ce144 100644 --- a/reportdesign/source/ui/misc/FunctionHelper.cxx +++ b/reportdesign/source/ui/misc/FunctionHelper.cxx @@ -93,11 +93,6 @@ const formula::IFunctionDescription* FunctionManager::getFunctionByName(const :: // ----------------------------------------------------------------------------- void FunctionManager::fillLastRecentlyUsedFunctions(::std::vector< const formula::IFunctionDescription*>& /*_rLastRUFunctions*/) const { - //const sal_uInt32 nCount = getCount(); - //for(sal_uInt32 i = 0 ; i < nCount ; ++i) - //{ - // const formula::IFunctionCategory* pCategory = getCategory( - //} } // ----------------------------------------------------------------------------- ::boost::shared_ptr< FunctionDescription > FunctionManager::get(const uno::Reference< report::meta::XFunctionDescription>& _xFunctionDescription) const diff --git a/reportdesign/source/ui/misc/UITools.cxx b/reportdesign/source/ui/misc/UITools.cxx index 2abd72becd67..492eb8d345a6 100644 --- a/reportdesign/source/ui/misc/UITools.cxx +++ b/reportdesign/source/ui/misc/UITools.cxx @@ -353,7 +353,6 @@ namespace _rItemSet.Put(aUnderLineItem); _rItemSet.Put(SvxKerningItem(_rxReportControlFormat->getCharKerning(),ITEMID_KERNING)); _rItemSet.Put(SvxEmphasisMarkItem(static_cast(_rxReportControlFormat->getCharEmphasis()),ITEMID_EMPHASISMARK)); - //_rItemSet.Put(SvxTwoLinesItem()); _rItemSet.Put(SvxCharReliefItem(static_cast(_rxReportControlFormat->getCharRelief()),ITEMID_CHARRELIEF)); _rItemSet.Put(SvxColorItem(::Color(_rxReportControlFormat->getCharColor()),ITEMID_COLOR)); _rItemSet.Put(SvxCharRotateItem(_rxReportControlFormat->getCharRotation(),sal_False,ITEMID_CHARROTATE)); @@ -362,11 +361,9 @@ namespace SvxHorJustifyItem aHorJustifyItem(ITEMID_HORJUSTIFY); aHorJustifyItem.PutValue(xSet->getPropertyValue(PROPERTY_PARAADJUST),MID_HORJUST_ADJUST); _rItemSet.Put(aHorJustifyItem); - //_rItemSet.Put(SfxInt32Item(ITEMID_DEGREES,_rxReportControlFormat->getCharRotation())); SvxVerJustifyItem aVerJustifyItem(ITEMID_VERJUSTIFY); aVerJustifyItem.PutValue(xSet->getPropertyValue(PROPERTY_VERTICALALIGN),MID_HORJUST_ADJUST); _rItemSet.Put(aVerJustifyItem); - //_rItemSet.Put(SfxInt32Item(ITEMID_IDENT,_rxReportControlFormat->getCharRotation())); uno::Reference< report::XShape> xShape(_rxReportControlFormat,uno::UNO_QUERY); if ( !xShape.is() ) @@ -641,7 +638,6 @@ bool openCharDialog( const uno::Reference& _rxRep { SID_ATTR_CHAR_SCALEWIDTH, SFX_ITEM_POOLABLE }, { SID_ATTR_CHAR_RELIEF, SFX_ITEM_POOLABLE }, { SID_ATTR_CHAR_HIDDEN, SFX_ITEM_POOLABLE }, - //{ SID_ATTR_BRUSH_CHAR, SFX_ITEM_POOLABLE }, { SID_ATTR_BRUSH, SFX_ITEM_POOLABLE }, { SID_ATTR_ALIGN_HOR_JUSTIFY, SFX_ITEM_POOLABLE }, { SID_ATTR_ALIGN_VER_JUSTIFY, SFX_ITEM_POOLABLE }, @@ -761,12 +757,6 @@ bool openAreaDialog( const uno::Reference& _xShape,const uno::R Window* pParent = VCLUnoHelper::GetWindow( _rxParentWindow ); - //static USHORT pRanges[] = - //{ - // XATTR_START,XATTR_END, - // 0 - //}; - bool bSuccess = false; try { @@ -1002,9 +992,6 @@ void correctOverlapping(SdrObject* _pControl,OReportSection& _aReportSection,boo { OSectionView& rSectionView = _aReportSection.getSectionView(); uno::Reference< report::XReportComponent> xComponent(_pControl->getUnoShape(),uno::UNO_QUERY); - // Rectangle aRet(VCLPoint(xComponent->getPosition()),VCLSize(xComponent->getSize())); - // aRet.setHeight(aRet.getHeight() + 1); - // aRet.setWidth(aRet.getWidth() + 1); Rectangle aRect = getRectangleFromControl(_pControl); bool bOverlapping = true; @@ -1040,7 +1027,6 @@ bool openDialogFormula_nothrow( ::rtl::OUString& _in_out_rFormula OSL_PRECOND( _xInspectorWindow.is(), "openDialogFormula_nothrow: invalid parameters!" ); if ( !_xInspectorWindow.is() ) return false; - // _out_rFormula = ::rtl::OUString(); bool bSuccess = false; ::dbtools::SQLExceptionInfo aErrorInfo; uno::Reference< awt::XWindow > xInspectorWindow; -- cgit