[Libreoffice-commits] .: binfilter/bf_sc

Caolán McNamara caolan at kemper.freedesktop.org
Fri Sep 9 03:20:28 PDT 2011


 binfilter/bf_sc/source/core/data/sc_documen5.cxx   |    6 ------
 binfilter/bf_sc/source/core/data/sc_document.cxx   |    4 ++--
 binfilter/bf_sc/source/ui/docshell/sc_arealink.cxx |    4 +---
 3 files changed, 3 insertions(+), 11 deletions(-)

New commits:
commit 3a6099fe94a64483c7d4b281f15c2f3baf0db912
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Sep 9 11:19:33 2011 +0100

    WaE: remove newly unused variable

diff --git a/binfilter/bf_sc/source/core/data/sc_documen5.cxx b/binfilter/bf_sc/source/core/data/sc_documen5.cxx
index 65262f7..2230ac5 100644
--- a/binfilter/bf_sc/source/core/data/sc_documen5.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_documen5.cxx
@@ -394,8 +394,6 @@ void ScDocument::UpdateChartListenerCollection()
                                             pCL->StartListeningTo();
                                             pCL->SetUsed( TRUE );
 
-                                            BOOL bForceSave = FALSE;
-
                                             //  Set ReadOnly flag at MemChart, so Chart knows
                                             //  about the external data in a freshly loaded document.
                                             //  #73642# only if the chart really has external data
@@ -406,10 +404,6 @@ void ScDocument::UpdateChartListenerCollection()
                                                 {
                                                     String aOldData3 = pChartData->SomeData3();
                                                     aArray.SetExtraStrings( *pChartData );
-                                                    if ( aOldData3 != pChartData->SomeData3() )
-                                                    {
-                                                        bForceSave = TRUE;
-                                                    }
                                                 }
                                             }
                                             BOOL bEnabled = aIPObj->IsEnableSetModified();
diff --git a/binfilter/bf_sc/source/core/data/sc_document.cxx b/binfilter/bf_sc/source/core/data/sc_document.cxx
index 2ae3491..facc10a 100644
--- a/binfilter/bf_sc/source/core/data/sc_document.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_document.cxx
@@ -891,7 +891,7 @@ namespace binfilter {
 /*N*/                           USHORT nCol2, USHORT nRow2,
 /*N*/                           BOOL bCut, ScDocument* pClipDoc,
 /*N*/                           BOOL bAllTabs, const ScMarkData* pMarks,
-/*N*/                           BOOL /*bKeepScenarioFlags*/, BOOL bIncludeObjects)
+/*N*/                           BOOL /*bKeepScenarioFlags*/, BOOL /*bIncludeObjects*/)
 /*N*/ {
 /*N*/   DBG_ASSERT( bAllTabs || pMarks, "CopyToClip: ScMarkData fehlt" );
 /*N*/
@@ -933,7 +933,7 @@ namespace binfilter {
 /*N*/ void ScDocument::CopyFromClip( const ScRange& rDestRange, const ScMarkData& rMark,
 /*N*/                               USHORT nInsFlag,
 /*N*/                               ScDocument* pRefUndoDoc, ScDocument* pClipDoc, BOOL bResetCut,
-/*N*/                               BOOL bAsLink, BOOL bIncludeFiltered, BOOL bSkipAttrForEmpty )
+/*N*/                               BOOL bAsLink, BOOL /*bIncludeFiltered*/, BOOL bSkipAttrForEmpty )
 /*N*/ {
 /*N*/   if (!bIsClip && pClipDoc)
 /*N*/   {
diff --git a/binfilter/bf_sc/source/ui/docshell/sc_arealink.cxx b/binfilter/bf_sc/source/ui/docshell/sc_arealink.cxx
index 5b360b5..b8098d5 100644
--- a/binfilter/bf_sc/source/ui/docshell/sc_arealink.cxx
+++ b/binfilter/bf_sc/source/ui/docshell/sc_arealink.cxx
@@ -132,7 +132,7 @@ namespace binfilter {
 //  ausfuehren:
 
 /*N*/ BOOL ScAreaLink::Refresh( const String& rNewFile, const String& rNewFilter,
-/*N*/                           const String& rNewArea, ULONG nNewRefresh )
+/*N*/                           const String& rNewArea, ULONG /*nNewRefresh*/ )
 /*N*/ {
 /*N*/   //  Dokument laden - wie TabLink
 /*N*/
@@ -204,8 +204,6 @@ namespace binfilter {
 /*N*/
 /*N*/   //  alte Daten loeschen / neue kopieren
 /*N*/
-/*N*/   ScAddress aDestPos = aDestArea.aStart;
-/*N*/   ScRange aOldRange = aDestArea;
 /*N*/   ScRange aNewRange = aDestArea;          // alter Bereich, wenn Datei nicht gefunden o.ae.
 /*N*/   if (nWidth && nHeight)
 /*N*/   {


More information about the Libreoffice-commits mailing list