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=1466533&r1=1466532&r2=1466533&view=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 SfxItemSet&        rAttrSet       = 
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;


Reply via email to