svn commit: r1559545 - /openoffice/trunk/main/sc/source/ui/view/tabvwsh4.cxx
Author: paveljanik Date: Sun Jan 19 18:41:28 2014 New Revision: 1559545 URL: http://svn.apache.org/r1559545 Log: WaE: Reorder initializations to prevent compiler warnings. Modified: openoffice/trunk/main/sc/source/ui/view/tabvwsh4.cxx Modified: openoffice/trunk/main/sc/source/ui/view/tabvwsh4.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/view/tabvwsh4.cxx?rev=1559545r1=1559544r2=1559545view=diff == --- openoffice/trunk/main/sc/source/ui/view/tabvwsh4.cxx (original) +++ openoffice/trunk/main/sc/source/ui/view/tabvwsh4.cxx Sun Jan 19 18:41:28 2014 @@ -1588,9 +1588,9 @@ FASTBOOL __EXPORT ScTabViewShell::KeyInp pScSbxObject(NULL), \ /*bChartDlgIsEdit(sal_False),*/ \ bChartAreaValid(sal_False), \ - bForceFocusOnCurCell(sal_False),\ nCurRefDlgId(0),\ - pAccessibilityBroadcaster(NULL) + pAccessibilityBroadcaster(NULL),\ + bForceFocusOnCurCell(sal_False) //--
svn commit: r1555241 - /openoffice/trunk/main/sw/source/ui/docvw/SidebarWin.cxx
Author: paveljanik Date: Fri Jan 3 20:12:06 2014 New Revision: 1555241 URL: http://svn.apache.org/r1555241 Log: WaE: Compare numerical values to 0, not NULL. Modified: openoffice/trunk/main/sw/source/ui/docvw/SidebarWin.cxx Modified: openoffice/trunk/main/sw/source/ui/docvw/SidebarWin.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/docvw/SidebarWin.cxx?rev=1555241r1=1555240r2=1555241view=diff == --- openoffice/trunk/main/sw/source/ui/docvw/SidebarWin.cxx (original) +++ openoffice/trunk/main/sw/source/ui/docvw/SidebarWin.cxx Fri Jan 3 20:12:06 2014 @@ -579,7 +579,7 @@ void SwSidebarWin::SetPosAndSize() } // text range overlay -if ( mrSidebarItem.maLayoutInfo.mnStartNodeIdx != NULL +if ( mrSidebarItem.maLayoutInfo.mnStartNodeIdx != 0 mrSidebarItem.maLayoutInfo.mnStartContent != STRING_NOTFOUND ) { std::vector basegfx::B2DRange aAnnotationTextRanges;
svn commit: r1551017 - /openoffice/trunk/main/svx/source/table/accessibletableshape.cxx
Author: paveljanik Date: Sun Dec 15 12:08:22 2013 New Revision: 1551017 URL: http://svn.apache.org/r1551017 Log: WaE: reorder initializations to prevent compiler warnings. Modified: openoffice/trunk/main/svx/source/table/accessibletableshape.cxx Modified: openoffice/trunk/main/svx/source/table/accessibletableshape.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/table/accessibletableshape.cxx?rev=1551017r1=1551016r2=1551017view=diff == --- openoffice/trunk/main/svx/source/table/accessibletableshape.cxx (original) +++ openoffice/trunk/main/svx/source/table/accessibletableshape.cxx Sun Dec 15 12:08:22 2013 @@ -327,8 +327,8 @@ void SAL_CALL AccessibleTableShapeImpl:: AccessibleTableShape::AccessibleTableShape( const AccessibleShapeInfo rShapeInfo, const AccessibleShapeTreeInfo rShapeTreeInfo) : AccessibleTableShape_Base(rShapeInfo, rShapeTreeInfo) -, mxImpl( new AccessibleTableShapeImpl( maShapeTreeInfo ) ) , mnPreviousSelectionCount(0) +, mxImpl( new AccessibleTableShapeImpl( maShapeTreeInfo ) ) { }
svn commit: r1545969 - /openoffice/trunk/main/sw/source/core/access/accportions.cxx
Author: paveljanik Date: Wed Nov 27 09:25:37 2013 New Revision: 1545969 URL: http://svn.apache.org/r1545969 Log: WaE: compare unsigned values to prevent compiler warnings. Modified: openoffice/trunk/main/sw/source/core/access/accportions.cxx Modified: openoffice/trunk/main/sw/source/core/access/accportions.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/core/access/accportions.cxx?rev=1545969r1=1545968r2=1545969view=diff == --- openoffice/trunk/main/sw/source/core/access/accportions.cxx (original) +++ openoffice/trunk/main/sw/source/core/access/accportions.cxx Wed Nov 27 09:25:37 2013 @@ -849,7 +849,7 @@ sal_Int32 SwAccessiblePortionData::GetFi sal_Int32 nIndex = -1; if( aFieldPosition.size() = 2 ) { - for( sal_Int32 i = 0; i aFieldPosition.size() - 1; i += 2 ) + for( sal_uInt32 i = 0; i aFieldPosition.size() - 1; i += 2 ) { if( nPos = aFieldPosition[ i + 1 ]nPos = aFieldPosition[ i ] ) {
svn commit: r1545970 - /openoffice/trunk/main/sw/source/core/access/acctable.cxx
Author: paveljanik Date: Wed Nov 27 09:27:05 2013 New Revision: 1545970 URL: http://svn.apache.org/r1545970 Log: WaE: unsigned const to prevent compiler warnings. Modified: openoffice/trunk/main/sw/source/core/access/acctable.cxx Modified: openoffice/trunk/main/sw/source/core/access/acctable.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/core/access/acctable.cxx?rev=1545970r1=1545969r2=1545970view=diff == --- openoffice/trunk/main/sw/source/core/access/acctable.cxx (original) +++ openoffice/trunk/main/sw/source/core/access/acctable.cxx Wed Nov 27 09:27:05 2013 @@ -72,7 +72,7 @@ typedef ::std::set sal_Int32, Int32Les typedef ::std::pair sal_Int32, sal_Int32 Int32Pair_Impl; typedef ::std::list Int32Pair_Impl Int32PairList_Impl; -const int SELECTION_WITH_NUM =10; +const unsigned int SELECTION_WITH_NUM = 10; class SwAccTableSelHander_Impl {
svn commit: r1545971 - /openoffice/trunk/main/sw/source/core/crsr/crsrsh.cxx
Author: paveljanik Date: Wed Nov 27 09:29:03 2013 New Revision: 1545971 URL: http://svn.apache.org/r1545971 Log: WaE: Remove unused variable. Modified: openoffice/trunk/main/sw/source/core/crsr/crsrsh.cxx Modified: openoffice/trunk/main/sw/source/core/crsr/crsrsh.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/core/crsr/crsrsh.cxx?rev=1545971r1=1545970r2=1545971view=diff == --- openoffice/trunk/main/sw/source/core/crsr/crsrsh.cxx (original) +++ openoffice/trunk/main/sw/source/core/crsr/crsrsh.cxx Wed Nov 27 09:29:03 2013 @@ -452,7 +452,6 @@ void SwCrsrShell::FireSectionChangeEvent bool SwCrsrShell::bColumnChange() { - sal_uInt16 nCurrCol = 0; SwFrm* pCurrFrm = GetCurrFrm(sal_False); if (pCurrFrm == NULL)
svn commit: r1545972 - /openoffice/trunk/main/sw/source/core/docnode/node.cxx
Author: paveljanik Date: Wed Nov 27 09:30:18 2013 New Revision: 1545972 URL: http://svn.apache.org/r1545972 Log: WaE: unname unused argument to prevent compiler warnings. Modified: openoffice/trunk/main/sw/source/core/docnode/node.cxx Modified: openoffice/trunk/main/sw/source/core/docnode/node.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/core/docnode/node.cxx?rev=1545972r1=1545971r2=1545972view=diff == --- openoffice/trunk/main/sw/source/core/docnode/node.cxx (original) +++ openoffice/trunk/main/sw/source/core/docnode/node.cxx Wed Nov 27 09:30:18 2013 @@ -1374,7 +1374,7 @@ void SwCntntNode::MakeFrms( SwCntntNode //Solution:Add a input param to identify if the acc table should be disposed. //add a flag(bNeedDel) to indicate whether to del corresponding frm even in doc loading process, //void SwCntntNode::DelFrms() -void SwCntntNode::DelFrms( sal_Bool bNeedDel, sal_Bool bIsDisposeAccTable ) +void SwCntntNode::DelFrms( sal_Bool /* bNeedDel */, sal_Bool bIsDisposeAccTable ) //-IAccessibility2 Implementation 2009 { if( !GetDepends() )
svn commit: r1545973 - /openoffice/trunk/main/sw/source/core/fields/expfld.cxx
Author: paveljanik Date: Wed Nov 27 09:31:30 2013 New Revision: 1545973 URL: http://svn.apache.org/r1545973 Log: WaE: reorder initializations properly to prevent compiler warnings. Modified: openoffice/trunk/main/sw/source/core/fields/expfld.cxx Modified: openoffice/trunk/main/sw/source/core/fields/expfld.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/core/fields/expfld.cxx?rev=1545973r1=1545972r2=1545973view=diff == --- openoffice/trunk/main/sw/source/core/fields/expfld.cxx (original) +++ openoffice/trunk/main/sw/source/core/fields/expfld.cxx Wed Nov 27 09:31:30 2013 @@ -1155,8 +1155,8 @@ SwInputField::SwInputField( SwInputField , aContent(rContent) , aPText(rPrompt) , nSubType(nSub) -, mpFmtFld( NULL ) , mbIsFormField( bIsFormField ) +, mpFmtFld( NULL ) { }
svn commit: r1545974 - /openoffice/trunk/main/sw/source/ui/index/cnttab.cxx
Author: paveljanik Date: Wed Nov 27 09:34:44 2013 New Revision: 1545974 URL: http://svn.apache.org/r1545974 Log: WaE: unname unused argument to prevent compiler warnings. Modified: openoffice/trunk/main/sw/source/ui/index/cnttab.cxx Modified: openoffice/trunk/main/sw/source/ui/index/cnttab.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/index/cnttab.cxx?rev=1545974r1=1545973r2=1545974view=diff == --- openoffice/trunk/main/sw/source/ui/index/cnttab.cxx (original) +++ openoffice/trunk/main/sw/source/ui/index/cnttab.cxx Wed Nov 27 09:34:44 2013 @@ -4053,7 +4053,7 @@ void SwTokenWindow::SetFocus2theAllBtn() m_pParent-SetFocus2theAllBtn(); } } -sal_uInt32 SwTokenWindow::GetControlIndex(FormTokenType eType, const Control* pCurControl) const +sal_uInt32 SwTokenWindow::GetControlIndex(FormTokenType eType, const Control* /* pCurControl */) const { //there are only one entry-text button and only one page-number button, //so we need not add index for these two buttons.
svn commit: r1545975 - /openoffice/trunk/main/sw/source/ui/uiview/view.cxx
Author: paveljanik Date: Wed Nov 27 09:35:48 2013 New Revision: 1545975 URL: http://svn.apache.org/r1545975 Log: WaE: reorder initializations properly to prevent compiler warnings. Modified: openoffice/trunk/main/sw/source/ui/uiview/view.cxx Modified: openoffice/trunk/main/sw/source/ui/uiview/view.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/uiview/view.cxx?rev=1545975r1=1545974r2=1545975view=diff == --- openoffice/trunk/main/sw/source/ui/uiview/view.cxx (original) +++ openoffice/trunk/main/sw/source/ui/uiview/view.cxx Wed Nov 27 09:35:48 2013 @@ -727,6 +727,9 @@ SwView::SwView( SfxViewFrame *_pFrame, S : SfxViewShell( _pFrame, SWVIEWFLAGS ), aPageStr( SW_RES( STR_PAGE )), nNewPage(USHRT_MAX), +//IAccessibility2 Implementation 2009- + nOldPageNum(0), +//-IAccessibility2 Implementation 2009 pNumRuleNodeFromDoc(0), // #i23726# pEditWin( new SwEditWin( _pFrame-GetWindow(), *this ) ), pWrtShell(0), @@ -763,9 +766,6 @@ SwView::SwView( SfxViewFrame *_pFrame, S nFormSfxId( USHRT_MAX ), nLastPasteDestination( 0x ), nLeftBorderDistance( 0 ), -//IAccessibility2 Implementation 2009- - nOldPageNum(0), -//-IAccessibility2 Implementation 2009 nRightBorderDistance( 0 ), bInMailMerge(sal_False), bInDtor(sal_False),
svn commit: r1545977 - /openoffice/trunk/main/sw/source/ui/utlui/content.cxx
Author: paveljanik Date: Wed Nov 27 09:36:54 2013 New Revision: 1545977 URL: http://svn.apache.org/r1545977 Log: WaE: Remove unused variable. Modified: openoffice/trunk/main/sw/source/ui/utlui/content.cxx Modified: openoffice/trunk/main/sw/source/ui/utlui/content.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/utlui/content.cxx?rev=1545977r1=1545976r2=1545977view=diff == --- openoffice/trunk/main/sw/source/ui/utlui/content.cxx (original) +++ openoffice/trunk/main/sw/source/ui/utlui/content.cxx Wed Nov 27 09:36:54 2013 @@ -2714,7 +2714,6 @@ void SwContentTree::KeyInput(const KeyE SwContent* pCnt = (SwContent*)pEntry-GetUserData(); - sal_Bool bSel = sal_False; sal_uInt16 nJumpType = pCnt-GetParent()-GetType(); switch(nJumpType) {
svn commit: r1545993 - /openoffice/trunk/main/sw/source/core/layout/wsfrm.cxx
Author: paveljanik Date: Wed Nov 27 11:10:10 2013 New Revision: 1545993 URL: http://svn.apache.org/r1545993 Log: WaE: reorder initializations properly to prevent compiler warnings. Modified: openoffice/trunk/main/sw/source/core/layout/wsfrm.cxx Modified: openoffice/trunk/main/sw/source/core/layout/wsfrm.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/core/layout/wsfrm.cxx?rev=1545993r1=1545992r2=1545993view=diff == --- openoffice/trunk/main/sw/source/core/layout/wsfrm.cxx (original) +++ openoffice/trunk/main/sw/source/core/layout/wsfrm.cxx Wed Nov 27 11:10:10 2013 @@ -88,6 +88,10 @@ using namespace ::com::sun::star; SwFrm::SwFrm( SwModify *pMod, SwFrm* pSib ) : SwClient( pMod ), + //IAccessibility2 Implementation 2009- + //Solution:Add a member to identify if the acc table should dispose + bIfAccTableShouldDisposing( sal_False ), + //-IAccessibility2 Implementation 2009 // -- OD 2006-05-10 #i65250# mnFrmId( SwFrm::mnLastFrmId++ ), // -- @@ -96,10 +100,6 @@ SwFrm::SwFrm( SwModify *pMod, SwFrm* pSi pNext( 0 ), pPrev( 0 ), pDrawObjs( 0 ) - //IAccessibility2 Implementation 2009- - //Solution:Add a member to identify if the acc table should dispose - , bIfAccTableShouldDisposing( sal_False ) - //-IAccessibility2 Implementation 2009 , bInfBody( sal_False ) , bInfTab ( sal_False ) , bInfFly ( sal_False )
svn commit: r1545596 - /openoffice/trunk/main/cui/source/dialogs/cuicharmap.cxx
Author: paveljanik Date: Tue Nov 26 10:15:10 2013 New Revision: 1545596 URL: http://svn.apache.org/r1545596 Log: WaE: reorder initializations to prevent compiler warnings. Modified: openoffice/trunk/main/cui/source/dialogs/cuicharmap.cxx Modified: openoffice/trunk/main/cui/source/dialogs/cuicharmap.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/cui/source/dialogs/cuicharmap.cxx?rev=1545596r1=1545595r2=1545596view=diff == --- openoffice/trunk/main/cui/source/dialogs/cuicharmap.cxx (original) +++ openoffice/trunk/main/cui/source/dialogs/cuicharmap.cxx Tue Nov 26 10:15:10 2013 @@ -257,7 +257,12 @@ SvxShowText::~SvxShowText() SvxCharMapData::SvxCharMapData( SfxModalDialog* pDialog, sal_Bool bOne_, ResMgr* pResContext ) : mpDialog( pDialog ), +aFontText ( pDialog, ResId( FT_FONT, *pResContext ) ), +aFontLB ( pDialog, ResId( LB_FONT, *pResContext ) ), +aSubsetText ( pDialog, ResId( FT_SUBSET, *pResContext ) ), +aSubsetLB ( pDialog, ResId( LB_SUBSET, *pResContext ) ), aShowSet( pDialog, ResId( CT_SHOWSET, *pResContext ) ), +aSymbolText ( pDialog, ResId( FT_SYMBOLE, *pResContext ) ), aShowText ( pDialog, ResId( CT_SHOWTEXT, *pResContext ) ), //aShowShortcut ( pDialog, ResId( CT_ASSIGN, *pResContext ) ), aOKBtn ( pDialog, ResId( BTN_CHAR_OK, *pResContext ) ), @@ -265,11 +270,6 @@ SvxCharMapData::SvxCharMapData( SfxModal aHelpBtn( pDialog, ResId( BTN_CHAR_HELP, *pResContext ) ), aDeleteBtn ( pDialog, ResId( BTN_DELETE, *pResContext ) ), //aAssignBtn ( pDialog, ResId( BT_ASSIGN, *pResContext ) ), -aFontText ( pDialog, ResId( FT_FONT, *pResContext ) ), -aFontLB ( pDialog, ResId( LB_FONT, *pResContext ) ), -aSubsetText ( pDialog, ResId( FT_SUBSET, *pResContext ) ), -aSubsetLB ( pDialog, ResId( LB_SUBSET, *pResContext ) ), -aSymbolText ( pDialog, ResId( FT_SYMBOLE, *pResContext ) ), aShowChar ( pDialog, ResId( CT_SHOWCHAR, *pResContext ), sal_True ), aCharCodeText ( pDialog, ResId( FT_CHARCODE, *pResContext ) ), //aAssignText ( pDialog, ResId( FT_ASSIGN, *pResContext ) ),
svn commit: r1545763 - /openoffice/trunk/main/sfx2/source/dialog/templdlg.hrc
Author: paveljanik Date: Tue Nov 26 18:26:31 2013 New Revision: 1545763 URL: http://svn.apache.org/r1545763 Log: Remove duplicate define STR_STYLE_ELEMTLIST. Modified: openoffice/trunk/main/sfx2/source/dialog/templdlg.hrc Modified: openoffice/trunk/main/sfx2/source/dialog/templdlg.hrc URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/dialog/templdlg.hrc?rev=1545763r1=1545762r2=1545763view=diff == --- openoffice/trunk/main/sfx2/source/dialog/templdlg.hrc (original) +++ openoffice/trunk/main/sfx2/source/dialog/templdlg.hrc Tue Nov 26 18:26:31 2013 @@ -44,8 +44,3 @@ #define BT_FLIST 8 #define BT_VLIST 9 #define BT_TOOL 10 - -//IAccessibility2 Implementation 2009- -#define STR_STYLE_ELEMTLIST18 -//-IAccessibility2 Implementation 2009 -
svn commit: r1545783 - /openoffice/trunk/main/cui/source/customize/macropg.cxx
Author: paveljanik Date: Tue Nov 26 18:56:35 2013 New Revision: 1545783 URL: http://svn.apache.org/r1545783 Log: WaE: reorder initializations to prevent compiler warnings. Modified: openoffice/trunk/main/cui/source/customize/macropg.cxx Modified: openoffice/trunk/main/cui/source/customize/macropg.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/cui/source/customize/macropg.cxx?rev=1545783r1=1545782r2=1545783view=diff == --- openoffice/trunk/main/cui/source/customize/macropg.cxx (original) +++ openoffice/trunk/main/cui/source/customize/macropg.cxx Tue Nov 26 18:56:35 2013 @@ -162,8 +162,8 @@ long _HeaderTabListBox::Notify( NotifyEv _HeaderTabListBox::_HeaderTabListBox( Window* pParent, const ResId rId ) : Control( pParent, rId ), -maListBox( this, WB_HSCROLL | WB_CLIPCHILDREN | WB_TABSTOP ), -maHeaderBar( this, WB_BUTTONSTYLE | WB_BOTTOMBORDER ) +maHeaderBar( this, WB_BUTTONSTYLE | WB_BOTTOMBORDER ), +maListBox( this, WB_HSCROLL | WB_CLIPCHILDREN | WB_TABSTOP ) { maListBox.SetHelpId( HID_MACRO_HEADERTABLISTBOX );
svn commit: r1545806 - /openoffice/trunk/main/sc/source/core/data/documen2.cxx
Author: paveljanik Date: Tue Nov 26 20:05:14 2013 New Revision: 1545806 URL: http://svn.apache.org/r1545806 Log: WaE: reorder initializations to prevent compiler warning. Modified: openoffice/trunk/main/sc/source/core/data/documen2.cxx Modified: openoffice/trunk/main/sc/source/core/data/documen2.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/core/data/documen2.cxx?rev=1545806r1=1545805r2=1545806view=diff == --- openoffice/trunk/main/sc/source/core/data/documen2.cxx (original) +++ openoffice/trunk/main/sc/source/core/data/documen2.cxx Tue Nov 26 20:05:14 2013 @@ -216,15 +216,15 @@ ScDocument::ScDocument( ScDocumentModee eGrammar( formula::FormulaGrammar::GRAM_NATIVE ), bStyleSheetUsageInvalid( sal_True ), mbUndoEnabled( true ), -//IAccessibility2 Implementation 2009- - bReadOnly(sal_False), -//-IAccessibility2 Implementation 2009 mbAdjustHeightEnabled( true ), mbExecuteLinkEnabled( true ), mbChangeReadOnlyEnabled( false ), mbStreamValidLocked( false ), mbIsTemporary(false), // #118840# -mnNamedRangesLockCount( 0 ) +mnNamedRangesLockCount( 0 ), +//IAccessibility2 Implementation 2009- + bReadOnly(sal_False) +//-IAccessibility2 Implementation 2009 { SetStorageGrammar( formula::FormulaGrammar::GRAM_STORAGE_DEFAULT);
svn commit: r1545827 - /openoffice/trunk/main/sw/source/core/access/accmap.cxx
Author: paveljanik Date: Tue Nov 26 20:36:34 2013 New Revision: 1545827 URL: http://svn.apache.org/r1545827 Log: WaE: compare unsigned values. Modified: openoffice/trunk/main/sw/source/core/access/accmap.cxx Modified: openoffice/trunk/main/sw/source/core/access/accmap.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/core/access/accmap.cxx?rev=1545827r1=1545826r2=1545827view=diff == --- openoffice/trunk/main/sw/source/core/access/accmap.cxx (original) +++ openoffice/trunk/main/sw/source/core/access/accmap.cxx Tue Nov 26 20:36:34 2013 @@ -1575,7 +1575,7 @@ void SwAccessibleMap::DoInvalidateShapeS ++pShape; } - const int SELECTION_WITH_NUM =10; + const unsigned int SELECTION_WITH_NUM = 10; if (vecxShapeAdd.size() SELECTION_WITH_NUM ) { uno::Reference XAccessible xDoc = GetDocumentView( );
svn commit: r1544466 - /openoffice/trunk/main/accessibility/source/extended/accessiblelistboxentry.cxx
Author: paveljanik Date: Fri Nov 22 10:32:40 2013 New Revision: 1544466 URL: http://svn.apache.org/r1544466 Log: WaE: Prevent uninitialized variable warnings. Modified: openoffice/trunk/main/accessibility/source/extended/accessiblelistboxentry.cxx Modified: openoffice/trunk/main/accessibility/source/extended/accessiblelistboxentry.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/accessibility/source/extended/accessiblelistboxentry.cxx?rev=1544466r1=1544465r2=1544466view=diff == --- openoffice/trunk/main/accessibility/source/extended/accessiblelistboxentry.cxx (original) +++ openoffice/trunk/main/accessibility/source/extended/accessiblelistboxentry.cxx Fri Nov 22 10:32:40 2013 @@ -1190,7 +1190,7 @@ namespace accessibility SvLBoxEntry* pEntry = pBox-GetEntryFromPath( m_aEntryPath ); if ( pEntry ) { - sal_Int32 nValue, nValueMin, nValueMax; + sal_Int32 nValue(0), nValueMin(0), nValueMax(0); aNumber = nValue; getMinimumValue() = nValueMin; getMaximumValue() = nValueMax;
svn commit: r1544475 - /openoffice/trunk/main/editeng/source/accessibility/AccessibleEditableTextPara.cxx
Author: paveljanik Date: Fri Nov 22 10:42:41 2013 New Revision: 1544475 URL: http://svn.apache.org/r1544475 Log: WaE: unname unused variable to prevent compiler warnings. Modified: openoffice/trunk/main/editeng/source/accessibility/AccessibleEditableTextPara.cxx Modified: openoffice/trunk/main/editeng/source/accessibility/AccessibleEditableTextPara.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/editeng/source/accessibility/AccessibleEditableTextPara.cxx?rev=1544475r1=1544474r2=1544475view=diff == --- openoffice/trunk/main/editeng/source/accessibility/AccessibleEditableTextPara.cxx (original) +++ openoffice/trunk/main/editeng/source/accessibility/AccessibleEditableTextPara.cxx Fri Nov 22 10:42:41 2013 @@ -1782,7 +1782,7 @@ namespace accessibility return OCommonAccessibleText::getTextRange(nStartIndex, nEndIndex); } //IAccessibility2 Implementation 2009- - void AccessibleEditableTextPara::_correctValues( const sal_Int32 nIndex, + void AccessibleEditableTextPara::_correctValues( const sal_Int32 /* nIndex */, uno::Sequence PropertyValue rValues) { SvxTextForwarder rCacheTF = GetTextForwarder();
svn commit: r1544479 - /openoffice/trunk/main/editeng/source/misc/splwrap.cxx
Author: paveljanik Date: Fri Nov 22 10:48:29 2013 New Revision: 1544479 URL: http://svn.apache.org/r1544479 Log: WaE: Reorder initializations to prevent compiler warnings. Modified: openoffice/trunk/main/editeng/source/misc/splwrap.cxx Modified: openoffice/trunk/main/editeng/source/misc/splwrap.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/editeng/source/misc/splwrap.cxx?rev=1544479r1=1544478r2=1544479view=diff == --- openoffice/trunk/main/editeng/source/misc/splwrap.cxx (original) +++ openoffice/trunk/main/editeng/source/misc/splwrap.cxx Fri Nov 22 10:48:29 2013 @@ -164,13 +164,13 @@ SvxSpellWrapper::SvxSpellWrapper( Window pWin( pWn ), xSpell ( xSpellChecker ), + mpTextObj( NULL), bOtherCntnt ( bOther ), bDialog ( sal_False ), bHyphen ( sal_False ), bAuto ( sal_False ), bStartChk ( bOther ), bRevAllowed ( bRevAllow ), - mpTextObj( NULL), bAllRight ( bIsAllRight ) { Reference beans::XPropertySet xProp( SvxGetLinguPropertySet() ); @@ -190,6 +190,7 @@ SvxSpellWrapper::SvxSpellWrapper( Window const sal_Bool bStart, const sal_Bool bOther ) : pWin( pWn ), xHyph ( xHyphenator ), + mpTextObj( NULL), bOtherCntnt ( bOther ), bDialog ( sal_False ), bHyphen ( sal_False ), @@ -199,7 +200,6 @@ SvxSpellWrapper::SvxSpellWrapper( Window bEndDone( bReverse bStart !bOther ), bStartChk ( bOther ), bRevAllowed ( sal_False ), - mpTextObj( NULL), bAllRight ( sal_True ) { }
svn commit: r1540294 - /openoffice/trunk/main/libxmlsec/makefile.mk
Author: paveljanik Date: Sat Nov 9 11:45:55 2013 New Revision: 1540294 URL: http://svn.apache.org/r1540294 Log: WITH_MOZILLA is not used anymore. Modified: openoffice/trunk/main/libxmlsec/makefile.mk Modified: openoffice/trunk/main/libxmlsec/makefile.mk URL: http://svn.apache.org/viewvc/openoffice/trunk/main/libxmlsec/makefile.mk?rev=1540294r1=1540293r2=1540294view=diff == --- openoffice/trunk/main/libxmlsec/makefile.mk (original) +++ openoffice/trunk/main/libxmlsec/makefile.mk Sat Nov 9 11:45:55 2013 @@ -31,9 +31,9 @@ EXTERNAL_WARNINGS_NOT_ERRORS := TRUE .INCLUDE : settings.mk -.IF $(WITH_MOZILLA) == NO +.IF $(ENABLE_NSS_MODULE) == NO @all: - @echo Mozilla disabled - no nss - no libxmlsec + @echo No nss - no libxmlsec .ENDIF # --- Files
svn commit: r1540293 - /openoffice/trunk/main/configure.in
Author: paveljanik Date: Sat Nov 9 11:45:14 2013 New Revision: 1540293 URL: http://svn.apache.org/r1540293 Log: Proper feature name. Modified: openoffice/trunk/main/configure.in Modified: openoffice/trunk/main/configure.in URL: http://svn.apache.org/viewvc/openoffice/trunk/main/configure.in?rev=1540293r1=1540292r2=1540293view=diff == --- openoffice/trunk/main/configure.in (original) +++ openoffice/trunk/main/configure.in Sat Nov 9 11:45:14 2013 @@ -322,7 +322,7 @@ AC_ARG_ENABLE(static-gtk, AC_ARG_ENABLE(layout, [ --enable-layout Enable the compilation and use of layout dialogs ],,) -AC_ARG_ENABLE(nss_module, +AC_ARG_ENABLE(nss-module, [ --disable-nss-moduleWhether to use the NSS module that is used for xml-security ],,enable_nss_module=yes) AC_ARG_ENABLE(kde,
svn commit: r1539246 - /openoffice/trunk/main/xmloff/source/draw/shapeexport2.cxx
Author: paveljanik Date: Wed Nov 6 06:17:42 2013 New Revision: 1539246 URL: http://svn.apache.org/r1539246 Log: Remove unused variable to prevent compiler warnings. Modified: openoffice/trunk/main/xmloff/source/draw/shapeexport2.cxx Modified: openoffice/trunk/main/xmloff/source/draw/shapeexport2.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/xmloff/source/draw/shapeexport2.cxx?rev=1539246r1=1539245r2=1539246view=diff == --- openoffice/trunk/main/xmloff/source/draw/shapeexport2.cxx (original) +++ openoffice/trunk/main/xmloff/source/draw/shapeexport2.cxx Wed Nov 6 06:17:42 2013 @@ -986,8 +986,6 @@ void XMLShapeExport::ImpExportPolygonSha const uno::Reference beans::XPropertySet xPropSet(xShape, uno::UNO_QUERY); if(xPropSet.is()) { - sal_Bool bClosed(eShapeType == XmlShapeTypeDrawPolyPolygonShape - || eShapeType == XmlShapeTypeDrawClosedBezierShape); sal_Bool bBezier(eShapeType == XmlShapeTypeDrawClosedBezierShape || eShapeType == XmlShapeTypeDrawOpenBezierShape);
svn commit: r1529655 - /openoffice/trunk/main/cppuhelper/source/findsofficepath.c
Author: paveljanik Date: Sun Oct 6 18:13:06 2013 New Revision: 1529655 URL: http://svn.apache.org/r1529655 Log: Declare variables when needed to prevent compiler warnings. Modified: openoffice/trunk/main/cppuhelper/source/findsofficepath.c Modified: openoffice/trunk/main/cppuhelper/source/findsofficepath.c URL: http://svn.apache.org/viewvc/openoffice/trunk/main/cppuhelper/source/findsofficepath.c?rev=1529655r1=1529654r2=1529655view=diff == --- openoffice/trunk/main/cppuhelper/source/findsofficepath.c (original) +++ openoffice/trunk/main/cppuhelper/source/findsofficepath.c Sun Oct 6 18:13:06 2013 @@ -129,21 +129,7 @@ static char* platformSpecific() */ static char* platformSpecific() { -const int SEPARATOR = '/'; -const char* PATHSEPARATOR = :; -const char* PATHVARNAME = PATH; -const char* APPENDIX = /soffice; - char* path = NULL; -char* env = NULL; -char* str = NULL; -char* dir = NULL; -char* file = NULL; -char* resolved = NULL; - char* sep = NULL; - -char buffer[PATH_MAX]; -int pos; #ifdef MACOSX /* On MacOS we have no soffice link under /usr/bin but the default office location is known @@ -159,6 +145,21 @@ static char* platformSpecific() } return path; #else +const int SEPARATOR = '/'; +const char* PATHSEPARATOR = :; +const char* PATHVARNAME = PATH; +const char* APPENDIX = /soffice; + +char* env = NULL; +char* str = NULL; +char* dir = NULL; +char* file = NULL; +char* resolved = NULL; +char* sep = NULL; + +char buffer[PATH_MAX]; +int pos; + /* get the value of the PATH environment variable */ env = getenv( PATHVARNAME ); str = (char*) malloc( strlen( env ) + 1 );
svn commit: r1526814 - /openoffice/trunk/main/cppuhelper/source/findsofficepath.c
Author: paveljanik Date: Fri Sep 27 07:39:53 2013 New Revision: 1526814 URL: http://svn.apache.org/r1526814 Log: Add missing strlen. Modified: openoffice/trunk/main/cppuhelper/source/findsofficepath.c Modified: openoffice/trunk/main/cppuhelper/source/findsofficepath.c URL: http://svn.apache.org/viewvc/openoffice/trunk/main/cppuhelper/source/findsofficepath.c?rev=1526814r1=1526813r2=1526814view=diff == --- openoffice/trunk/main/cppuhelper/source/findsofficepath.c (original) +++ openoffice/trunk/main/cppuhelper/source/findsofficepath.c Fri Sep 27 07:39:53 2013 @@ -154,7 +154,7 @@ static char* platformSpecific() if ( !access( MACDEFAULTSOFFICE, F_OK ) ) { -path = (char*) malloc( MACDEFAULTOFFICEPATH + 1 ); +path = (char*) malloc( strlen(MACDEFAULTOFFICEPATH) + 1 ); strcpy( path, MACDEFAULTOFFICEPATH); } return path;
svn commit: r1522537 - /openoffice/trunk/main/vcl/source/gdi/pngread.cxx
Author: paveljanik Date: Thu Sep 12 11:52:51 2013 New Revision: 1522537 URL: http://svn.apache.org/r1522537 Log: WaE: Remove comparison between signed and unsigned integer expressions warning. Modified: openoffice/trunk/main/vcl/source/gdi/pngread.cxx Modified: openoffice/trunk/main/vcl/source/gdi/pngread.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/gdi/pngread.cxx?rev=1522537r1=1522536r2=1522537view=diff == --- openoffice/trunk/main/vcl/source/gdi/pngread.cxx (original) +++ openoffice/trunk/main/vcl/source/gdi/pngread.cxx Thu Sep 12 11:52:51 2013 @@ -1421,7 +1421,7 @@ void PNGReaderImpl::ImplDrawScanline( sa sal_uInt8* pScanline(mpScanline); sal_uInt8* pScanlineAlpha(mpScanlineAlpha); -for(sal_uInt32 nX(0); nX maOrigSize.Width(); nX++, pTmp += 4) +for(sal_Int32 nX(0); nX maOrigSize.Width(); nX++, pTmp += 4) { // prepare content line as BGR by reordering when copying // do not forget to invert alpha (source is alpha, target is opacity) @@ -1556,7 +1556,7 @@ void PNGReaderImpl::ImplDrawScanline( sa #endif sal_uInt8* pScanline(mpScanline); -for(sal_uInt32 nX(0); nX maOrigSize.Width(); nX++, pTmp += 3) +for(sal_Int32 nX(0); nX maOrigSize.Width(); nX++, pTmp += 3) { // prepare content line as BGR by reordering when copying if(bCustomColorTable)
svn commit: r1517348 - /openoffice/trunk/main/sw/source/ui/docvw/edtwin.cxx
Author: paveljanik Date: Sun Aug 25 17:52:02 2013 New Revision: 1517348 URL: http://svn.apache.org/r1517348 Log: WaE: Remove unused variables to prevent compiler warnings. Modified: openoffice/trunk/main/sw/source/ui/docvw/edtwin.cxx Modified: openoffice/trunk/main/sw/source/ui/docvw/edtwin.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/docvw/edtwin.cxx?rev=1517348r1=1517347r2=1517348view=diff == --- openoffice/trunk/main/sw/source/ui/docvw/edtwin.cxx (original) +++ openoffice/trunk/main/sw/source/ui/docvw/edtwin.cxx Sun Aug 25 17:52:02 2013 @@ -2276,8 +2276,6 @@ KEYINPUT_CHECKTABLE_INSDEL: if(pFieldmark) { pFieldmark-SetChecked(!pFieldmark-IsChecked()); -SwDocShell* pDocSh = rView.GetDocShell(); -SwDoc *pDoc=pDocSh-GetDoc(); OSL_ENSURE(pFieldmark-IsExpanded(), where is the otherpos?); if (pFieldmark-IsExpanded())
svn commit: r1514218 - /openoffice/trunk/main/basegfx/source/polygon/b2dpolypolygoncutter.cxx
Author: paveljanik Date: Thu Aug 15 09:24:25 2013 New Revision: 1514218 URL: http://svn.apache.org/r1514218 Log: WaE: Initialize boolean variable to false to prevent compiler warning about uninitialized variable. Modified: openoffice/trunk/main/basegfx/source/polygon/b2dpolypolygoncutter.cxx Modified: openoffice/trunk/main/basegfx/source/polygon/b2dpolypolygoncutter.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/basegfx/source/polygon/b2dpolypolygoncutter.cxx?rev=1514218r1=1514217r2=1514218view=diff == --- openoffice/trunk/main/basegfx/source/polygon/b2dpolypolygoncutter.cxx (original) +++ openoffice/trunk/main/basegfx/source/polygon/b2dpolypolygoncutter.cxx Thu Aug 15 09:24:25 2013 @@ -690,7 +690,7 @@ namespace basegfx { basegfx::B2DPolygon aTemp(aRetval.getB2DPolygon(a)); const sal_uInt32 nPointCount(aTemp.count()); -bool bChanged; +bool bChanged(false); for(sal_uInt32 b(0); b nPointCount; b++) {
svn commit: r1502004 - /openoffice/trunk/main/cui/source/dialogs/cuifmsearch.cxx
Author: paveljanik Date: Wed Jul 10 21:14:12 2013 New Revision: 1502004 URL: http://svn.apache.org/r1502004 Log: Return zero value from non-void function to prevent compiler warnings. Modified: openoffice/trunk/main/cui/source/dialogs/cuifmsearch.cxx Modified: openoffice/trunk/main/cui/source/dialogs/cuifmsearch.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/cui/source/dialogs/cuifmsearch.cxx?rev=1502004r1=1502003r2=1502004view=diff == --- openoffice/trunk/main/cui/source/dialogs/cuifmsearch.cxx (original) +++ openoffice/trunk/main/cui/source/dialogs/cuifmsearch.cxx Wed Jul 10 21:14:12 2013 @@ -447,6 +447,7 @@ IMPL_LINK(FmSearchDialog, OnSearchTextMo IMPL_LINK(FmSearchDialog, OnFocusGrabbed, ComboBox*, EMPTYARG) { m_cmbSearchText.SetSelection( Selection( SELECTION_MIN, SELECTION_MAX ) ); +return 0; } //
svn commit: r1500236 - /openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
Author: paveljanik Date: Sat Jul 6 09:24:41 2013 New Revision: 1500236 URL: http://svn.apache.org/r1500236 Log: Comment out unused variable to prevent compiler warning. Modified: openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx Modified: openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx?rev=1500236r1=1500235r2=1500236view=diff == --- openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx Sat Jul 6 09:24:41 2013 @@ -1683,7 +1683,7 @@ ParaPropertyPanel::ParaPropertyPanel(Win FreeResource(); // Setup the grid layouter. -const sal_Int32 nMappedImageWidth (Layouter::MapWidth(*this, IMAGE_SIZE)); +// const sal_Int32 nMappedImageWidth (Layouter::MapWidth(*this, IMAGE_SIZE)); const sal_Int32 nMappedImageOffset (Layouter::MapWidth(*this, -3)); const sal_Int32 nMappedToolBoxItemWidth (Layouter::MapWidth(*this, TOOLBOX_ITEM_WIDTH)); const sal_Int32 nMappedControlWidth (Layouter::MapWidth(*this, CONTROL_WIDTH -10));
svn commit: r1492988 - /openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx
Author: paveljanik Date: Fri Jun 14 07:53:37 2013 New Revision: 1492988 URL: http://svn.apache.org/r1492988 Log: Reorder initializations (and unify formatting) to prevent compiler warnings. Modified: openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx Modified: openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx?rev=1492988r1=1492987r2=1492988view=diff == --- openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx Fri Jun 14 07:53:37 2013 @@ -54,39 +54,39 @@ namespace svx { namespace sidebar { ParaLineSpacingControl::ParaLineSpacingControl(Window* pParent, svx::sidebar::ParaPropertyPanel rPanel) -: PopupControl( pParent,SVX_RES(RID_POPUPPANEL_PARAPAGE_LINESPACING)) -, mrParaPropertyPanel(rPanel) -, mpBindings(NULL) -,aLineDist ( this, SVX_RES( LB_LINE_SPACING )), -aLineDistAtPercentBox ( this, SVX_RES( ED_SBINDE_LINEDISTPERCENT ) ), -aLineDistAtMetricBox ( this, SVX_RES( ED_SBINDE_LINEDISTPOINT ) ), -maCustomFT( this, SVX_RES( FT_CUSTOM ) ), -maLSpacingFT ( this, SVX_RES( FT_LINE_SPACING ) ), -maOfFT( this, SVX_RES( FT_OF ) ), -maSpacing1 (SVX_RES(IMG_SPACING1)), -maSpacing115 (SVX_RES(IMG_SPACING115)), -maSpacing15 (SVX_RES(IMG_SPACING15)), -maSpacing2 (SVX_RES(IMG_SPACING2)), -maSelSpacing1(SVX_RES(IMG_SEL_SPACING1)), -maSelSpacing115 (SVX_RES(IMG_SEL_SPACING115)), -maSelSpacing15 (SVX_RES(IMG_SEL_SPACING15)), -maSelSpacing2(SVX_RES(IMG_SEL_SPACING2)), -maImgCusGrey(SVX_RES(IMG_CUSTOM_GRAY)), -maImgCus(SVX_RES(IMG_CUSTOM)), -maStrCus(SVX_RES(STR_LCVALUE)), -pActLineDistFld( aLineDistAtPercentBox ), -nMinFixDist( BEGIN_VALUE ), -maValue ( 0 ), -maPos ( 0 ), -maLineSpacing (ValueSetWithTextControl::IMAGE_TEXT,this, SVX_RES( LINE_SPACING ) ), -mpImg (NULL), -mpImgSel (NULL), -mpStr (NULL), -mpStrTip (NULL), -maLine (SVX_RES(STR_LSPACING)), -maOf (SVX_RES(STR_LS_OF)) -, mbUseLineSPCustom (0) -, mbLineSPDisable (0) +: PopupControl( pParent,SVX_RES(RID_POPUPPANEL_PARAPAGE_LINESPACING)), + mbUseLineSPCustom (0), + mbLineSPDisable (0), + mrParaPropertyPanel (rPanel), + mpBindings (NULL), + nMinFixDist (BEGIN_VALUE), + pActLineDistFld (aLineDistAtPercentBox), + maLineSpacing (ValueSetWithTextControl::IMAGE_TEXT,this, SVX_RES(LINE_SPACING)), + maCustomFT (this, SVX_RES(FT_CUSTOM)), + maLSpacingFT(this, SVX_RES(FT_LINE_SPACING)), + aLineDist (this, SVX_RES(LB_LINE_SPACING)), + maOfFT (this, SVX_RES(FT_OF)), + aLineDistAtPercentBox (this, SVX_RES(ED_SBINDE_LINEDISTPERCENT)), + aLineDistAtMetricBox(this, SVX_RES(ED_SBINDE_LINEDISTPOINT)), + maSpacing1 (SVX_RES(IMG_SPACING1)), + maSpacing115(SVX_RES(IMG_SPACING115)), + maSpacing15 (SVX_RES(IMG_SPACING15)), + maSpacing2 (SVX_RES(IMG_SPACING2)), + maSelSpacing1 (SVX_RES(IMG_SEL_SPACING1)), + maSelSpacing115 (SVX_RES(IMG_SEL_SPACING115)), + maSelSpacing15 (SVX_RES(IMG_SEL_SPACING15)), + maSelSpacing2 (SVX_RES(IMG_SEL_SPACING2)), + maImgCus(SVX_RES(IMG_CUSTOM)), + maImgCusGrey(SVX_RES(IMG_CUSTOM_GRAY)), + maStrCus(SVX_RES(STR_LCVALUE)), + mpImg (NULL), + mpImgSel(NULL), + mpStr (NULL), + mpStrTip(NULL), + maLine (SVX_RES(STR_LSPACING)), + maOf(SVX_RES(STR_LS_OF)), + maValue (0), + maPos (0) { initial(); FreeResource();
svn commit: r1486702 - /openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.cxx
Author: paveljanik Date: Mon May 27 20:01:41 2013 New Revision: 1486702 URL: http://svn.apache.org/r1486702 Log: Unname unused argument to prevent compiler warnings. Modified: openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.cxx Modified: openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.cxx?rev=1486702r1=1486701r2=1486702view=diff == --- openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.cxx Mon May 27 20:01:41 2013 @@ -312,7 +312,7 @@ void TextPropertyPanel::HandleContextCha void TextPropertyPanel::UpdateFontColorToolbox ( -const ::sfx2::sidebar::EnumContext aContext) +const ::sfx2::sidebar::EnumContext /* aContext */) { bool bIsWriterFontColor (false); if (maContext.GetApplication_DI() == sfx2::sidebar::EnumContext::Application_WriterVariants)
svn commit: r1483683 - /openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx
Author: paveljanik Date: Fri May 17 08:04:41 2013 New Revision: 1483683 URL: http://svn.apache.org/r1483683 Log: Unname unused arguments to prevent compiler warnings. Modified: openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx Modified: openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx?rev=1483683r1=1483682r2=1483683view=diff == --- openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx Fri May 17 08:04:41 2013 @@ -478,7 +478,7 @@ sal_Bool BulletsTypeMgr::RelplaceNumRule return sal_True; } -sal_Bool BulletsTypeMgr::ApplyNumRule(SvxNumRule aNum,sal_uInt16 nIndex,sal_uInt16 mLevel,sal_Bool isDefault,sal_Bool isResetSize) +sal_Bool BulletsTypeMgr::ApplyNumRule(SvxNumRule aNum,sal_uInt16 nIndex,sal_uInt16 mLevel,sal_Bool /* isDefault */,sal_Bool isResetSize) { //if ( mLevel == (sal_uInt16)0x ) // return sal_False; @@ -529,7 +529,7 @@ sal_Bool BulletsTypeMgr::ApplyNumRule(Sv return sal_True; } -String BulletsTypeMgr::GetDescription(sal_uInt16 nIndex,sal_Bool isDefault) +String BulletsTypeMgr::GetDescription(sal_uInt16 nIndex,sal_Bool /* isDefault */) { String sRet; //sal_uInt16 nLength = 0; @@ -657,7 +657,7 @@ void GraphyicBulletsTypeMgr::Init() aGrfDataLst.Insert( pEntry, LIST_APPEND ); } } -sal_uInt16 GraphyicBulletsTypeMgr::GetNBOIndexForNumRule(SvxNumRule aNum,sal_uInt16 mLevel,sal_uInt16 nFromIndex) +sal_uInt16 GraphyicBulletsTypeMgr::GetNBOIndexForNumRule(SvxNumRule aNum,sal_uInt16 mLevel,sal_uInt16 /* nFromIndex */) { if ( mLevel == (sal_uInt16)0x || mLevel == 0) return (sal_uInt16)0x; @@ -741,7 +741,7 @@ sal_Bool GraphyicBulletsTypeMgr::Relplac return sal_True; } -sal_Bool GraphyicBulletsTypeMgr::ApplyNumRule(SvxNumRule aNum,sal_uInt16 nIndex,sal_uInt16 mLevel,sal_Bool isDefault,sal_Bool isResetSize) +sal_Bool GraphyicBulletsTypeMgr::ApplyNumRule(SvxNumRule aNum,sal_uInt16 nIndex,sal_uInt16 mLevel,sal_Bool /* isDefault */,sal_Bool /* isResetSize */) { //if ( mLevel == (sal_uInt16)0x ) // return sal_False; @@ -786,7 +786,7 @@ sal_Bool GraphyicBulletsTypeMgr::ApplyNu return sal_True; } -String GraphyicBulletsTypeMgr::GetDescription(sal_uInt16 nIndex,sal_Bool isDefault) +String GraphyicBulletsTypeMgr::GetDescription(sal_uInt16 nIndex,sal_Bool /* isDefault */) { String sRet; sal_uInt16 nLength = 0; @@ -1780,7 +1780,7 @@ void OutlineTypeMgr::Init() } } -sal_uInt16 OutlineTypeMgr::GetNBOIndexForNumRule(SvxNumRule aNum,sal_uInt16 mLevel,sal_uInt16 nFromIndex) +sal_uInt16 OutlineTypeMgr::GetNBOIndexForNumRule(SvxNumRule aNum,sal_uInt16 /* mLevel */,sal_uInt16 nFromIndex) { sal_uInt16 nLength = sizeof(pOutlineSettingsArrs)/sizeof(OutlineSettings_Impl*); for(sal_uInt16 iDex = nFromIndex; iDex nLength; iDex++) @@ -1926,7 +1926,7 @@ sal_Bool OutlineTypeMgr::RelplaceNumRule return sal_True; } -sal_Bool OutlineTypeMgr::ApplyNumRule(SvxNumRule aNum,sal_uInt16 nIndex,sal_uInt16 mLevel,sal_Bool isDefault,sal_Bool isResetSize) +sal_Bool OutlineTypeMgr::ApplyNumRule(SvxNumRule aNum,sal_uInt16 nIndex,sal_uInt16 /* mLevel */,sal_Bool isDefault,sal_Bool isResetSize) { //if ( mLevel == (sal_uInt16)0x ) // return sal_False;
svn commit: r1483688 - /openoffice/trunk/main/sc/source/ui/sidebar/NumberFormatPropertyPanel.hrc
Author: paveljanik Date: Fri May 17 08:34:38 2013 New Revision: 1483688 URL: http://svn.apache.org/r1483688 Log: Rename local macro TOOLBOX_ITEM_HEIGHT which hides the same macro from sfx2. Modified: openoffice/trunk/main/sc/source/ui/sidebar/NumberFormatPropertyPanel.hrc Modified: openoffice/trunk/main/sc/source/ui/sidebar/NumberFormatPropertyPanel.hrc URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/sidebar/NumberFormatPropertyPanel.hrc?rev=1483688r1=1483687r2=1483688view=diff == --- openoffice/trunk/main/sc/source/ui/sidebar/NumberFormatPropertyPanel.hrc (original) +++ openoffice/trunk/main/sc/source/ui/sidebar/NumberFormatPropertyPanel.hrc Fri May 17 08:34:38 2013 @@ -37,7 +37,7 @@ //===position= #define MBOX_WIDTH 28 -#defineTOOLBOX_ITEM_HEIGHT 12 +#defineLOCAL_TOOLBOX_ITEM_HEIGHT 12 #define CHECKBOX_HEIGHT10 #define FT_CATEGORY_X SECTIONPAGE_MARGIN_HORIZONTAL @@ -49,7 +49,7 @@ #define TBX_CATEGORY_Y LB_CATEGORY_Y + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL #define FT_DECIMALS_X SECTIONPAGE_MARGIN_HORIZONTAL -#define FT_DECIMALS_Y TBX_CATEGORY_Y + TOOLBOX_ITEM_HEIGHT + 4 + CONTROL_SPACING_VERTICAL +#define FT_DECIMALS_Y TBX_CATEGORY_Y + LOCAL_TOOLBOX_ITEM_HEIGHT + 4 + CONTROL_SPACING_VERTICAL #define LB_DECIMALS_X FT_CATEGORY_X #define LB_DECIMALS_Y FT_DECIMALS_Y + TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL
svn commit: r1483690 - /openoffice/trunk/main/hwpfilter/source/hwpreader.cxx
Author: paveljanik Date: Fri May 17 08:38:59 2013 New Revision: 1483690 URL: http://svn.apache.org/r1483690 Log: Use sal's size_t printf type modifier to prevent compiler warning. Modified: openoffice/trunk/main/hwpfilter/source/hwpreader.cxx Modified: openoffice/trunk/main/hwpfilter/source/hwpreader.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/hwpfilter/source/hwpreader.cxx?rev=1483690r1=1483689r2=1483690view=diff == --- openoffice/trunk/main/hwpfilter/source/hwpreader.cxx (original) +++ openoffice/trunk/main/hwpfilter/source/hwpreader.cxx Fri May 17 08:38:59 2013 @@ -1944,7 +1944,7 @@ void HwpReader::makeTableStyle(Table *tb // --- row // for (size_t i = 0 ; i tbl-rows.nCount -1 ; i++) { -sprintf(buf,Table%d.row%ld,hbox-style.boxnum, i + 1); +sprintf(buf,Table%d.row% SAL_PRI_SIZET d,hbox-style.boxnum, i + 1); padd(ascii(style:name), sXML_CDATA, ascii( buf )); padd(ascii(style:family), sXML_CDATA,ascii(table-row)); rstartEl(ascii(style:style), rList);
svn commit: r1483723 - /openoffice/trunk/main/cui/source/tabpages/tpline.cxx
Author: paveljanik Date: Fri May 17 10:17:32 2013 New Revision: 1483723 URL: http://svn.apache.org/r1483723 Log: Use default case instead of handling a meta value. Modified: openoffice/trunk/main/cui/source/tabpages/tpline.cxx Modified: openoffice/trunk/main/cui/source/tabpages/tpline.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/cui/source/tabpages/tpline.cxx?rev=1483723r1=1483722r2=1483723view=diff == --- openoffice/trunk/main/cui/source/tabpages/tpline.cxx (original) +++ openoffice/trunk/main/cui/source/tabpages/tpline.cxx Fri May 17 10:17:32 2013 @@ -1344,8 +1344,7 @@ void SvxLineTabPage::Reset( const SfxIte case com::sun::star::drawing::LineJoint_NONE : maLBEdgeStyle.SelectEntryPos(1); break; case com::sun::star::drawing::LineJoint_MITER : maLBEdgeStyle.SelectEntryPos(2); break; case com::sun::star::drawing::LineJoint_BEVEL : maLBEdgeStyle.SelectEntryPos(3); break; - // Not handled? - case com::sun::star::drawing::LineJoint_MAKE_FIXED_SIZE : break; + default: break; } } else
svn commit: r1483725 - /openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx
Author: paveljanik Date: Fri May 17 10:18:30 2013 New Revision: 1483725 URL: http://svn.apache.org/r1483725 Log: Use default case instead of handling a meta value. Modified: openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx Modified: openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx?rev=1483725r1=1483724r2=1483725view=diff == --- openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx (original) +++ openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx Fri May 17 10:18:30 2013 @@ -223,8 +223,7 @@ SfxItemPresentation XLineJointItem::GetP nId = RID_SVXSTR_LINEJOINT_ROUND; break; - // Not handled? - case( com::sun::star::drawing::LineJoint_MAKE_FIXED_SIZE ): + default: break; }
svn commit: r1483442 - /openoffice/trunk/main/svgio/source/svgreader/svgstyleattributes.cxx
Author: paveljanik Date: Thu May 16 16:56:38 2013 New Revision: 1483442 URL: http://svn.apache.org/r1483442 Log: Unname unused argument to prevent compiler warnings. Modified: openoffice/trunk/main/svgio/source/svgreader/svgstyleattributes.cxx Modified: openoffice/trunk/main/svgio/source/svgreader/svgstyleattributes.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svgio/source/svgreader/svgstyleattributes.cxx?rev=1483442r1=1483441r2=1483442view=diff == --- openoffice/trunk/main/svgio/source/svgreader/svgstyleattributes.cxx (original) +++ openoffice/trunk/main/svgio/source/svgreader/svgstyleattributes.cxx Thu May 16 16:56:38 2013 @@ -1187,7 +1187,7 @@ namespace svgio { } -void SvgStyleAttributes::parseStyleAttribute(const rtl::OUString rTokenName, SVGToken aSVGToken, const rtl::OUString aContent) +void SvgStyleAttributes::parseStyleAttribute(const rtl::OUString /* rTokenName */, SVGToken aSVGToken, const rtl::OUString aContent) { switch(aSVGToken) {
svn commit: r1483649 - /openoffice/trunk/main/cui/source/tabpages/tpline.cxx
Author: paveljanik Date: Fri May 17 05:25:47 2013 New Revision: 1483649 URL: http://svn.apache.org/r1483649 Log: Add missing case for LineJoint_MAKE_FIXED_SIZE to prevent compiler warning. Modified: openoffice/trunk/main/cui/source/tabpages/tpline.cxx Modified: openoffice/trunk/main/cui/source/tabpages/tpline.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/cui/source/tabpages/tpline.cxx?rev=1483649r1=1483648r2=1483649view=diff == --- openoffice/trunk/main/cui/source/tabpages/tpline.cxx (original) +++ openoffice/trunk/main/cui/source/tabpages/tpline.cxx Fri May 17 05:25:47 2013 @@ -1344,6 +1344,8 @@ void SvxLineTabPage::Reset( const SfxIte case com::sun::star::drawing::LineJoint_NONE : maLBEdgeStyle.SelectEntryPos(1); break; case com::sun::star::drawing::LineJoint_MITER : maLBEdgeStyle.SelectEntryPos(2); break; case com::sun::star::drawing::LineJoint_BEVEL : maLBEdgeStyle.SelectEntryPos(3); break; + // Not handled? + case com::sun::star::drawing::LineJoint_MAKE_FIXED_SIZE : break; } } else
svn commit: r1483650 - /openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx
Author: paveljanik Date: Fri May 17 05:27:38 2013 New Revision: 1483650 URL: http://svn.apache.org/r1483650 Log: Add missing case for LineJoint_MAKE_FIXED_SIZE to prevent compiler warning. Modified: openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx Modified: openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx?rev=1483650r1=1483649r2=1483650view=diff == --- openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx (original) +++ openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx Fri May 17 05:27:38 2013 @@ -222,6 +222,10 @@ SfxItemPresentation XLineJointItem::GetP case( com::sun::star::drawing::LineJoint_ROUND ): nId = RID_SVXSTR_LINEJOINT_ROUND; break; + + // Not handled? + case( com::sun::star::drawing::LineJoint_MAKE_FIXED_SIZE ): + break; } if( nId )
svn commit: r1483653 - /openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx
Author: paveljanik Date: Fri May 17 05:33:54 2013 New Revision: 1483653 URL: http://svn.apache.org/r1483653 Log: Add default cases to prevent compiler warnings. Modified: openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx Modified: openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx?rev=1483653r1=1483652r2=1483653view=diff == --- openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx Fri May 17 05:33:54 2013 @@ -392,6 +392,8 @@ void ParaLineSpacingControl::Rearrange(S mbUseLineSPCustom = USE_CUSTOM; } break; + default: + break; } } break; @@ -447,6 +449,8 @@ void ParaLineSpacingControl::Rearrange(S mbUseLineSPCustom = USE_CUSTOM; } break; + default: + break; } } else if( eState == SFX_ITEM_DISABLED )
svn commit: r1483660 - /openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx
Author: paveljanik Date: Fri May 17 05:59:14 2013 New Revision: 1483660 URL: http://svn.apache.org/r1483660 Log: Remove unused variables to prevent compiler warnings. Modified: openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx Modified: openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx?rev=1483660r1=1483659r2=1483660view=diff == --- openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/nbdtmg.cxx Fri May 17 05:59:14 2013 @@ -386,7 +386,6 @@ sal_uInt16 BulletsTypeMgr::GetNBOIndexFo SvxNumberFormat aFmt(aNum.GetLevel(nActLv)); sal_Unicode cChar = aFmt.GetBulletChar(); - const Font* pFont = aFmt.GetBulletFont(); //sal_uInt16 nLength = 0; /*if( Application::GetSettings().GetLayoutRTL() ) { @@ -676,7 +675,6 @@ sal_uInt16 GraphyicBulletsTypeMgr::GetNB if ( pGrf ) { - const String* pGrfName = pBrsh-GetGraphicLink(); Graphic aGraphic; for(sal_uInt16 i=0;iaGrfDataLst.Count();i++) { @@ -1054,8 +1052,6 @@ sal_uInt16 MixBulletsTypeMgr::GetNBOInde if ( pGrf ) { - const String* pGrfName = pBrsh-GetGraphicLink(); - //String* pGrfName = (String*)(pBrsh-GetGraphicLink()); for(sal_uInt16 i = nFromIndex; i DEFAULT_BULLET_TYPES; i++) { if ( pActualBullets[i]-eType == eNBType::GRAPHICBULLETS ) @@ -1537,8 +1533,6 @@ sal_uInt16 NumberingTypeMgr::GetNBOIndex return (sal_uInt16)0x; SvxNumberFormat aFmt(aNum.GetLevel(nActLv)); - sal_Unicode cPrefix = rtl::OUString(aFmt.GetPrefix()).getStr()[0]; - sal_Unicode cSuffix = rtl::OUString(aFmt.GetSuffix()).getStr()[0]; String sPreFix = aFmt.GetPrefix(); String sSuffix = aFmt.GetSuffix(); String sEmpty; @@ -1798,12 +1792,8 @@ sal_uInt16 OutlineTypeMgr::GetNBOIndexFo { NumSettings_ImplPtr _pSet = pItemArr-pNumSettingsArr-GetObject(iLevel); sal_Int16 eNType = _pSet-nNumberType; - const sal_Unicode cLocalPrefix = _pSet-sPrefix.getLength() ? _pSet-sPrefix.getStr()[0] : 0; - const sal_Unicode cLocalSuffix = _pSet-sSuffix.getLength() ? _pSet-sSuffix.getStr()[0] : 0; SvxNumberFormat aFmt(aNum.GetLevel(iLevel)); - sal_Unicode cPrefix = rtl::OUString(aFmt.GetPrefix()).getStr()[0]; - sal_Unicode cSuffix = rtl::OUString(aFmt.GetSuffix()).getStr()[0]; String sPreFix = aFmt.GetPrefix(); String sSuffix = aFmt.GetSuffix(); String sEmpty; @@ -1811,7 +1801,6 @@ sal_uInt16 OutlineTypeMgr::GetNBOIndexFo if( eNumType == SVX_NUM_CHAR_SPECIAL) { sal_Unicode cChar = aFmt.GetBulletChar(); - const Font* pFont = aFmt.GetBulletFont(); sal_Unicode ccChar = _pSet-sBulletChar.getStr()[0]; rtl::OUString sFont = _pSet-sBulletFont; if ( !((cChar == ccChar) //pFont sFont.compareTo(pFont-GetName()) @@ -1881,8 +1870,6 @@ sal_Bool OutlineTypeMgr::RelplaceNumRule for (sal_uInt16 iLevel=0;iLevel nCount;iLevel++) { SvxNumberFormat aFmt(aNum.GetLevel(iLevel)); - sal_Unicode cPrefix = rtl::OUString(aFmt.GetPrefix()).getStr()[0]; - sal_Unicode cSuffix = rtl::OUString(aFmt.GetSuffix()).getStr()[0]; sal_Int16 eNumType = aFmt.GetNumberingType(); NumSettings_ImplPtr _pSet = pItemArr-pNumSettingsArr-GetObject(iLevel); @@ -1958,7 +1945,6 @@ sal_Bool OutlineTypeMgr::ApplyNumRule(Sv NumSettings_ImplPtr pLevelSettings = 0; String sBulletCharFmtName = GetBulCharFmtName(); - sal_uInt16 nMask = 1; for(sal_uInt16 i = 0; i aNum.GetLevelCount(); i++) { if(pNumSettingsArr-Count() i)
svn commit: r1481943 - /openoffice/trunk/main/sfx2/source/sidebar/FocusManager.cxx
Author: paveljanik Date: Mon May 13 15:50:20 2013 New Revision: 1481943 URL: http://svn.apache.org/r1481943 Log: Retype values properly to prevent compiler warnings. Modified: openoffice/trunk/main/sfx2/source/sidebar/FocusManager.cxx Modified: openoffice/trunk/main/sfx2/source/sidebar/FocusManager.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/sidebar/FocusManager.cxx?rev=1481943r1=1481942r2=1481943view=diff == --- openoffice/trunk/main/sfx2/source/sidebar/FocusManager.cxx (original) +++ openoffice/trunk/main/sfx2/source/sidebar/FocusManager.cxx Mon May 13 15:50:20 2013 @@ -282,7 +282,7 @@ bool FocusManager::IsDeckTitleVisible (v void FocusManager::FocusPanel (const sal_Int32 nPanelIndex) { -if (nPanelIndex0 || nPanelIndex=maPanels.size()) +if (nPanelIndex0 || nPanelIndex=static_castsal_Int32(maPanels.size())) return; Panel rPanel (*maPanels[nPanelIndex]); TitleBar* pTitleBar = rPanel.GetTitleBar(); @@ -496,7 +496,7 @@ void FocusManager::HandleKeyEvent ( case PC_PanelToolBox: case PC_PanelContent: // Go to next panel. -if (aLocation.mnIndex maPanels.size()-1) +if (aLocation.mnIndex static_castsal_Int32(maPanels.size())-1) FocusPanel(aLocation.mnIndex+1); else FocusButton(0); @@ -510,7 +510,7 @@ void FocusManager::HandleKeyEvent ( case PC_TabBar: // Go to next tab bar item. -if (aLocation.mnIndex maButtons.size()-1) +if (aLocation.mnIndex static_castsal_Int32(maButtons.size())-1) FocusButton(aLocation.mnIndex + 1); else if (IsDeckTitleVisible()) FocusDeckTitle();
svn commit: r1479356 - /openoffice/trunk/main/svx/source/sidebar/insert/InsertPropertyPanel.cxx
Author: paveljanik Date: Sun May 5 18:49:42 2013 New Revision: 1479356 URL: http://svn.apache.org/r1479356 Log: Remove duplicated macro definition. Modified: openoffice/trunk/main/svx/source/sidebar/insert/InsertPropertyPanel.cxx Modified: openoffice/trunk/main/svx/source/sidebar/insert/InsertPropertyPanel.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/insert/InsertPropertyPanel.cxx?rev=1479356r1=1479355r2=1479356view=diff == --- openoffice/trunk/main/svx/source/sidebar/insert/InsertPropertyPanel.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/insert/InsertPropertyPanel.cxx Sun May 5 18:49:42 2013 @@ -46,8 +46,6 @@ using namespace css; using namespace cssu; using ::rtl::OUString; -#define A2S(pString) (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pString))) - namespace svx { namespace sidebar {
svn commit: r1479357 - /openoffice/trunk/main/svx/source/sidebar/insert/SimpleToolBoxController.cxx
Author: paveljanik Date: Sun May 5 18:51:49 2013 New Revision: 1479357 URL: http://svn.apache.org/r1479357 Log: Initialize variable to prevent compiler warning. Modified: openoffice/trunk/main/svx/source/sidebar/insert/SimpleToolBoxController.cxx Modified: openoffice/trunk/main/svx/source/sidebar/insert/SimpleToolBoxController.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/insert/SimpleToolBoxController.cxx?rev=1479357r1=1479356r2=1479357view=diff == --- openoffice/trunk/main/svx/source/sidebar/insert/SimpleToolBoxController.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/insert/SimpleToolBoxController.cxx Sun May 5 18:51:49 2013 @@ -68,7 +68,7 @@ void SAL_CALL SimpleToolBoxController::s nItemBits = ~TIB_CHECKABLE; TriState eState = STATE_NOCHECK; -sal_Bool bValue; +sal_Bool bValue = sal_False; if (rEvent.State = bValue) { // Boolean, treat it as checked/unchecked
svn commit: r1477054 - /openoffice/trunk/main/chart2/source/controller/main/ShapeController.cxx
Author: paveljanik Date: Mon Apr 29 13:32:55 2013 New Revision: 1477054 URL: http://svn.apache.org/r1477054 Log: Comment out unused variable to prevent compiler warning. Modified: openoffice/trunk/main/chart2/source/controller/main/ShapeController.cxx Modified: openoffice/trunk/main/chart2/source/controller/main/ShapeController.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/chart2/source/controller/main/ShapeController.cxx?rev=1477054r1=1477053r2=1477054view=diff == --- openoffice/trunk/main/chart2/source/controller/main/ShapeController.cxx (original) +++ openoffice/trunk/main/chart2/source/controller/main/ShapeController.cxx Mon Apr 29 13:32:55 2013 @@ -322,7 +322,7 @@ void ShapeController::executeDispatch_Fo { SfxItemPool rItemPool = pDrawViewWrapper-GetModel()-GetItemPool(); SfxItemSet aSet( rItemPool, rItemPool.GetFirstWhich(), rItemPool.GetLastWhich() ); -const SvxColorTableItem* pColorItem = static_cast const SvxColorTableItem* ( aSet.GetItem( SID_COLOR_TABLE ) ); +// const SvxColorTableItem* pColorItem = static_cast const SvxColorTableItem* ( aSet.GetItem( SID_COLOR_TABLE ) ); if ( pDlg-Execute() == RET_OK ) {
svn commit: r1477084 - /openoffice/trunk/main/sc/source/ui/drawfunc/drawsh.cxx
Author: paveljanik Date: Mon Apr 29 14:04:21 2013 New Revision: 1477084 URL: http://svn.apache.org/r1477084 Log: Comment out unused variable to prevent compiler warning. Modified: openoffice/trunk/main/sc/source/ui/drawfunc/drawsh.cxx Modified: openoffice/trunk/main/sc/source/ui/drawfunc/drawsh.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/drawfunc/drawsh.cxx?rev=1477084r1=1477083r2=1477084view=diff == --- openoffice/trunk/main/sc/source/ui/drawfunc/drawsh.cxx (original) +++ openoffice/trunk/main/sc/source/ui/drawfunc/drawsh.cxx Mon Apr 29 14:04:21 2013 @@ -464,8 +464,7 @@ void ScDrawShell::ExecuteAreaDlg( SfxReq // #i74099# by default, the dialog deletes the current color table if a different one is loaded // (see SwDrawShell::ExecDrawDlg) -const SvxColorTableItem* pColorItem = -static_castconst SvxColorTableItem*( pViewData-GetSfxDocShell()-GetItem(SID_COLOR_TABLE) ); +// const SvxColorTableItem* pColorItem = static_castconst SvxColorTableItem*( pViewData-GetSfxDocShell()-GetItem(SID_COLOR_TABLE) ); if ( nTabPage != 0x ) pDlg-SetCurPageId( nTabPage );
svn commit: r1477095 - /openoffice/trunk/main/sw/source/ui/shells/drawdlg.cxx
Author: paveljanik Date: Mon Apr 29 14:19:43 2013 New Revision: 1477095 URL: http://svn.apache.org/r1477095 Log: Comment out unused variable to prevent compiler warning. Modified: openoffice/trunk/main/sw/source/ui/shells/drawdlg.cxx Modified: openoffice/trunk/main/sw/source/ui/shells/drawdlg.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/shells/drawdlg.cxx?rev=1477095r1=1477094r2=1477095view=diff == --- openoffice/trunk/main/sw/source/ui/shells/drawdlg.cxx (original) +++ openoffice/trunk/main/sw/source/ui/shells/drawdlg.cxx Mon Apr 29 14:19:43 2013 @@ -106,7 +106,7 @@ void SwDrawShell::ExecDrawDlg(SfxRequest pDoc, pView); DBG_ASSERT(pDlg, Dialogdiet fail!); - const SvxColorTableItem* pColorItem = (const SvxColorTableItem*) + // const SvxColorTableItem* pColorItem = (const SvxColorTableItem*) GetView().GetDocShell()-GetItem(SID_COLOR_TABLE); if (pDlg-Execute() == RET_OK)
svn commit: r1477239 - /openoffice/trunk/main/svx/source/xoutdev/xtable.cxx
Author: paveljanik Date: Mon Apr 29 18:06:52 2013 New Revision: 1477239 URL: http://svn.apache.org/r1477239 Log: Cast unsigned constant to prevent compiler warning. Modified: openoffice/trunk/main/svx/source/xoutdev/xtable.cxx Modified: openoffice/trunk/main/svx/source/xoutdev/xtable.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/xoutdev/xtable.cxx?rev=1477239r1=1477238r2=1477239view=diff == --- openoffice/trunk/main/svx/source/xoutdev/xtable.cxx (original) +++ openoffice/trunk/main/svx/source/xoutdev/xtable.cxx Mon Apr 29 18:06:52 2013 @@ -264,7 +264,7 @@ void XPropertyList::Insert( XPropertyEnt { const long nObjectCount(maContent.size()); -if(LIST_APPEND == nIndex || nIndex = nObjectCount) +if(static_castlong(LIST_APPEND) == nIndex || nIndex = nObjectCount) { maContent.push_back(pEntry); }
svn commit: r1476125 - /openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
Author: paveljanik Date: Fri Apr 26 10:11:48 2013 New Revision: 1476125 URL: http://svn.apache.org/r1476125 Log: Reorder initializations properly to prevent compiler warning. Modified: openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx Modified: openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx?rev=1476125r1=1476124r2=1476125view=diff == --- openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx Fri Apr 26 10:11:48 2013 @@ -1650,12 +1650,12 @@ ParaPropertyPanel::ParaPropertyPanel(Win //i122166, the icons for numbering or bullets toolbox inside toolbar and sidebar should be the same one maBulletOnOff (FN_NUM_BULLET_ON, *pBindings,*this,A2S(DefaultBullet),rxFrame), maNumberOnOff (FN_NUM_NUMBERING_ON, *pBindings,*this,A2S(DefaultNumbering),rxFrame), - mxFrame(rxFrame), //End i122166 maBackColorControl (SID_BACKGROUND_COLOR,*pBindings,*this), m_aMetricCtl (SID_ATTR_METRIC, *pBindings,*this), maBulletNumRuleIndex (FN_BUL_NUM_RULE_INDEX, *pBindings,*this), maNumNumRuleIndex (FN_NUM_NUM_RULE_INDEX, *pBindings,*this), + mxFrame(rxFrame), maContext(), mpBindings(pBindings), maLineSpacePopup(this, ::boost::bind(ParaPropertyPanel::CreateLineSpacingControl, this, _1)),
svn commit: r1470055 - /openoffice/trunk/main/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
Author: paveljanik Date: Fri Apr 19 21:43:36 2013 New Revision: 1470055 URL: http://svn.apache.org/r1470055 Log: WaE: unname unused argument to prevent compiler warning. Modified: openoffice/trunk/main/svx/source/sidebar/possize/PosSizePropertyPanel.cxx Modified: openoffice/trunk/main/svx/source/sidebar/possize/PosSizePropertyPanel.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/possize/PosSizePropertyPanel.cxx?rev=1470055r1=1470054r2=1470055view=diff == --- openoffice/trunk/main/svx/source/sidebar/possize/PosSizePropertyPanel.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/possize/PosSizePropertyPanel.cxx Fri Apr 19 21:43:36 2013 @@ -634,7 +634,7 @@ void PosSizePropertyPanel::NotifyItemUpd sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState, -const bool bIsEnabled) +const bool /* bIsEnabled */) { mpFtAngle-Enable(); mpMtrAngle-Enable();
svn commit: r1468804 - /openoffice/trunk/main/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
Author: paveljanik Date: Wed Apr 17 09:10:06 2013 New Revision: 1468804 URL: http://svn.apache.org/r1468804 Log: Remove unused variable to prevent WaE issue. Modified: openoffice/trunk/main/sc/source/ui/miscdlgs/tabbgcolordlg.cxx Modified: openoffice/trunk/main/sc/source/ui/miscdlgs/tabbgcolordlg.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/miscdlgs/tabbgcolordlg.cxx?rev=1468804r1=1468803r2=1468804view=diff == --- openoffice/trunk/main/sc/source/ui/miscdlgs/tabbgcolordlg.cxx (original) +++ openoffice/trunk/main/sc/source/ui/miscdlgs/tabbgcolordlg.cxx Wed Apr 17 09:10:06 2013 @@ -115,7 +115,6 @@ void ScTabBgColorDlg::FillColorValueSets if ( pColorTable ) { nColorCount = pColorTable-Count(); -XColorEntry* pEntry = NULL; Color aColWhite( COL_WHITE ); String aStrWhite( EditResId( RID_SVXITEMS_COLOR_WHITE ) );
svn commit: r1467599 - /openoffice/trunk/main/svx/inc/svx/nbdtmg.hxx
Author: paveljanik Date: Sat Apr 13 11:59:17 2013 New Revision: 1467599 URL: http://svn.apache.org/r1467599 Log: Reorder initializations to prevent compiler warnings. Modified: openoffice/trunk/main/svx/inc/svx/nbdtmg.hxx Modified: openoffice/trunk/main/svx/inc/svx/nbdtmg.hxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/inc/svx/nbdtmg.hxx?rev=1467599r1=1467598r2=1467599view=diff == --- openoffice/trunk/main/svx/inc/svx/nbdtmg.hxx (original) +++ openoffice/trunk/main/svx/inc/svx/nbdtmg.hxx Sat Apr 13 11:59:17 2013 @@ -80,10 +80,10 @@ class SVX_DLLPUBLIC NumSettings_Impl public: NumSettings_Impl() : - nNumberType(0), - pBrushItem(0), - aSize(0,0), - nParentNumbering(0) + nNumberType(0), + nParentNumbering(0), + pBrushItem(0), + aSize(0,0) {} ~NumSettings_Impl(){} }; @@ -134,8 +134,8 @@ class SVX_DLLPUBLIC GrfBulDataRelation: BulletsSettings(eTy), nTabIndex((sal_uInt16)0x), nGallaryIndex((sal_uInt16)0x), - aSize(0,0), - pGrfObj(0) + pGrfObj(0), + aSize(0,0) {} virtual ~GrfBulDataRelation(){} };
svn commit: r1467600 - /openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx
Author: paveljanik Date: Sat Apr 13 12:01:17 2013 New Revision: 1467600 URL: http://svn.apache.org/r1467600 Log: Remove unused varables to prevent WaE issues. Modified: openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx Modified: openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx?rev=1467600r1=1467599r2=1467600view=diff == --- openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx Sat Apr 13 12:01:17 2013 @@ -728,8 +728,6 @@ IMPL_LINK(ParaLineSpacingControl, VSSelH if(pControl == maLineSpacing) { sal_uInt16 iPos = maLineSpacing.GetSelectItemId(); - short nKern = 0; - long nVal = 0; switch ( iPos ) { case 1:
svn commit: r1467601 - /openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
Author: paveljanik Date: Sat Apr 13 12:02:59 2013 New Revision: 1467601 URL: http://svn.apache.org/r1467601 Log: Unname unused arguments to prevent WaE issues. Modified: openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx Modified: openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx?rev=1467601r1=1467600r2=1467601view=diff == --- openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx Sat Apr 13 12:02:59 2013 @@ -750,7 +750,7 @@ void ParaPropertyPanel::ShowMenu (void) } } -void ParaPropertyPanel::ParaBKGStateChanged(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState) +void ParaPropertyPanel::ParaBKGStateChanged(sal_uInt16 /* nSID */, SfxItemState eState, const SfxPoolItem* pState) { if( eState = SFX_ITEM_DEFAULT pState-ISA(SvxColorItem)) { @@ -773,7 +773,7 @@ Color ParaPropertyPanel::GetBGColor (voi } void ParaPropertyPanel::SetBGColor ( -const String rsColorName, +const String /* rsColorName */, const Color aColor) { SvxColorItem aColorItem(aColor, SID_BACKGROUND_COLOR); @@ -831,7 +831,7 @@ IMPL_LINK( ParaPropertyPanel, AlignStyle return 0; } //==for Paragraph Indent= -IMPL_LINK( ParaPropertyPanel, ModifyIndentHdl_Impl, SvxRelativeField*, pBox ) +IMPL_LINK( ParaPropertyPanel, ModifyIndentHdl_Impl, SvxRelativeField*, /* pBox */ ) { SvxLRSpaceItem aMargin( SID_ATTR_PARA_LRSPACE ); aMargin.SetTxtLeft( (const long)GetCoreValue( *maLeftIndent.get(), m_eLRSpaceUnit ) ); @@ -998,7 +998,7 @@ IMPL_LINK( ParaPropertyPanel, ClickLineS } //==for Paragraph Spacing= -IMPL_LINK( ParaPropertyPanel, ULSpaceHdl_Impl, SvxRelativeField*, pBox ) +IMPL_LINK( ParaPropertyPanel, ULSpaceHdl_Impl, SvxRelativeField*, /* pBox */) { SvxULSpaceItem aMargin( SID_ATTR_PARA_ULSPACE ); aMargin.SetUpper( (sal_uInt16)GetCoreValue( *maTopDist.get(), m_eULSpaceUnit ) ); @@ -1199,7 +1199,7 @@ void ParaPropertyPanel::StateChangedAlig } } -void ParaPropertyPanel::StateChangedIndentImpl( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) +void ParaPropertyPanel::StateChangedIndentImpl( sal_uInt16 /* nSID */, SfxItemState eState, const SfxPoolItem* pState ) { switch (maContext.GetCombinedContext()) { @@ -1357,7 +1357,7 @@ void ParaPropertyPanel::StateChangedInde } } -void ParaPropertyPanel::StateChangedLnSPImpl( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) +void ParaPropertyPanel::StateChangedLnSPImpl( sal_uInt16 /* nSID */, SfxItemState eState, const SfxPoolItem* pState ) { meLnSpState = eState; @@ -1369,7 +1369,7 @@ void ParaPropertyPanel::StateChangedLnSP } } -void ParaPropertyPanel::StateChangedULImpl( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) +void ParaPropertyPanel::StateChangedULImpl( sal_uInt16 /* nSID */, SfxItemState eState, const SfxPoolItem* pState ) { maTopDist-SetMax( maTopDist-Normalize( MAX_DURCH ), MapToFieldUnit(m_eULSpaceUnit) ); maBottomDist-SetMax( maBottomDist-Normalize( MAX_DURCH ), MapToFieldUnit(m_eULSpaceUnit) ); @@ -1500,7 +1500,7 @@ void ParaPropertyPanel::StateChangeBulle } //Modified for NumberingBullets Dialog UX Enh(Story 992) by chengjh,2011.7.5 //Handing the transferred the num rule index data of the current selection -void ParaPropertyPanel::StateChangeBulletNumRuleImpl( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) +void ParaPropertyPanel::StateChangeBulletNumRuleImpl( sal_uInt16 nSID, SfxItemState /* eState */, const SfxPoolItem* pState ) { const SfxUInt16Item* pIt = (const SfxUInt16Item*)pState; @@ -1579,7 +1579,7 @@ PopupControl* ParaPropertyPanel::CreateB ParaPropertyPanel::ParaPropertyPanel(Window* pParent, -const cssu::Referencecss::frame::XFrame rxFrame, +const cssu::Referencecss::frame::XFrame /* rxFrame */, SfxBindings* pBindings, const cssu::Referencecss::ui::XSidebar rxSidebar) : Control(pParent, SVX_RES(RID_SIDEBAR_PARA_PANEL)),
svn commit: r1467605 - /openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx
Author: paveljanik Date: Sat Apr 13 12:13:27 2013 New Revision: 1467605 URL: http://svn.apache.org/r1467605 Log: Unname unused arguments to prevent WaE issues. Modified: openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx Modified: openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx?rev=1467605r1=1467604r2=1467605view=diff == --- openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx (original) +++ openoffice/trunk/main/svx/source/xoutdev/xattr2.cxx Sat Apr 13 12:13:27 2013 @@ -359,13 +359,13 @@ SvStream AffineMatrixItem::Store(SvStre return rStream; } -sal_Bool AffineMatrixItem::QueryValue( com::sun::star::uno::Any rVal, sal_uInt8 nMemberId ) const +sal_Bool AffineMatrixItem::QueryValue( com::sun::star::uno::Any rVal, sal_uInt8 /* nMemberId */ ) const { rVal = maMatrix; return sal_True; } -sal_Bool AffineMatrixItem::PutValue( const com::sun::star::uno::Any rVal, sal_uInt8 nMemberId ) +sal_Bool AffineMatrixItem::PutValue( const com::sun::star::uno::Any rVal, sal_uInt8 /* nMemberId */ ) { if (rVal = maMatrix) {
svn commit: r1466439 - /openoffice/trunk/main/editeng/source/outliner/outlvw.cxx
Author: paveljanik Date: Wed Apr 10 12:04:57 2013 New Revision: 1466439 URL: http://svn.apache.org/r1466439 Log: Comment out unused variable to prevent WaE issues. Modified: openoffice/trunk/main/editeng/source/outliner/outlvw.cxx Modified: openoffice/trunk/main/editeng/source/outliner/outlvw.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/editeng/source/outliner/outlvw.cxx?rev=1466439r1=1466438r2=1466439view=diff == --- openoffice/trunk/main/editeng/source/outliner/outlvw.cxx (original) +++ openoffice/trunk/main/editeng/source/outliner/outlvw.cxx Wed Apr 10 12:04:57 2013 @@ -1268,7 +1268,7 @@ sal_Bool OutlinerView::ToggleBullets(sal Paragraph* pPara = pOwner-pParaList-GetParagraph( nPara ); DBG_ASSERT(pPara, OutlinerView::ToggleBullets(), illegal selection?); - const SfxItemSet rAttrs = pOwner-GetParaAttribs( nPara ); + // const SfxItemSet rAttrs = pOwner-GetParaAttribs( nPara ); if( pPara ) { const SvxNumberFormat* pFmt = pOwner -GetNumberFormat(nPara);
svn commit: r1466533 - /openoffice/trunk/main/sc/source/ui/view/formatsh.cxx
Author: paveljanik Date: Wed Apr 10 15:58:57 2013 New Revision: 1466533 URL: http://svn.apache.org/r1466533 Log: Comment unused variables to prevent WaE issues. Modified: openoffice/trunk/main/sc/source/ui/view/formatsh.cxx Modified: openoffice/trunk/main/sc/source/ui/view/formatsh.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/view/formatsh.cxx?rev=1466533r1=1466532r2=1466533view=diff == --- openoffice/trunk/main/sc/source/ui/view/formatsh.cxx (original) +++ openoffice/trunk/main/sc/source/ui/view/formatsh.cxx Wed Apr 10 15:58:57 2013 @@ -1755,7 +1755,7 @@ void ScFormatShell::ExecuteAttr( SfxRequ case SID_ATTR_BORDER_DIAG_TLBR: case SID_ATTR_BORDER_DIAG_BLTR: { - ScDocument* pDoc = GetViewData()-GetDocument(); + // ScDocument* pDoc = GetViewData()-GetDocument(); const ScPatternAttr* pOldAttrs = pTabViewShell-GetSelectionPattern(); SfxItemSet* pOldSet = new SfxItemSet(pOldAttrs-GetItemSet()); SfxItemSet* pNewSet = new SfxItemSet(pOldAttrs-GetItemSet()); @@ -1841,7 +1841,7 @@ void ScFormatShell::GetAttrState( SfxIte { ScTabViewShell* pTabViewShell = GetViewData()-GetViewShell(); const SfxItemSetrAttrSet = pTabViewShell-GetSelectionPattern()-GetItemSet(); - const SvxBorderLine* pLine = pTabViewShell-GetDefaultFrameLine(); + // const SvxBorderLine* pLine = pTabViewShell-GetDefaultFrameLine(); const SvxBrushItem rBrushItem = (const SvxBrushItem)rAttrSet.Get( ATTR_BACKGROUND ); SfxWhichIter aIter( rSet ); sal_uInt16 nWhich = aIter.FirstWhich(); @@ -1881,7 +1881,7 @@ void ScFormatShell::GetAttrState( SfxIte // handled together because both need the cell border information for decisions // rSet.Put( SvxColorItem( pLine ? pLine-GetColor() : Color(), SID_FRAME_LINECOLOR ) ); Color aCol = 0; - sal_uInt16 nOut = 0, nIn = 0, nDis = 0; + // sal_uInt16 nOut = 0, nIn = 0, nDis = 0; SvxBorderLine aLine(0,0,0,0); bool bCol = 0; bool bColDisable = 0, bStyleDisable = 0;
svn commit: r1466536 - /openoffice/trunk/main/sd/source/ui/sidebar/PreviewValueSet.cxx
Author: paveljanik Date: Wed Apr 10 16:06:51 2013 New Revision: 1466536 URL: http://svn.apache.org/r1466536 Log: Remove unused variables to prevent WaE issues. Modified: openoffice/trunk/main/sd/source/ui/sidebar/PreviewValueSet.cxx Modified: openoffice/trunk/main/sd/source/ui/sidebar/PreviewValueSet.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sd/source/ui/sidebar/PreviewValueSet.cxx?rev=1466536r1=1466535r2=1466536view=diff == --- openoffice/trunk/main/sd/source/ui/sidebar/PreviewValueSet.cxx (original) +++ openoffice/trunk/main/sd/source/ui/sidebar/PreviewValueSet.cxx Wed Apr 10 16:06:51 2013 @@ -99,9 +99,6 @@ void PreviewValueSet::Resize (void) void PreviewValueSet::Rearrange (bool bForceRequestResize) { -sal_uInt16 nOldColumnCount (GetColCount()); -sal_uInt16 nOldRowCount (GetLineCount()); - sal_uInt16 nNewColumnCount (CalculateColumnCount ( GetOutputSizePixel().Width())); sal_uInt16 nNewRowCount (CalculateRowCount (nNewColumnCount));
svn commit: r1466537 - /openoffice/trunk/main/sd/source/ui/view/drviews6.cxx
Author: paveljanik Date: Wed Apr 10 16:07:20 2013 New Revision: 1466537 URL: http://svn.apache.org/r1466537 Log: Remove unused variable to prevent WaE issues. Modified: openoffice/trunk/main/sd/source/ui/view/drviews6.cxx Modified: openoffice/trunk/main/sd/source/ui/view/drviews6.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sd/source/ui/view/drviews6.cxx?rev=1466537r1=1466536r2=1466537view=diff == --- openoffice/trunk/main/sd/source/ui/view/drviews6.cxx (original) +++ openoffice/trunk/main/sd/source/ui/view/drviews6.cxx Wed Apr 10 16:07:20 2013 @@ -101,7 +101,6 @@ void DrawViewShell::ExecFormText(SfxRequ mpDrawView !mpDrawView-IsPresObjSelected() ) { const SfxItemSet rSet = *rReq.GetArgs(); - const SfxPoolItem* pItem; if ( mpDrawView-IsTextEdit() ) mpDrawView-SdrEndTextEdit();
svn commit: r1466538 - /openoffice/trunk/main/sd/source/ui/view/drviews7.cxx
Author: paveljanik Date: Wed Apr 10 16:07:47 2013 New Revision: 1466538 URL: http://svn.apache.org/r1466538 Log: Remove unused variable to prevent WaE issues. Modified: openoffice/trunk/main/sd/source/ui/view/drviews7.cxx Modified: openoffice/trunk/main/sd/source/ui/view/drviews7.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sd/source/ui/view/drviews7.cxx?rev=1466538r1=1466537r2=1466538view=diff == --- openoffice/trunk/main/sd/source/ui/view/drviews7.cxx (original) +++ openoffice/trunk/main/sd/source/ui/view/drviews7.cxx Wed Apr 10 16:07:47 2013 @@ -211,8 +211,6 @@ IMPL_LINK( DrawViewShell, ClipboardChang void DrawViewShell::GetDrawAttrState(SfxItemSet rSet) { -const SdrMarkList rMarkList = mpDrawView-GetMarkedObjectList(); - SfxItemSet aSet( mpDrawView-GetGeoAttrFromMarked() ); rSet.Put(aSet,sal_False); }
svn commit: r1466539 - /openoffice/trunk/main/sc/source/ui/drawfunc/drawsh5.cxx
Author: paveljanik Date: Wed Apr 10 16:09:40 2013 New Revision: 1466539 URL: http://svn.apache.org/r1466539 Log: Remove unused variable to prevent WaE issues. Modified: openoffice/trunk/main/sc/source/ui/drawfunc/drawsh5.cxx Modified: openoffice/trunk/main/sc/source/ui/drawfunc/drawsh5.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/drawfunc/drawsh5.cxx?rev=1466539r1=1466538r2=1466539view=diff == --- openoffice/trunk/main/sc/source/ui/drawfunc/drawsh5.cxx (original) +++ openoffice/trunk/main/sc/source/ui/drawfunc/drawsh5.cxx Wed Apr 10 16:09:40 2013 @@ -680,7 +680,6 @@ void ScDrawShell::ExecFormText(SfxReques if ( rMarkList.GetMarkCount() == 1 rReq.GetArgs() ) { const SfxItemSet rSet = *rReq.GetArgs(); -const SfxPoolItem* pItem; if ( pDrView-IsTextEdit() ) pDrView-ScEndTextEdit();
svn commit: r1466540 - /openoffice/trunk/main/sc/source/ui/drawfunc/drtxtob2.cxx
Author: paveljanik Date: Wed Apr 10 16:12:23 2013 New Revision: 1466540 URL: http://svn.apache.org/r1466540 Log: Remove unused variable to prevent WaE issues. Modified: openoffice/trunk/main/sc/source/ui/drawfunc/drtxtob2.cxx Modified: openoffice/trunk/main/sc/source/ui/drawfunc/drtxtob2.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/drawfunc/drtxtob2.cxx?rev=1466540r1=1466539r2=1466540view=diff == --- openoffice/trunk/main/sc/source/ui/drawfunc/drtxtob2.cxx (original) +++ openoffice/trunk/main/sc/source/ui/drawfunc/drtxtob2.cxx Wed Apr 10 16:12:23 2013 @@ -200,7 +200,6 @@ void ScDrawTextObjectBar::ExecFormText(S if ( rMarkList.GetMarkCount() == 1 rReq.GetArgs() ) { const SfxItemSet rSet = *rReq.GetArgs(); - const SfxPoolItem* pItem; if ( pDrView-IsTextEdit() ) pDrView-ScEndTextEdit();
svn commit: r1466543 - /openoffice/trunk/main/sc/source/ui/drawfunc/drtxtob.cxx
Author: paveljanik Date: Wed Apr 10 16:14:46 2013 New Revision: 1466543 URL: http://svn.apache.org/r1466543 Log: Remove unused variables to prevent WaE issues. Modified: openoffice/trunk/main/sc/source/ui/drawfunc/drtxtob.cxx Modified: openoffice/trunk/main/sc/source/ui/drawfunc/drtxtob.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/drawfunc/drtxtob.cxx?rev=1466543r1=1466542r2=1466543view=diff == --- openoffice/trunk/main/sc/source/ui/drawfunc/drtxtob.cxx (original) +++ openoffice/trunk/main/sc/source/ui/drawfunc/drtxtob.cxx Wed Apr 10 16:14:46 2013 @@ -912,7 +912,6 @@ void __EXPORT ScDrawTextObjectBar::Execu } else if( nSlot == SID_ATTR_PARA_LINESPACE ) { - sal_uInt16 nId = SID_ATTR_PARA_LINESPACE; SvxLineSpacingItem aLineSpaceItem = (const SvxLineSpacingItem)pArgs-Get( GetPool().GetWhich(nSlot)); SfxItemSet aEditAttr( GetPool(), EE_PARA_SBL, EE_PARA_SBL ); @@ -925,7 +924,6 @@ void __EXPORT ScDrawTextObjectBar::Execu } else if( nSlot == SID_ATTR_PARA_ULSPACE ) { - sal_uInt16 nId = SID_ATTR_PARA_ULSPACE; SvxULSpaceItem aULSpaceItem = (const SvxULSpaceItem)pArgs-Get( GetPool().GetWhich(nSlot)); SfxItemSet aEditAttr( GetPool(), EE_PARA_ULSPACE, EE_PARA_ULSPACE );
svn commit: r1466549 - in /openoffice/trunk/main/sw/source/ui/shells: drawsh.cxx drwbassh.cxx drwtxtsh.cxx
Author: paveljanik Date: Wed Apr 10 16:27:29 2013 New Revision: 1466549 URL: http://svn.apache.org/r1466549 Log: Remove unused variables to prevent WaE issues. Modified: openoffice/trunk/main/sw/source/ui/shells/drawsh.cxx openoffice/trunk/main/sw/source/ui/shells/drwbassh.cxx openoffice/trunk/main/sw/source/ui/shells/drwtxtsh.cxx Modified: openoffice/trunk/main/sw/source/ui/shells/drawsh.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/shells/drawsh.cxx?rev=1466549r1=1466548r2=1466549view=diff == --- openoffice/trunk/main/sw/source/ui/shells/drawsh.cxx (original) +++ openoffice/trunk/main/sw/source/ui/shells/drawsh.cxx Wed Apr 10 16:27:29 2013 @@ -413,7 +413,6 @@ void SwDrawShell::ExecFormText(SfxReques if ( rMarkList.GetMarkCount() == 1 rReq.GetArgs() ) { const SfxItemSet rSet = *rReq.GetArgs(); - const SfxPoolItem* pItem; if ( pDrView-IsTextEdit() ) { Modified: openoffice/trunk/main/sw/source/ui/shells/drwbassh.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/shells/drwbassh.cxx?rev=1466549r1=1466548r2=1466549view=diff == --- openoffice/trunk/main/sw/source/ui/shells/drwbassh.cxx (original) +++ openoffice/trunk/main/sw/source/ui/shells/drwbassh.cxx Wed Apr 10 16:27:29 2013 @@ -782,7 +782,7 @@ void SwDrawBaseShell::GetDrawAttrStateFo const SdrMarkList rMarkList = pSdrView-GetMarkedObjectList(); if( rMarkList.GetMark(0) != 0 ) { - SdrObject* pObj = rMarkList.GetMark(0)-GetMarkedSdrObj();//OST_IFBX@WL2 + // SdrObject* pObj = rMarkList.GetMark(0)-GetMarkedSdrObj();//OST_IFBX@WL2 SfxItemSet aNewAttr(pSdrView-GetGeoAttrFromMarked()); rSet.Put(aNewAttr,false); } Modified: openoffice/trunk/main/sw/source/ui/shells/drwtxtsh.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/shells/drwtxtsh.cxx?rev=1466549r1=1466548r2=1466549view=diff == --- openoffice/trunk/main/sw/source/ui/shells/drwtxtsh.cxx (original) +++ openoffice/trunk/main/sw/source/ui/shells/drwtxtsh.cxx Wed Apr 10 16:27:29 2013 @@ -292,10 +292,9 @@ void SwDrawTextShell::ExecFormText(SfxRe if ( rMarkList.GetMarkCount() == 1 rReq.GetArgs() ) { const SfxItemSet rSet = *rReq.GetArgs(); - const SfxPoolItem* pItem; //ask for the ViewFrame here - this may not be valid any longer! -SfxViewFrame* pVFrame = GetView().GetViewFrame(); + // SfxViewFrame* pVFrame = GetView().GetViewFrame(); if ( pDrView-IsTextEdit() ) { //#111733# Sometimes SdrEndTextEdit() initiates the change in selection and
svn commit: r1466587 - /openoffice/trunk/main/sfx2/source/sidebar/ContextList.cxx
Author: paveljanik Date: Wed Apr 10 17:43:27 2013 New Revision: 1466587 URL: http://svn.apache.org/r1466587 Log: Remove unused variable to prevent WaE. Modified: openoffice/trunk/main/sfx2/source/sidebar/ContextList.cxx Modified: openoffice/trunk/main/sfx2/source/sidebar/ContextList.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/sidebar/ContextList.cxx?rev=1466587r1=1466586r2=1466587view=diff == --- openoffice/trunk/main/sfx2/source/sidebar/ContextList.cxx (original) +++ openoffice/trunk/main/sfx2/source/sidebar/ContextList.cxx Wed Apr 10 17:43:27 2013 @@ -28,11 +28,6 @@ using ::rtl::OUString; namespace sfx2 { namespace sidebar { -namespace { -static const sal_Char* gsAny = any; -} - - ContextList::ContextList (void) : maEntries()
svn commit: r1466592 - /openoffice/trunk/main/sfx2/source/sidebar/CustomImageRadioButton.cxx
Author: paveljanik Date: Wed Apr 10 17:50:16 2013 New Revision: 1466592 URL: http://svn.apache.org/r1466592 Log: Unname unused argument to prevent WaE issues. Modified: openoffice/trunk/main/sfx2/source/sidebar/CustomImageRadioButton.cxx Modified: openoffice/trunk/main/sfx2/source/sidebar/CustomImageRadioButton.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/sidebar/CustomImageRadioButton.cxx?rev=1466592r1=1466591r2=1466592view=diff == --- openoffice/trunk/main/sfx2/source/sidebar/CustomImageRadioButton.cxx (original) +++ openoffice/trunk/main/sfx2/source/sidebar/CustomImageRadioButton.cxx Wed Apr 10 17:50:16 2013 @@ -48,7 +48,7 @@ CustomImageRadioButton::~CustomImageRadi } -void CustomImageRadioButton::Paint (const Rectangle rUpdateArea) +void CustomImageRadioButton::Paint (const Rectangle /* rUpdateArea */) { Rectangle aPaintRect( Rectangle(Point(0,0), GetSizePixel() ) ); SetMouseRect( aPaintRect );
svn commit: r1466593 - /openoffice/trunk/main/sfx2/source/sidebar/DeckLayouter.cxx
Author: paveljanik Date: Wed Apr 10 17:50:55 2013 New Revision: 1466593 URL: http://svn.apache.org/r1466593 Log: Comment unused variables to prevent WaE issues. Modified: openoffice/trunk/main/sfx2/source/sidebar/DeckLayouter.cxx Modified: openoffice/trunk/main/sfx2/source/sidebar/DeckLayouter.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/sidebar/DeckLayouter.cxx?rev=1466593r1=1466592r2=1466593view=diff == --- openoffice/trunk/main/sfx2/source/sidebar/DeckLayouter.cxx (original) +++ openoffice/trunk/main/sfx2/source/sidebar/DeckLayouter.cxx Wed Apr 10 17:50:55 2013 @@ -98,11 +98,11 @@ Rectangle DeckLayouter::LayoutPanels ( Rectangle aBox (PlaceVerticalScrollBar(rVerticalScrollBar, aContentArea, bShowVerticalScrollBar)); const sal_Int32 nWidth (aBox.GetWidth()); -const sal_Int32 nPanelTitleBarHeight (Theme::GetInteger(Theme::Int_PanelTitleBarHeight)); +// const sal_Int32 nPanelTitleBarHeight (Theme::GetInteger(Theme::Int_PanelTitleBarHeight)); // Prepare the separators, horizontal lines above and below the // panel titels. -const sal_Int32 nDeckSeparatorHeight (Theme::GetInteger(Theme::Int_DeckSeparatorHeight)); +// const sal_Int32 nDeckSeparatorHeight (Theme::GetInteger(Theme::Int_DeckSeparatorHeight)); // Get the requested heights of the panels and the available // height that is left when all panel titles and separators are
svn commit: r1466595 - /openoffice/trunk/main/sfx2/source/sidebar/FocusManager.cxx
Author: paveljanik Date: Wed Apr 10 17:51:54 2013 New Revision: 1466595 URL: http://svn.apache.org/r1466595 Log: Comment unused variables and rephrase the spaghetti code to prevent WaE issues. Modified: openoffice/trunk/main/sfx2/source/sidebar/FocusManager.cxx Modified: openoffice/trunk/main/sfx2/source/sidebar/FocusManager.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/sidebar/FocusManager.cxx?rev=1466595r1=1466594r2=1466595view=diff == --- openoffice/trunk/main/sfx2/source/sidebar/FocusManager.cxx (original) +++ openoffice/trunk/main/sfx2/source/sidebar/FocusManager.cxx Wed Apr 10 17:51:54 2013 @@ -51,8 +51,8 @@ namespace return PC_TitleBar; else if (rPanel.GetTitleBar()-GetToolBox().HasFocus()) return PC_ToolBox; -else -return PC_None; + + return PC_None; } } @@ -418,8 +418,8 @@ void FocusManager::HandleKeyEvent ( return; const sal_Int32 nPanelIndex (GetPanelIndex(rWindow)); -const bool bIsPanelTitleFocused (nPanelIndex=0 maPanels[nPanelIndex] != rWindow); -const bool bIsPanelToolBoxFocused (nPanelIndex=0 maPanels[nPanelIndex] != rWindow); +// const bool bIsPanelTitleFocused (nPanelIndex=0 maPanels[nPanelIndex] != rWindow); +// const bool bIsPanelToolBoxFocused (nPanelIndex=0 maPanels[nPanelIndex] != rWindow); sal_Int32 nButtonIndex (nPanelIndex==-1 ? GetButtonIndex(rWindow) : -1); switch (rKeyCode.GetCode())
svn commit: r1466636 - /openoffice/trunk/main/svx/source/dialog/dlgctrl.cxx
Author: paveljanik Date: Wed Apr 10 19:28:45 2013 New Revision: 1466636 URL: http://svn.apache.org/r1466636 Log: Use proper variable types to prevent comparing signed and unsigned variables (WaE). Modified: openoffice/trunk/main/svx/source/dialog/dlgctrl.cxx Modified: openoffice/trunk/main/svx/source/dialog/dlgctrl.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/dialog/dlgctrl.cxx?rev=1466636r1=1466635r2=1466636view=diff == --- openoffice/trunk/main/svx/source/dialog/dlgctrl.cxx (original) +++ openoffice/trunk/main/svx/source/dialog/dlgctrl.cxx Wed Apr 10 19:28:45 2013 @@ -1504,9 +1504,9 @@ void BitmapLB::SetVirtualDevice(const Si { const Size aBitmapSize(maBitmapEx.GetSizePixel()); -for(sal_uInt32 y(0); y rSize.Height(); y += aBitmapSize.Height()) +for(sal_Int32 y(0); y rSize.Height(); y += aBitmapSize.Height()) { -for(sal_uInt32 x(0); x rSize.Width(); x += aBitmapSize.Width()) +for(sal_Int32 x(0); x rSize.Width(); x += aBitmapSize.Width()) { maVD.DrawBitmapEx( Point(x, y), @@ -1694,9 +1694,9 @@ void FillAttrLB::SetVirtualDevice(const { const Size aBitmapSize(maBitmapEx.GetSizePixel()); -for(sal_uInt32 y(0); y rSize.Height(); y += aBitmapSize.Height()) +for(sal_Int32 y(0); y rSize.Height(); y += aBitmapSize.Height()) { -for(sal_uInt32 x(0); x rSize.Width(); x += aBitmapSize.Width()) +for(sal_Int32 x(0); x rSize.Width(); x += aBitmapSize.Width()) { maVD.DrawBitmapEx( Point(x, y),
svn commit: r1466637 - /openoffice/trunk/main/svx/source/gallery2/GalleryControl.cxx
Author: paveljanik Date: Wed Apr 10 19:29:37 2013 New Revision: 1466637 URL: http://svn.apache.org/r1466637 Log: Unname unused argument and reorder initializations properly to prevent WaE issues. Modified: openoffice/trunk/main/svx/source/gallery2/GalleryControl.cxx Modified: openoffice/trunk/main/svx/source/gallery2/GalleryControl.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/gallery2/GalleryControl.cxx?rev=1466637r1=1466636r2=1466637view=diff == --- openoffice/trunk/main/svx/source/gallery2/GalleryControl.cxx (original) +++ openoffice/trunk/main/svx/source/gallery2/GalleryControl.cxx Wed Apr 10 19:29:37 2013 @@ -40,20 +40,20 @@ static const sal_Int32 gnInitialVertical GalleryControl::GalleryControl ( -SfxBindings* pBindings, +SfxBindings* /* pBindings */, Window* pParentWindow) : Window(pParentWindow, GAL_RESID(RID_SVXDLG_GALLERYBROWSER)), mpGallery (Gallery::GetGalleryInstance()), + mpSplitter(new GallerySplitter( + this, + GAL_RESID(GALLERY_SPLITTER), + ::boost::bind(GalleryControl::InitSettings, this))), mpBrowser1(new GalleryBrowser1( this, GAL_RESID(GALLERY_BROWSER1), mpGallery, ::boost::bind(GalleryControl::KeyInput,this,_1,_2), ::boost::bind(GalleryControl::ThemeSelectionHasChanged, this))), - mpSplitter(new GallerySplitter( - this, - GAL_RESID(GALLERY_SPLITTER), - ::boost::bind(GalleryControl::InitSettings, this))), mpBrowser2(new GalleryBrowser2(this, GAL_RESID(GALLERY_BROWSER2), mpGallery)), maLastSize(GetOutputSizePixel()), mbIsInitialResize(true)
svn commit: r1466638 - /openoffice/trunk/main/svx/source/sidebar/area/AreaTransparencyGradientControl.cxx
Author: paveljanik Date: Wed Apr 10 19:31:46 2013 New Revision: 1466638 URL: http://svn.apache.org/r1466638 Log: Unname unused arguments and reorder initializations properly to prevent WaE issues. Modified: openoffice/trunk/main/svx/source/sidebar/area/AreaTransparencyGradientControl.cxx Modified: openoffice/trunk/main/svx/source/sidebar/area/AreaTransparencyGradientControl.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/area/AreaTransparencyGradientControl.cxx?rev=1466638r1=1466637r2=1466638view=diff == --- openoffice/trunk/main/svx/source/sidebar/area/AreaTransparencyGradientControl.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/area/AreaTransparencyGradientControl.cxx Wed Apr 10 19:31:46 2013 @@ -65,14 +65,14 @@ AreaTransparencyGradientControl::AreaTra maMtrTrgrCenterY(this, SVX_RES(MTR_TRGR_CENTER_Y)), maFtTrgrAngle(this, SVX_RES(FT_TRGR_ANGLE)), maMtrTrgrAngle(this, SVX_RES(MTR_TRGR_ANGLE)), + maBtnLeft45(this, SVX_RES(BTN_LEFT_SECOND)), + maBtnRight45(this, SVX_RES(BTN_RIGHT_FIRST)), maFtTrgrStartValue(this, SVX_RES(FT_TRGR_START_VALUE)), maMtrTrgrStartValue(this, SVX_RES(MTR_TRGR_START_VALUE)), maFtTrgrEndValue(this, SVX_RES(FT_TRGR_END_VALUE)), maMtrTrgrEndValue(this, SVX_RES(MTR_TRGR_END_VALUE)), maFtTrgrBorder(this, SVX_RES(FT_TRGR_BORDER)), maMtrTrgrBorder(this, SVX_RES(MTR_TRGR_BORDER)), - maBtnLeft45(this, SVX_RES(BTN_LEFT_SECOND)), - maBtnRight45(this, SVX_RES(BTN_RIGHT_FIRST)), maRotLeft( SVX_RES(IMG_ROT_LEFT)), maRotRight( SVX_RES(IMG_ROT_RIGHT)), mrAreaPropertyPanel(rPanel), @@ -304,7 +304,7 @@ void AreaTransparencyGradientControl::Ex -IMPL_LINK(AreaTransparencyGradientControl, ModifiedTrgrHdl_Impl, void *, pControl) +IMPL_LINK(AreaTransparencyGradientControl, ModifiedTrgrHdl_Impl, void *, /* pControl */) { sal_uInt8 nStartCol = (sal_uInt8)(((sal_uInt16)maMtrTrgrStartValue.GetValue() * 255) / 100); sal_uInt8 nEndCol = (sal_uInt8)(((sal_uInt16)maMtrTrgrEndValue.GetValue() * 255) / 100); @@ -315,7 +315,7 @@ IMPL_LINK(AreaTransparencyGradientContro -IMPL_LINK(AreaTransparencyGradientControl, Left_Click45_Impl, void *, pControl) +IMPL_LINK(AreaTransparencyGradientControl, Left_Click45_Impl, void *, /* pControl */) { sal_uInt8 nStartCol = (sal_uInt8)(((sal_uInt16)maMtrTrgrStartValue.GetValue() * 255) / 100); sal_uInt8 nEndCol = (sal_uInt8)(((sal_uInt16)maMtrTrgrEndValue.GetValue() * 255) / 100); @@ -331,7 +331,7 @@ IMPL_LINK(AreaTransparencyGradientContro -IMPL_LINK(AreaTransparencyGradientControl, Right_Click45_Impl, void *, pControl) +IMPL_LINK(AreaTransparencyGradientControl, Right_Click45_Impl, void *, /* pControl */) { sal_uInt8 nStartCol = (sal_uInt8)(((sal_uInt16)maMtrTrgrStartValue.GetValue() * 255) / 100); sal_uInt8 nEndCol = (sal_uInt8)(((sal_uInt16)maMtrTrgrEndValue.GetValue() * 255) / 100);
svn commit: r1466639 - /openoffice/trunk/main/svx/source/sidebar/debug/ColorPanel.cxx
Author: paveljanik Date: Wed Apr 10 19:33:10 2013 New Revision: 1466639 URL: http://svn.apache.org/r1466639 Log: Unname unused argument to prevent WaE issues. Modified: openoffice/trunk/main/svx/source/sidebar/debug/ColorPanel.cxx Modified: openoffice/trunk/main/svx/source/sidebar/debug/ColorPanel.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/debug/ColorPanel.cxx?rev=1466639r1=1466638r2=1466639view=diff == --- openoffice/trunk/main/svx/source/sidebar/debug/ColorPanel.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/debug/ColorPanel.cxx Wed Apr 10 19:33:10 2013 @@ -130,7 +130,7 @@ int ColorPanel::CalculateRowCount (const -void ColorPanel::DataChanged (const DataChangedEvent rEvent) +void ColorPanel::DataChanged (const DataChangedEvent /* rEvent */) { Fill(); }
svn commit: r1466640 - /openoffice/trunk/main/svx/source/sidebar/tools/ValueSetWithTextControl.cxx
Author: paveljanik Date: Wed Apr 10 19:34:48 2013 New Revision: 1466640 URL: http://svn.apache.org/r1466640 Log: Use proper variable type to prevent comparing signed and unsigned variables (WaE). Modified: openoffice/trunk/main/svx/source/sidebar/tools/ValueSetWithTextControl.cxx Modified: openoffice/trunk/main/svx/source/sidebar/tools/ValueSetWithTextControl.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/tools/ValueSetWithTextControl.cxx?rev=1466640r1=1466639r2=1466640view=diff == --- openoffice/trunk/main/svx/source/sidebar/tools/ValueSetWithTextControl.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/tools/ValueSetWithTextControl.cxx Wed Apr 10 19:34:48 2013 @@ -274,7 +274,7 @@ void SvxNumValueSet2::SetNumberingSettin InsertItem( DEFAULT_NONE, DEFAULT_NONE - 1 ); SetItemText( DEFAULT_NONE, SVX_RESSTR( RID_SVXSTR_NUMBULLET_NONE )); - for ( sal_uInt32 i = 0; i aNum.getLength(); i++ ) + for ( sal_Int32 i = 0; i aNum.getLength(); i++ ) { InsertItem( i + 1); if( i 8 )
svn commit: r1466641 - /openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.cxx
Author: paveljanik Date: Wed Apr 10 19:35:32 2013 New Revision: 1466641 URL: http://svn.apache.org/r1466641 Log: Unname unused arguments and reorder initializations properly to prevent WaE issues. Modified: openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.cxx Modified: openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.cxx?rev=1466641r1=1466640r2=1466641view=diff == --- openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/text/TextPropertyPanel.cxx Wed Apr 10 19:35:32 2013 @@ -194,10 +194,6 @@ TextPropertyPanel::TextPropertyPanel ( mpToolBoxHighlight(ControlFactory::CreateToolBox( mpToolBoxHighlightBackground.get(), SVX_RES(TB_HIGHLIGHT))), - maCharSpacePopup(this, ::boost::bind(TextPropertyPanel::CreateCharacterSpacingControl, this, _1)), - maFontColorPopup(this, ::boost::bind(TextPropertyPanel::CreateFontColorPopupControl, this, _1)), - maBrushColorPopup(this, ::boost::bind(TextPropertyPanel::CreateBrushColorPopupControl, this, _1)), - maUnderlinePopup(this, ::boost::bind(TextPropertyPanel::CreateUnderlinePopupControl, this, _1)), mpFontColorUpdater(), mpHighlightUpdater(), @@ -246,6 +242,10 @@ TextPropertyPanel::TextPropertyPanel ( mpFontList (NULL), mbMustDelete (false), mbFocusOnFontSizeCtrl(false), + maCharSpacePopup(this, ::boost::bind(TextPropertyPanel::CreateCharacterSpacingControl, this, _1)), + maUnderlinePopup(this, ::boost::bind(TextPropertyPanel::CreateUnderlinePopupControl, this, _1)), + maFontColorPopup(this, ::boost::bind(TextPropertyPanel::CreateFontColorPopupControl, this, _1)), + maBrushColorPopup(this, ::boost::bind(TextPropertyPanel::CreateBrushColorPopupControl, this, _1)), mxFrame(rxFrame), maContext(), mpBindings(pBindings), @@ -1556,7 +1556,7 @@ Color TextPropertyPanel::GetFontColor (v } void TextPropertyPanel::SetFontColor ( -const String rsColorName, +const String /* rsColorName */, const Color aColor) { SvxColorItem aColorItem(aColor, SID_ATTR_CHAR_COLOR); @@ -1570,7 +1570,7 @@ Color TextPropertyPanel::GetBrushColor ( } void TextPropertyPanel::SetBrushColor ( -const String rsColorName, +const String /* rsColorName */, const Color aColor) { SvxBrushItem aBrushItem(aColor, SID_ATTR_BRUSH_CHAR);
svn commit: r1466642 - /openoffice/trunk/main/svx/source/sidebar/line/LinePropertyPanel.cxx
Author: paveljanik Date: Wed Apr 10 19:36:10 2013 New Revision: 1466642 URL: http://svn.apache.org/r1466642 Log: Unname unused argument to prevent WaE issues. Modified: openoffice/trunk/main/svx/source/sidebar/line/LinePropertyPanel.cxx Modified: openoffice/trunk/main/svx/source/sidebar/line/LinePropertyPanel.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/line/LinePropertyPanel.cxx?rev=1466642r1=1466641r2=1466642view=diff == --- openoffice/trunk/main/svx/source/sidebar/line/LinePropertyPanel.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/line/LinePropertyPanel.cxx Wed Apr 10 19:36:10 2013 @@ -736,7 +736,7 @@ IMPL_LINK(LinePropertyPanel, ToolboxColo -IMPL_LINK(LinePropertyPanel, ChangeLineStyleHdl, ToolBox*, pToolBox) +IMPL_LINK(LinePropertyPanel, ChangeLineStyleHdl, ToolBox*, /* pToolBox */) { const sal_uInt16 nPos(mpLBStyle-GetSelectEntryPos());
svn commit: r1466643 - /openoffice/trunk/main/svx/source/sidebar/line/LineStyleValueSet.cxx
Author: paveljanik Date: Wed Apr 10 19:36:49 2013 New Revision: 1466643 URL: http://svn.apache.org/r1466643 Log: Comment out unused variable to prevent WaE issue. Modified: openoffice/trunk/main/svx/source/sidebar/line/LineStyleValueSet.cxx Modified: openoffice/trunk/main/svx/source/sidebar/line/LineStyleValueSet.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/line/LineStyleValueSet.cxx?rev=1466643r1=1466642r2=1466643view=diff == --- openoffice/trunk/main/svx/source/sidebar/line/LineStyleValueSet.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/line/LineStyleValueSet.cxx Wed Apr 10 19:36:49 2013 @@ -62,7 +62,7 @@ void LineStyleValueSet::UserDraw( const sal_uInt16 nItemId = rUDEvt.GetItemId(); long nRectHeight = aRect.GetHeight(); - long nRectWidth = aRect.GetWidth(); + // long nRectWidth = aRect.GetWidth(); Point aBLPos = aRect.TopLeft(); if(nItemId == 1) {
svn commit: r1466644 - /openoffice/trunk/main/svx/source/sidebar/debug/ContextPanel.cxx
Author: paveljanik Date: Wed Apr 10 19:37:15 2013 New Revision: 1466644 URL: http://svn.apache.org/r1466644 Log: Unname unused argument to prevent WaE issues. Modified: openoffice/trunk/main/svx/source/sidebar/debug/ContextPanel.cxx Modified: openoffice/trunk/main/svx/source/sidebar/debug/ContextPanel.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/debug/ContextPanel.cxx?rev=1466644r1=1466643r2=1466644view=diff == --- openoffice/trunk/main/svx/source/sidebar/debug/ContextPanel.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/debug/ContextPanel.cxx Wed Apr 10 19:37:15 2013 @@ -48,7 +48,7 @@ ContextPanel::~ContextPanel (void) -sal_Int32 ContextPanel::GetPreferredHeight (sal_Int32 nWidth) +sal_Int32 ContextPanel::GetPreferredHeight (sal_Int32 /* nWidth */) { const sal_Int32 nHeight (maContextName.GetPosPixel().Y() + maContextName.GetSizePixel().Height() + 5); return nHeight;
svn commit: r1466646 - /openoffice/trunk/main/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx
Author: paveljanik Date: Wed Apr 10 19:37:43 2013 New Revision: 1466646 URL: http://svn.apache.org/r1466646 Log: Unname unused argument to prevent WaE issues. Modified: openoffice/trunk/main/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx Modified: openoffice/trunk/main/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx?rev=1466646r1=1466645r2=1466646view=diff == --- openoffice/trunk/main/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx Wed Apr 10 19:37:43 2013 @@ -174,7 +174,7 @@ IMPL_LINK( GraphicPropertyPanel, ModifyT // -IMPL_LINK( GraphicPropertyPanel, ClickColorModeHdl, ToolBox *, pBox ) +IMPL_LINK( GraphicPropertyPanel, ClickColorModeHdl, ToolBox *, /* pBox */) { sal_Int16 nTrans = mpLBColorMode-GetSelectEntryPos(); SfxInt16Item aTransItem( SID_ATTR_GRAF_MODE, nTrans );
svn commit: r1466647 - /openoffice/trunk/main/svx/source/sidebar/nbdtmgfact.cxx
Author: paveljanik Date: Wed Apr 10 19:38:24 2013 New Revision: 1466647 URL: http://svn.apache.org/r1466647 Log: Add empty return to prevent WaE issue. Modified: openoffice/trunk/main/svx/source/sidebar/nbdtmgfact.cxx Modified: openoffice/trunk/main/svx/source/sidebar/nbdtmgfact.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/nbdtmgfact.cxx?rev=1466647r1=1466646r2=1466647view=diff == --- openoffice/trunk/main/svx/source/sidebar/nbdtmgfact.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/nbdtmgfact.cxx Wed Apr 10 19:38:24 2013 @@ -46,6 +46,8 @@ NBOTypeMgrBase* NBOutlineTypeMgrFact::Cr { return OutlineTypeMgr::GetInstance(); } + + return NULL; } }}
svn commit: r1466648 - /openoffice/trunk/main/svx/source/sidebar/paragraph/ParaBulletsControl.cxx
Author: paveljanik Date: Wed Apr 10 19:39:03 2013 New Revision: 1466648 URL: http://svn.apache.org/r1466648 Log: Reorder initializations properly to prevent WaE issues. Modified: openoffice/trunk/main/svx/source/sidebar/paragraph/ParaBulletsControl.cxx Modified: openoffice/trunk/main/svx/source/sidebar/paragraph/ParaBulletsControl.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/sidebar/paragraph/ParaBulletsControl.cxx?rev=1466648r1=1466647r2=1466648view=diff == --- openoffice/trunk/main/svx/source/sidebar/paragraph/ParaBulletsControl.cxx (original) +++ openoffice/trunk/main/svx/source/sidebar/paragraph/ParaBulletsControl.cxx Wed Apr 10 19:39:03 2013 @@ -38,11 +38,11 @@ namespace svx { namespace sidebar { ParaBulletsControl::ParaBulletsControl(Window* pParent, svx::sidebar::ParaPropertyPanel rPanel): PopupControl( pParent,SVX_RES(RID_POPUPPANEL_PARAPAGE_BULLETS)), - mrParaPropertyPanel(rPanel), - mpBindings(NULL), maBulletsVS(this,SVX_RES(VS_VALUES)), maFISep(this,SVX_RES(IMG_SEPERATOR_BULLET)), - maMoreButton(this,SVX_RES(CB_BULLET_MORE)) + maMoreButton(this,SVX_RES(CB_BULLET_MORE)), + mrParaPropertyPanel(rPanel), + mpBindings(NULL) { FreeResource(); mpBindings = mrParaPropertyPanel.GetBindings();
svn commit: r1464523 - /openoffice/trunk/main/configure.in
Author: paveljanik Date: Thu Apr 4 13:31:56 2013 New Revision: 1464523 URL: http://svn.apache.org/r1464523 Log: Remove binfilter. Modified: openoffice/trunk/main/configure.in Modified: openoffice/trunk/main/configure.in URL: http://svn.apache.org/viewvc/openoffice/trunk/main/configure.in?rev=1464523r1=1464522r2=1464523view=diff == --- openoffice/trunk/main/configure.in (original) +++ openoffice/trunk/main/configure.in Thu Apr 4 13:31:56 2013 @@ -364,9 +364,6 @@ AC_ARG_ENABLE(kde4, where Qt4 and KDE4 are available. May be used with --enable-kde if you want to support both KDE3 and KDE4. ],,) -AC_ARG_ENABLE(binfilter, -[ --enable-binfilter Enable legacy binary file formats filters -],,enable_binfilter=no) AC_ARG_ENABLE(rpath, [ --disable-rpath Disable the use of relative paths in shared libraries ],,) @@ -1523,20 +1520,6 @@ if test -z $enable_fetch_external || t fi AC_SUBST(DO_FETCH_TARBALLS) -dnl === -dnl Disable legacy binary file formats filters -dnl === -AC_MSG_CHECKING([whether to enable filters for legacy binary file formats (StarOffice 5.2)]) -if test $enable_binfilter = yes; then - WITH_BINFILTER=YES - BUILD_TYPE=$BUILD_TYPE BINFILTER - AC_MSG_RESULT([yes]) -else - WITH_BINFILTER=NO - AC_MSG_RESULT([no]) -fi -AC_SUBST(WITH_BINFILTER) - if test $_os = WINNT; then AC_MSG_CHECKING([whether to use DirectX]) ENABLE_DIRECT_DRAW=
svn commit: r1464527 - /openoffice/trunk/main/postprocess/rebase/coffbase.txt
Author: paveljanik Date: Thu Apr 4 13:34:43 2013 New Revision: 1464527 URL: http://svn.apache.org/r1464527 Log: Remove binfilter. Modified: openoffice/trunk/main/postprocess/rebase/coffbase.txt Modified: openoffice/trunk/main/postprocess/rebase/coffbase.txt URL: http://svn.apache.org/viewvc/openoffice/trunk/main/postprocess/rebase/coffbase.txt?rev=1464527r1=1464526r2=1464527view=diff == --- openoffice/trunk/main/postprocess/rebase/coffbase.txt (original) +++ openoffice/trunk/main/postprocess/rebase/coffbase.txt Thu Apr 4 13:34:43 2013 @@ -15,23 +15,7 @@ basebmpmi.dll0x678a 0x00 basegfxmi.dll0x6782 0x0007 basprovmi.uno.dll 0x677f 0x0002 behelper.uno.dll 0x677a 0x0001 -bf_frmmi.dll 0x676b 0x000e -bf_gomi.dll 0x6768 0x0002 -bf_migratefiltermi.dll 0x6766 0x0001 -bf_ofami.dll 0x6764 0x0001 -bf_sbmi.dll 0x675b 0x0008 -bf_schmi.dll 0x6750 0x000a -bf_scmi.dll 0x672a 0x0025 -bf_sdmi.dll 0x671f 0x000a -bf_smmi.dll 0x6719 0x0005 -bf_somi.dll 0x670f 0x0009 -bf_svtmi.dll 0x66f3 0x001b -bf_svxmi.dll 0x66b5 0x003d -bf_swmi.dll 0x668b 0x0029 -bf_wrappermi.dll 0x6688 0x0002 -bf_xomi.dll 0x6648 0x003f bibmi.dll0x6643 0x0004 -bindetmi.dll 0x6641 0x0001 bootstrap.uno.dll 0x6638 0x0008 bootstrpdtmi.dll 0x6635 0x0002 bridgefac.uno.dll 0x6633 0x0001
svn commit: r1464528 - /openoffice/trunk/main/postprocess/prj/build.lst
Author: paveljanik Date: Thu Apr 4 13:35:20 2013 New Revision: 1464528 URL: http://svn.apache.org/r1464528 Log: Remove binfilter. Modified: openoffice/trunk/main/postprocess/prj/build.lst Modified: openoffice/trunk/main/postprocess/prj/build.lst URL: http://svn.apache.org/viewvc/openoffice/trunk/main/postprocess/prj/build.lst?rev=1464528r1=1464527r2=1464528view=diff == --- openoffice/trunk/main/postprocess/prj/build.lst (original) +++ openoffice/trunk/main/postprocess/prj/build.lst Thu Apr 4 13:35:20 2013 @@ -1,4 +1,4 @@ -po postprocess :: svgio accessibility automation basctl bean BINFILTER:binfilter chart2 configmgr CRASHREP:crashrep COINMP:coinmp cui dbaccess desktop dtrans embeddedobj embedserv EPM:epm eventattacher extensions extras fileaccess filter forms fpicker helpcontent2 hwpfilter io JAVAINSTALLER2:javainstaller2 lingucomponent MATHMLDTD:MathMLDTD ODK:odk officecfg package padmin psprint_config remotebridges sc scaddins sccomp scp2 scripting sd setup_native slideshow starmath sw sysui testtools ucb UnoControls unoxml ure wizards xmerge xmlsecurity MORE_FONTS:more_fonts OOo:pyuno OOo:readlicense_oo SO:top unodevtools JFREEREPORT:jfreereport REPORTBUILDER:reportbuilder reportdesign SDEXT:sdext SWEXT:swext smoketestdoc uui writerfilter oox MYSQLC:mysqlc LIBXSLT:libxslt NULL +po postprocess :: svgio accessibility automation basctl bean chart2 configmgr CRASHREP:crashrep COINMP:coinmp cui dbaccess desktop dtrans embeddedobj embedserv EPM:epm eventattacher extensions extras fileaccess filter forms fpicker helpcontent2 hwpfilter io JAVAINSTALLER2:javainstaller2 lingucomponent MATHMLDTD:MathMLDTD ODK:odk officecfg package padmin psprint_config remotebridges sc scaddins sccomp scp2 scripting sd setup_native slideshow starmath sw sysui testtools ucb UnoControls unoxml ure wizards xmerge xmlsecurity MORE_FONTS:more_fonts OOo:pyuno OOo:readlicense_oo SO:top unodevtools JFREEREPORT:jfreereport REPORTBUILDER:reportbuilder reportdesign SDEXT:sdext SWEXT:swext smoketestdoc uui writerfilter oox MYSQLC:mysqlc LIBXSLT:libxslt NULL po postprocess usr1- all po_mkout NULL po postprocess\checkxmlnmake - all po_checkxml NULL po postprocess\checkdelivernmake - all po_checkdlv NULL
svn commit: r1464522 - /openoffice/trunk/main/set_soenv.in
Author: paveljanik Date: Thu Apr 4 13:31:19 2013 New Revision: 1464522 URL: http://svn.apache.org/r1464522 Log: Remove binfilter. Modified: openoffice/trunk/main/set_soenv.in Modified: openoffice/trunk/main/set_soenv.in URL: http://svn.apache.org/viewvc/openoffice/trunk/main/set_soenv.in?rev=1464522r1=1464521r2=1464522view=diff == --- openoffice/trunk/main/set_soenv.in (original) +++ openoffice/trunk/main/set_soenv.in Thu Apr 4 13:31:19 2013 @@ -1898,7 +1898,6 @@ ToFile( WITH_CATB_FONTS, @WITH_CATB ToFile( WITH_FONTS,@WITH_FONTS@, e ); ToFile( WITHOUT_AFMS, @WITHOUT_AFMS@, e ); ToFile( WITHOUT_PPDS, @WITHOUT_PPDS@, e ); -ToFile( WITH_BINFILTER,@WITH_BINFILTER@, e ); ToFile( BUILD_TYPE,@BUILD_TYPE@, e ); ToFile( ADDITIONAL_REPOSITORIES, @ADDITIONAL_REPOSITORIES@, e ); ToFile( VERBOSE, @VERBOSE@, e );
svn commit: r1464524 - /openoffice/trunk/main/scp2/util/makefile.mk
Author: paveljanik Date: Thu Apr 4 13:32:33 2013 New Revision: 1464524 URL: http://svn.apache.org/r1464524 Log: Remove binfilter. Modified: openoffice/trunk/main/scp2/util/makefile.mk Modified: openoffice/trunk/main/scp2/util/makefile.mk URL: http://svn.apache.org/viewvc/openoffice/trunk/main/scp2/util/makefile.mk?rev=1464524r1=1464523r2=1464524view=diff == --- openoffice/trunk/main/scp2/util/makefile.mk (original) +++ openoffice/trunk/main/scp2/util/makefile.mk Thu Apr 4 13:32:33 2013 @@ -87,13 +87,6 @@ SCP1FILES = installation_ooo.par SCP1FILES += \ directory_ooo_macosx.par .ENDIF - -.IF $(WITH_BINFILTER) != NO -SCP1FILES += \ - module_binfilter.par \ - registryitem_binfilter.par\ - file_binfilter.par -.ENDIF .IF $(ENABLE_OPENGL) == TRUE SCP1FILES += \ @@ -242,13 +235,6 @@ SCP2FILES = installation_ooo.par SCP2FILES += \ directory_ooo_macosx.par .ENDIF - -.IF $(WITH_BINFILTER) != NO -SCP2FILES += \ - module_binfilter.par \ - registryitem_binfilter.par\ - file_binfilter.par -.ENDIF .IF $(SOLAR_JAVA)!= SCP2FILES += \
svn commit: r1464525 - /openoffice/trunk/main/splitbuild/binfilter.lst
Author: paveljanik Date: Thu Apr 4 13:33:17 2013 New Revision: 1464525 URL: http://svn.apache.org/r1464525 Log: Remove binfilter. Removed: openoffice/trunk/main/splitbuild/binfilter.lst
svn commit: r1464526 - /openoffice/trunk/main/scp2/prj/build.lst
Author: paveljanik Date: Thu Apr 4 13:34:14 2013 New Revision: 1464526 URL: http://svn.apache.org/r1464526 Log: Remove binfilter. Modified: openoffice/trunk/main/scp2/prj/build.lst Modified: openoffice/trunk/main/scp2/prj/build.lst URL: http://svn.apache.org/viewvc/openoffice/trunk/main/scp2/prj/build.lst?rev=1464526r1=1464525r2=1464526view=diff == --- openoffice/trunk/main/scp2/prj/build.lst (original) +++ openoffice/trunk/main/scp2/prj/build.lst Thu Apr 4 13:34:14 2013 @@ -3,7 +3,6 @@ cpscp2usr1 cpscp2\macros nmake-allcp_langmacros NULL cpscp2\source\templates nmake-allcp_langtemplates NULL cpscp2\source\activex nmake-allcp_activex cp_langmacros cp_langtemplates NULL -cpscp2\source\binfilter nmake-allcp_binfilter cp_langmacros cp_langtemplates NULL cpscp2\source\calcnmake-allcp_calc cp_langmacros cp_langtemplates NULL cpscp2\source\canvas nmake-allcp_canvas cp_langmacros cp_langtemplates NULL cpscp2\source\crashrepnmake-allcp_crashrep cp_langmacros cp_langtemplates NULL @@ -24,4 +23,4 @@ cpscp2\source\basenmake cpscp2\source\xsltfilter nmake-allcp_xsltfilter cp_langmacros cp_langtemplates NULL cpscp2\source\winexplorerext nmake-allcp_winexplorerext cp_langmacros cp_langtemplates NULL cpscp2\source\onlineupdatenmake-allcp_update cp_langmacros cp_langtemplates NULL -cpscp2\util nmake-allcp_util cp_activex cp_binfilter cp_calc cp_canvas cp_crashrep cp_draw cp_gnome cp_graphicfilter cp_impress cp_javafilter cp_kde cp_layout cp_math cp_ooo cp_python cp_quickstart cp_writer cp_base cp_xsltfilter cp_winexplorerext cp_sdkoo cp_update NULL +cpscp2\util nmake-allcp_util cp_activex cp_calc cp_canvas cp_crashrep cp_draw cp_gnome cp_graphicfilter cp_impress cp_javafilter cp_kde cp_layout cp_math cp_ooo cp_python cp_quickstart cp_writer cp_base cp_xsltfilter cp_winexplorerext cp_sdkoo cp_update NULL
svn commit: r1464534 - /openoffice/trunk/main/filter/source/config/fragments/makefile.mk
Author: paveljanik Date: Thu Apr 4 13:41:16 2013 New Revision: 1464534 URL: http://svn.apache.org/r1464534 Log: Remove binfilter. Modified: openoffice/trunk/main/filter/source/config/fragments/makefile.mk Modified: openoffice/trunk/main/filter/source/config/fragments/makefile.mk URL: http://svn.apache.org/viewvc/openoffice/trunk/main/filter/source/config/fragments/makefile.mk?rev=1464534r1=1464533r2=1464534view=diff == --- openoffice/trunk/main/filter/source/config/fragments/makefile.mk (original) +++ openoffice/trunk/main/filter/source/config/fragments/makefile.mk Thu Apr 4 13:41:16 2013 @@ -60,18 +60,6 @@ REALFILTERPACKAGES_TYPES_FLAG = \ $(DIR_FILTERCFGOUT)$/fcfg_drawgraphics.types_flag \ $(DIR_FILTERCFGOUT)$/fcfg_impressgraphics.types_flag -.IF $(WITH_BINFILTER) != NO -REALFILTERPACKAGES_TYPES_FLAG += \ -$(DIR_FILTERCFGOUT)$/fcfg_writer_bf.types_flag \ -$(DIR_FILTERCFGOUT)$/fcfg_web_bf.types_flag \ -$(DIR_FILTERCFGOUT)$/fcfg_global_bf.types_flag \ -$(DIR_FILTERCFGOUT)$/fcfg_calc_bf.types_flag\ -$(DIR_FILTERCFGOUT)$/fcfg_draw_bf.types_flag\ -$(DIR_FILTERCFGOUT)$/fcfg_impress_bf.types_flag \ -$(DIR_FILTERCFGOUT)$/fcfg_chart_bf.types_flag \ -$(DIR_FILTERCFGOUT)$/fcfg_math_bf.types_flag -.ENDIF - REALFILTERPACKAGES_FILTERS_FLAG = \ $(DIR_FILTERCFGOUT)$/fcfg_base.filters_flag \ $(DIR_FILTERCFGOUT)$/fcfg_writer.filters_flag \ @@ -91,18 +79,6 @@ REALFILTERPACKAGES_FILTERS_FLAG = \ $(DIR_FILTERCFGOUT)$/fcfg_drawgraphics.filters_flag \ $(DIR_FILTERCFGOUT)$/fcfg_impressgraphics.filters_flag -.IF $(WITH_BINFILTER) != NO -REALFILTERPACKAGES_FILTERS_FLAG += \ -$(DIR_FILTERCFGOUT)$/fcfg_writer_bf.filters_flag \ -$(DIR_FILTERCFGOUT)$/fcfg_web_bf.filters_flag \ -$(DIR_FILTERCFGOUT)$/fcfg_global_bf.filters_flag \ -$(DIR_FILTERCFGOUT)$/fcfg_calc_bf.filters_flag\ -$(DIR_FILTERCFGOUT)$/fcfg_draw_bf.filters_flag\ -$(DIR_FILTERCFGOUT)$/fcfg_impress_bf.filters_flag \ -$(DIR_FILTERCFGOUT)$/fcfg_chart_bf.filters_flag \ -$(DIR_FILTERCFGOUT)$/fcfg_math_bf.filters_flag -.ENDIF - REALFILTERPACKAGES_FILTERS_UI_MERGE = \ $(DIR_LOCMERGE)$/filter_ui.xcu @@ -131,18 +107,6 @@ REALFILTERPACKAGES_OTHERS_FLAG = \ $(DIR_FILTERCFGOUT)$/fcfg_drawgraphics.others_flag \ $(DIR_FILTERCFGOUT)$/fcfg_impressgraphics.others_flag -.IF $(WITH_BINFILTER) != NO -REALFILTERPACKAGES_OTHERS_FLAG += \ -$(DIR_FILTERCFGOUT)$/fcfg_writer_bf.others_flag \ -$(DIR_FILTERCFGOUT)$/fcfg_web_bf.others_flag \ -$(DIR_FILTERCFGOUT)$/fcfg_global_bf.others_flag \ -$(DIR_FILTERCFGOUT)$/fcfg_calc_bf.others_flag\ -$(DIR_FILTERCFGOUT)$/fcfg_draw_bf.others_flag\ -$(DIR_FILTERCFGOUT)$/fcfg_impress_bf.others_flag \ -$(DIR_FILTERCFGOUT)$/fcfg_chart_bf.others_flag \ -$(DIR_FILTERCFGOUT)$/fcfg_math_bf.others_flag -.ENDIF - INTERNALFILTERPACKAGES_TYPES_FLAG = \ $(DIR_FILTERCFGOUT)$/fcfg_internalgraphics.types_flag
svn commit: r1464529 - /openoffice/trunk/main/postprocess/packregistry/makefile.mk
Author: paveljanik Date: Thu Apr 4 13:35:46 2013 New Revision: 1464529 URL: http://svn.apache.org/r1464529 Log: Remove binfilter. Modified: openoffice/trunk/main/postprocess/packregistry/makefile.mk Modified: openoffice/trunk/main/postprocess/packregistry/makefile.mk URL: http://svn.apache.org/viewvc/openoffice/trunk/main/postprocess/packregistry/makefile.mk?rev=1464529r1=1464528r2=1464529view=diff == --- openoffice/trunk/main/postprocess/packregistry/makefile.mk (original) +++ openoffice/trunk/main/postprocess/packregistry/makefile.mk Thu Apr 4 13:35:46 2013 @@ -434,28 +434,6 @@ MY_FILES_xsltfilter = \ $(MY_MOD)/fcfg_xslt_filters.xcu \ $(MY_MOD)/fcfg_xslt_types.xcu -.IF $(WITH_BINFILTER) != NO -MY_XCDS += $(MISC)/binfilter.xcd -MY_DEPS_binfilter = main -MY_FILES_binfilter = \ -$(MY_MOD)/fcfg_chart_bf_filters.xcu \ -$(MY_MOD)/fcfg_chart_bf_types.xcu \ -$(MY_MOD)/fcfg_calc_bf_filters.xcu \ -$(MY_MOD)/fcfg_calc_bf_types.xcu \ -$(MY_MOD)/fcfg_draw_bf_filters.xcu \ -$(MY_MOD)/fcfg_draw_bf_types.xcu \ -$(MY_MOD)/fcfg_global_bf_filters.xcu \ -$(MY_MOD)/fcfg_global_bf_types.xcu \ -$(MY_MOD)/fcfg_impress_bf_filters.xcu \ -$(MY_MOD)/fcfg_impress_bf_types.xcu \ -$(MY_MOD)/fcfg_math_bf_filters.xcu \ -$(MY_MOD)/fcfg_math_bf_types.xcu \ -$(MY_MOD)/fcfg_web_bf_filters.xcu \ -$(MY_MOD)/fcfg_web_bf_types.xcu \ -$(MY_MOD)/fcfg_writer_bf_filters.xcu \ -$(MY_MOD)/fcfg_writer_bf_types.xcu -.END - .IF $(GUIBASE) == unx \ (($(ENABLE_GCONF) == TRUE $(ENABLE_LOCKDOWN) == YES) || \ $(ENABLE_GIO) == TRUE)
svn commit: r1464530 - /openoffice/trunk/main/postprocess/packcomponents/makefile.mk
Author: paveljanik Date: Thu Apr 4 13:36:16 2013 New Revision: 1464530 URL: http://svn.apache.org/r1464530 Log: Remove binfilter. Modified: openoffice/trunk/main/postprocess/packcomponents/makefile.mk Modified: openoffice/trunk/main/postprocess/packcomponents/makefile.mk URL: http://svn.apache.org/viewvc/openoffice/trunk/main/postprocess/packcomponents/makefile.mk?rev=1464530r1=1464529r2=1464530view=diff == --- openoffice/trunk/main/postprocess/packcomponents/makefile.mk (original) +++ openoffice/trunk/main/postprocess/packcomponents/makefile.mk Thu Apr 4 13:36:16 2013 @@ -276,12 +276,6 @@ my_components += ScriptProviderForJavaSc .END .END -.IF $(WITH_BINFILTER) != NO -my_components += \ -bf_migratefilter \ -bindet -.END - .IF $(WITH_LDAP) == YES my_components += ldapbe2 .END
svn commit: r1464536 - /openoffice/trunk/main/filter/source/config/fragments/packagedef.mk
Author: paveljanik Date: Thu Apr 4 13:42:56 2013 New Revision: 1464536 URL: http://svn.apache.org/r1464536 Log: Remove binfilter. Modified: openoffice/trunk/main/filter/source/config/fragments/packagedef.mk Modified: openoffice/trunk/main/filter/source/config/fragments/packagedef.mk URL: http://svn.apache.org/viewvc/openoffice/trunk/main/filter/source/config/fragments/packagedef.mk?rev=1464536r1=1464535r2=1464536view=diff == --- openoffice/trunk/main/filter/source/config/fragments/packagedef.mk (original) +++ openoffice/trunk/main/filter/source/config/fragments/packagedef.mk Thu Apr 4 13:42:56 2013 @@ -52,16 +52,4 @@ INCLUDE_FRAGMENTS = \ $(PRJ)$/source$/config$/fragments$/fcfg_impressgraphics.mk \ $(PRJ)$/source$/config$/fragments$/fcfg_internalgraphics.mk -.IF $(WITH_BINFILTER) != NO -INCLUDE_FRAGMENTS += \ -$(PRJ)$/source$/config$/fragments$/fcfg_writer_bf.mk \ -$(PRJ)$/source$/config$/fragments$/fcfg_web_bf.mk \ -$(PRJ)$/source$/config$/fragments$/fcfg_global_bf.mk \ -$(PRJ)$/source$/config$/fragments$/fcfg_calc_bf.mk \ -$(PRJ)$/source$/config$/fragments$/fcfg_draw_bf.mk \ -$(PRJ)$/source$/config$/fragments$/fcfg_impress_bf.mk \ -$(PRJ)$/source$/config$/fragments$/fcfg_chart_bf.mk \ -$(PRJ)$/source$/config$/fragments$/fcfg_math_bf.mk -.ENDIF - .INCLUDE: $(INCLUDE_FRAGMENTS)
svn commit: r1464539 - in /openoffice/trunk/main/filter/source/config/fragments: fcfg_calc_bf.mk fcfg_chart_bf.mk fcfg_draw_bf.mk fcfg_global_bf.mk fcfg_impress_bf.mk fcfg_math_bf.mk fcfg_web_bf.mk fc
Author: paveljanik Date: Thu Apr 4 13:44:06 2013 New Revision: 1464539 URL: http://svn.apache.org/r1464539 Log: Remove binfilter. Removed: openoffice/trunk/main/filter/source/config/fragments/fcfg_calc_bf.mk openoffice/trunk/main/filter/source/config/fragments/fcfg_chart_bf.mk openoffice/trunk/main/filter/source/config/fragments/fcfg_draw_bf.mk openoffice/trunk/main/filter/source/config/fragments/fcfg_global_bf.mk openoffice/trunk/main/filter/source/config/fragments/fcfg_impress_bf.mk openoffice/trunk/main/filter/source/config/fragments/fcfg_math_bf.mk openoffice/trunk/main/filter/source/config/fragments/fcfg_web_bf.mk openoffice/trunk/main/filter/source/config/fragments/fcfg_writer_bf.mk
svn commit: r1464541 - /openoffice/trunk/main/scp2/source/templates/makefile.mk
Author: paveljanik Date: Thu Apr 4 13:45:59 2013 New Revision: 1464541 URL: http://svn.apache.org/r1464541 Log: Remove binfilter. Modified: openoffice/trunk/main/scp2/source/templates/makefile.mk Modified: openoffice/trunk/main/scp2/source/templates/makefile.mk URL: http://svn.apache.org/viewvc/openoffice/trunk/main/scp2/source/templates/makefile.mk?rev=1464541r1=1464540r2=1464541view=diff == --- openoffice/trunk/main/scp2/source/templates/makefile.mk (original) +++ openoffice/trunk/main/scp2/source/templates/makefile.mk Thu Apr 4 13:45:59 2013 @@ -36,7 +36,7 @@ TARGET=templates COMPLETELANGISO_VAR:=$(uniq $(completelangiso) $(alllangiso)) .EXPORT : COMPLETELANGISO_VAR -ALLTAR : $(INCCOM)$/alllangmodules.inc $(INCCOM)$/alllangmodules_root.inc $(INCCOM)$/alllangmodules_base.inc $(INCCOM)$/alllangmodules_calc.inc $(INCCOM)$/alllangmodules_draw.inc $(INCCOM)$/alllangmodules_impress.inc $(INCCOM)$/alllangmodules_math.inc $(INCCOM)$/alllangmodules_writer.inc $(INCCOM)$/alllangmodules_binfilter.inc +ALLTAR : $(INCCOM)$/alllangmodules.inc $(INCCOM)$/alllangmodules_root.inc $(INCCOM)$/alllangmodules_base.inc $(INCCOM)$/alllangmodules_calc.inc $(INCCOM)$/alllangmodules_draw.inc $(INCCOM)$/alllangmodules_impress.inc $(INCCOM)$/alllangmodules_math.inc $(INCCOM)$/alllangmodules_writer.inc .INCLUDE .IGNORE : $(MISC)$/$(TARGET)_lang_track.mk .IF $(LAST_COMPLETELANGISO_VAR)!=$(COMPLETELANGISO_VAR)
svn commit: r1464547 - in /openoffice/trunk/main/scp2/source/binfilter: file_binfilter.scp makefile.mk module_binfilter.scp module_binfilter.ulf registryitem_binfilter.scp registryitem_binfilter.ulf
Author: paveljanik Date: Thu Apr 4 13:49:58 2013 New Revision: 1464547 URL: http://svn.apache.org/r1464547 Log: Remove binfilter. Removed: openoffice/trunk/main/scp2/source/binfilter/file_binfilter.scp openoffice/trunk/main/scp2/source/binfilter/makefile.mk openoffice/trunk/main/scp2/source/binfilter/module_binfilter.scp openoffice/trunk/main/scp2/source/binfilter/module_binfilter.ulf openoffice/trunk/main/scp2/source/binfilter/registryitem_binfilter.scp openoffice/trunk/main/scp2/source/binfilter/registryitem_binfilter.ulf
svn commit: r1464549 - /openoffice/trunk/main/scp2/source/binfilter/
Author: paveljanik Date: Thu Apr 4 13:50:38 2013 New Revision: 1464549 URL: http://svn.apache.org/r1464549 Log: Remove binfilter. Removed: openoffice/trunk/main/scp2/source/binfilter/
svn commit: r1464588 - /openoffice/trunk/main/configure.cmd
Author: paveljanik Date: Thu Apr 4 15:08:22 2013 New Revision: 1464588 URL: http://svn.apache.org/r1464588 Log: Remove binfilter. Modified: openoffice/trunk/main/configure.cmd Modified: openoffice/trunk/main/configure.cmd URL: http://svn.apache.org/viewvc/openoffice/trunk/main/configure.cmd?rev=1464588r1=1464587r2=1464588view=diff == --- openoffice/trunk/main/configure.cmd (original) +++ openoffice/trunk/main/configure.cmd Thu Apr 4 15:08:22 2013 @@ -27,5 +27,5 @@ SET PATH=%JAVA_HOME%\bin;%PATH%;%MY_ANT_ set config_shell=sh set perl_sh_dir=/usr/bin -sh ./configure --prefix=/@unixroot/usr --disable-binfilter --with-system-zlib --with-system-jpeg --without-stlport --with-system-icu --with-system-curl --with-system-python --with-system-openssl --with-system-libxml --with-system-libxslt --disable-werror --disable-mozilla --disable-odk --with-x=no --disable-fontconfig --disable-gnome-vfs --disable-gtk --with-java=yes --disable-gcjaot --without-fonts --with-ant-home=%MY_ANT_HOME% --without-junit --with-system-apr --with-system-apr-util --with-system-serf --with-system-coinmp | tee configure.log +sh ./configure --prefix=/@unixroot/usr --with-system-zlib --with-system-jpeg --without-stlport --with-system-icu --with-system-curl --with-system-python --with-system-openssl --with-system-libxml --with-system-libxslt --disable-werror --disable-mozilla --disable-odk --with-x=no --disable-fontconfig --disable-gnome-vfs --disable-gtk --with-java=yes --disable-gcjaot --without-fonts --with-ant-home=%MY_ANT_HOME% --without-junit --with-system-apr --with-system-apr-util --with-system-serf --with-system-coinmp | tee configure.log endlocal
svn commit: r1464591 - /openoffice/trunk/main/solenv/inc/target.mk
Author: paveljanik Date: Thu Apr 4 15:20:14 2013 New Revision: 1464591 URL: http://svn.apache.org/r1464591 Log: Remove binfilter. Modified: openoffice/trunk/main/solenv/inc/target.mk Modified: openoffice/trunk/main/solenv/inc/target.mk URL: http://svn.apache.org/viewvc/openoffice/trunk/main/solenv/inc/target.mk?rev=1464591r1=1464590r2=1464591view=diff == --- openoffice/trunk/main/solenv/inc/target.mk (original) +++ openoffice/trunk/main/solenv/inc/target.mk Thu Apr 4 15:20:14 2013 @@ -31,10 +31,6 @@ MKFILENAME:=TARGET.MK target_empty=warn_target_empty .ENDIF -.IF $(PRJNAME) == binfilter -CDEFS+=-DBINFILTER_COMPAT -.ENDIF - .IF $(STL_OS2_BUILDING) != CDEFS+=-DSTL_OS2_BUILDING .ENDIF
svn commit: r1464592 - /openoffice/trunk/main/vcl/inc/vcl/salbtype.hxx
Author: paveljanik Date: Thu Apr 4 15:21:09 2013 New Revision: 1464592 URL: http://svn.apache.org/r1464592 Log: Remove binfilter. Modified: openoffice/trunk/main/vcl/inc/vcl/salbtype.hxx Modified: openoffice/trunk/main/vcl/inc/vcl/salbtype.hxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/inc/vcl/salbtype.hxx?rev=1464592r1=1464591r2=1464592view=diff == --- openoffice/trunk/main/vcl/inc/vcl/salbtype.hxx (original) +++ openoffice/trunk/main/vcl/inc/vcl/salbtype.hxx Thu Apr 4 15:21:09 2013 @@ -123,9 +123,7 @@ public: inline BitmapColor( const BitmapColor rBitmapColor ); inline BitmapColor( sal_uInt8 cRed, sal_uInt8 cGreen, sal_uInt8 cBlue ); inline BitmapColor( const Color rColor ); -#ifndef BINFILTER_COMPAT explicit -#endif // BINFILTER_COMPAT inline BitmapColor( sal_uInt8 cIndex ); inline ~BitmapColor() {};
svn commit: r1464593 - /openoffice/trunk/main/postprocess/rebase/coffbase.txt
Author: paveljanik Date: Thu Apr 4 15:26:50 2013 New Revision: 1464593 URL: http://svn.apache.org/r1464593 Log: Remove binfilter. Modified: openoffice/trunk/main/postprocess/rebase/coffbase.txt Modified: openoffice/trunk/main/postprocess/rebase/coffbase.txt URL: http://svn.apache.org/viewvc/openoffice/trunk/main/postprocess/rebase/coffbase.txt?rev=1464593r1=1464592r2=1464593view=diff == --- openoffice/trunk/main/postprocess/rebase/coffbase.txt (original) +++ openoffice/trunk/main/postprocess/rebase/coffbase.txt Thu Apr 4 15:26:50 2013 @@ -141,7 +141,6 @@ juhx.dll 0x6238 0x00 jvmaccess3msc.dll 0x6236 0x0001 jvmfwk3.dll 0x6233 0x0002 ldapbe2.uno.dll 0x6230 0x0002 -legacy_binfiltersmi.dll 0x622d 0x0002 libcurl.dll 0x6229 0x0003 libeay32.dll 0x620d 0x0011 libexslt.dll 0x620a 0x0002