[Libreoffice-commits] .: 4 commits - sc/source

David Tardon dtardon at kemper.freedesktop.org
Wed Mar 30 04:49:32 PDT 2011


 sc/source/filter/xcl97/xcl97rec.cxx |    2 ++
 sc/source/ui/app/inputhdl.cxx       |    2 --
 sc/source/ui/docshell/docsh3.cxx    |   15 ---------------
 sc/source/ui/vba/vbarange.cxx       |    1 -
 4 files changed, 2 insertions(+), 18 deletions(-)

New commits:
commit 019e19d8b06f6cdda75771bc6cf3180f9017c3ce
Author: David Tardon <dtardon at redhat.com>
Date:   Wed Mar 30 13:48:17 2011 +0200

    WaE: overloaded virtual

diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx
index 17ba2e3..4d28714 100644
--- a/sc/source/filter/xcl97/xcl97rec.cxx
+++ b/sc/source/filter/xcl97/xcl97rec.cxx
@@ -534,7 +534,9 @@ public:
                         VmlCommentExporter ( sax_fastparser::FSHelperPtr p, ScAddress aScPos, SdrCaptionObj* pCaption, bool bVisible, Rectangle &aFrom, Rectangle &aTo );
 protected:
     virtual void        Commit( EscherPropertyContainer& rProps, const Rectangle& rRect );
+    using VMLExport::StartShape;
     virtual sal_Int32   StartShape();
+    using VMLExport::EndShape;
     virtual void        EndShape( sal_Int32 nShapeElement );
 };
 
commit 83b655d38778e32e9ba5f8d1f1279ee03d88abc3
Author: David Tardon <dtardon at redhat.com>
Date:   Wed Mar 30 13:39:47 2011 +0200

    WaE: unused variable

diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index e18432d..1895c78 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -5670,7 +5670,6 @@ ScVbaRange:: ClearOutline(  ) throw (script::BasicErrorException, uno::RuntimeEx
         return;
     }
     RangeHelper thisRange( mxRange );
-    table::CellRangeAddress thisAddress = thisRange.getCellRangeAddressable()->getRangeAddress();
     uno::Reference< sheet::XSheetOutline > xSheetOutline( thisRange.getSpreadSheet(), uno::UNO_QUERY_THROW );
     xSheetOutline->clearOutline();
 }
commit 0d25575d548db9e3730f933017f492bc6475f5fc
Author: David Tardon <dtardon at redhat.com>
Date:   Wed Mar 30 13:32:26 2011 +0200

    WaE: unused variable

diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index 7a04cb4..fb054cd 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -591,8 +591,6 @@ ScChangeAction* ScDocShell::GetChangeAction( const ScAddress& rPos )
     SCTAB nTab = rPos.Tab();
 
     const ScChangeAction* pFound = NULL;
-    const ScChangeAction* pFoundContent = NULL;
-    const ScChangeAction* pFoundMove = NULL;
     long nModified = 0;
     const ScChangeAction* pAction = pTrack->GetFirst();
     while (pAction)
@@ -614,19 +612,6 @@ ScChangeAction* ScDocShell::GetChangeAction( const ScAddress& rPos )
                 if ( aRange.In( rPos ) )
                 {
                     pFound = pAction;		// der letzte gewinnt
-                    switch ( pAction->GetType() )
-                    {
-                        case SC_CAT_CONTENT :
-                            pFoundContent = pAction;
-                        break;
-                        case SC_CAT_MOVE :
-                            pFoundMove = pAction;
-                        break;
-                        default:
-                        {
-                            // added to avoid warnings
-                        }
-                    }
                     ++nModified;
                 }
             }
commit 5718138c7fbc863f986146de5bbc8e79f854829c
Author: David Tardon <dtardon at redhat.com>
Date:   Wed Mar 30 13:23:27 2011 +0200

    WaE: unused variable

diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 21ce6d5..329bf96 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -3577,8 +3577,6 @@ void ScInputHandler::InputSelection( EditView* pView )
 
 void ScInputHandler::InputChanged( EditView* pView, sal_Bool bFromNotify )
 {
-    ESelection aSelection = pView->GetSelection();
-
     UpdateActiveView();
 
     // #i20282# DataChanged needs to know if this is from the input line's modify handler


More information about the Libreoffice-commits mailing list