[Libreoffice-commits] core.git: cui/source sc/source sd/source

Thomas Arnhold thomas at arnhold.org
Sun Feb 24 09:42:29 PST 2013


 cui/source/customize/cfg.cxx                                   |   11 +---------
 cui/source/customize/selector.cxx                              |    6 -----
 cui/source/dialogs/about.cxx                                   |    4 ---
 cui/source/dialogs/cuigaldlg.cxx                               |    2 -
 cui/source/dialogs/hangulhanjadlg.cxx                          |    1 
 cui/source/dialogs/hlinettp.cxx                                |    1 
 cui/source/dialogs/hlmarkwn.cxx                                |    1 
 cui/source/dialogs/iconcdlg.cxx                                |    1 
 cui/source/dialogs/scriptdlg.cxx                               |    2 -
 cui/source/inc/selector.hxx                                    |    1 
 cui/source/options/optpath.cxx                                 |    2 -
 cui/source/tabpages/tparea.cxx                                 |    3 --
 sc/source/core/data/dpcache.cxx                                |    2 -
 sc/source/core/tool/rangeseq.cxx                               |    1 
 sc/source/core/tool/rangeutl.cxx                               |    1 
 sc/source/filter/excel/excimp8.cxx                             |    2 -
 sc/source/filter/starcalc/scflt.cxx                            |    2 -
 sc/source/filter/xml/XMLExportDataPilot.cxx                    |    1 
 sc/source/filter/xml/xmlexprt.cxx                              |    1 
 sc/source/filter/xml/xmlstyli.cxx                              |    2 -
 sc/source/ui/cctrl/cbuttonw.cxx                                |    1 
 sc/source/ui/dbgui/consdlg.cxx                                 |    2 -
 sc/source/ui/dbgui/dbnamdlg.cxx                                |    1 
 sc/source/ui/dbgui/tpsort.cxx                                  |    1 
 sc/source/ui/drawfunc/chartsh.cxx                              |    1 
 sc/source/ui/formdlg/dwfunctr.cxx                              |    1 
 sc/source/ui/miscdlgs/acredlin.cxx                             |    2 -
 sc/source/ui/miscdlgs/crnrdlg.cxx                              |    1 
 sc/source/ui/miscdlgs/highred.cxx                              |    1 
 sc/source/ui/unoobj/afmtuno.cxx                                |    2 -
 sc/source/ui/unoobj/chart2uno.cxx                              |    2 -
 sc/source/ui/unoobj/docuno.cxx                                 |    1 
 sc/source/ui/unoobj/styleuno.cxx                               |    1 
 sc/source/ui/vba/vbarange.cxx                                  |    1 
 sc/source/ui/view/drawvie3.cxx                                 |    1 
 sc/source/ui/view/preview.cxx                                  |    1 
 sc/source/ui/view/tabvwshf.cxx                                 |    2 -
 sc/source/ui/view/viewdata.cxx                                 |    2 -
 sd/source/core/CustomAnimationEffect.cxx                       |    1 
 sd/source/core/sdpage.cxx                                      |    3 --
 sd/source/core/stlpool.cxx                                     |    2 -
 sd/source/filter/eppt/epptso.cxx                               |    2 -
 sd/source/ui/dlg/animobjs.cxx                                  |    2 -
 sd/source/ui/dlg/dlgass.cxx                                    |    1 
 sd/source/ui/dlg/sdpreslt.cxx                                  |    1 
 sd/source/ui/func/fusldlg.cxx                                  |    1 
 sd/source/ui/func/futext.cxx                                   |    1 
 sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx  |    2 -
 sd/source/ui/slidesorter/controller/SlsVisibleAreaManager.cxx  |    1 
 sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx |    4 ---
 sd/source/ui/toolpanel/controls/MasterPageObserver.cxx         |    2 -
 sd/source/ui/unoidl/sddetect.cxx                               |    1 
 sd/source/ui/unoidl/unolayer.cxx                               |    1 
 sd/source/ui/unoidl/unomodel.cxx                               |    1 
 sd/source/ui/view/DocumentRenderer.cxx                         |    2 -
 sd/source/ui/view/ViewShellImplementation.cxx                  |    1 
 sd/source/ui/view/ViewShellManager.cxx                         |    1 
 sd/source/ui/view/sdview2.cxx                                  |    1 
 sd/source/ui/view/viewoverlaymanager.cxx                       |    1 
 59 files changed, 3 insertions(+), 100 deletions(-)

New commits:
commit 305bf19e390aebdf2d20ea052a92f782e8d1185c
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Sun Feb 24 18:39:08 2013 +0100

    loplugin: unused variables
    
    And some fallout.
    
    Change-Id: I8dfc12f3566e72d79d4f9930284c92577aa485a1

diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index dd01214..abe67f6 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -590,9 +590,6 @@ ConvertSvxConfigEntry(
     static const OUString aDescriptorLabel(
             ITEM_DESCRIPTOR_LABEL  );
 
-    static const OUString aDescriptorContainer(
-            ITEM_DESCRIPTOR_CONTAINER  );
-
     uno::Sequence< beans::PropertyValue > aPropSeq( 3 );
 
     aPropSeq[0].Name = aDescriptorCommandURL;
@@ -668,9 +665,6 @@ ConvertToolbarEntry(
     static const OUString aDescriptorLabel(
             ITEM_DESCRIPTOR_LABEL  );
 
-    static const OUString aDescriptorContainer(
-            ITEM_DESCRIPTOR_CONTAINER  );
-
     static const OUString aIsVisible(
             ITEM_DESCRIPTOR_ISVISIBLE  );
 
@@ -1933,8 +1927,8 @@ void SvxConfigPage::PositionContentsListBox()
         return;
     }
 
-    Point p, newp;
-    Size s, news;
+    Point p;
+    Size s;
     long x, y, width, height;
 
     // x and width is same as aTopLevelListBox
@@ -2060,7 +2054,6 @@ SvTreeListEntry* SvxConfigPage::AddFunction(
     SvTreeListEntry* pTarget, bool bFront, bool bAllowDuplicates )
 {
     String aDisplayName = pSelectorDlg->GetSelectedDisplayName();
-    String aHelpText = pSelectorDlg->GetSelectedHelpText();
     String aURL = pSelectorDlg->GetScriptURL();
 
     if ( !aURL.Len() )
diff --git a/cui/source/customize/selector.cxx b/cui/source/customize/selector.cxx
index 658c81a..65bfde5 100644
--- a/cui/source/customize/selector.cxx
+++ b/cui/source/customize/selector.cxx
@@ -1027,10 +1027,4 @@ SvxScriptSelectorDialog::GetSelectedDisplayName()
     return m_pCommands->GetEntryText( m_pCommands->GetLastSelectedEntry() );
 }
 
-String
-SvxScriptSelectorDialog::GetSelectedHelpText()
-{
-    return m_pCommands->GetHelpText( m_pCommands->GetLastSelectedEntry() );
-}
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx
index f7332b9..9c247d3 100644
--- a/cui/source/dialogs/about.cxx
+++ b/cui/source/dialogs/about.cxx
@@ -203,10 +203,6 @@ static bool loadBrandSvg(const char *pName, BitmapEx &rBitmap, int nWidth )
     osl_getProcessLocale (&pLoc);
     LanguageTag aLanguageTag( *pLoc);
 
-    rtl::OUString aName = aBaseName + aSvg;
-    rtl::OUString aLocaleName = ( aBaseName + rtl::OUString("-") +
-                                  aLanguageTag.getBcp47() +
-                                  aSvg );
     rtl::OUString uri = rtl::OUString::createFromAscii( "$BRAND_BASE_DIR/program" ) + aBaseName+aSvg;
     rtl::Bootstrap::expandMacros( uri );
     INetURLObject aObj( uri );
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index b594b2e..87a6e7c 100644
--- a/cui/source/dialogs/cuigaldlg.cxx
+++ b/cui/source/dialogs/cuigaldlg.cxx
@@ -163,7 +163,6 @@ void SearchThread::ImplSearch( const INetURLObject& rStartURL,
                     if( bDocument )
                     {
                         GraphicDescriptor   aDesc( aFoundURL );
-                        String              aFileName;
 
                         if( ( aDesc.Detect() &&
                               ::std::find( rFormats.begin(),
@@ -292,7 +291,6 @@ TakeThread::~TakeThread()
 
 void TakeThread::execute()
 {
-    String              aName;
     INetURLObject       aURL;
     sal_uInt16          nEntries;
     GalleryTheme*       pThm = mpBrowser->GetXChgData()->pTheme;
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index d994258..afad83f 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -354,7 +354,6 @@ namespace svx
         long nItemWidth = 2*GetTextWidth( aOneCharacter );
         m_aValueSet.SetItemWidth( nItemWidth );
 
-        Point aPos(0,0);
         Size aSize(GetSizePixel());
         m_aValueSet.SetSizePixel(aSize);
         m_aListBox.SetSizePixel(aSize);
diff --git a/cui/source/dialogs/hlinettp.cxx b/cui/source/dialogs/hlinettp.cxx
index 319e68d..b270153 100644
--- a/cui/source/dialogs/hlinettp.cxx
+++ b/cui/source/dialogs/hlinettp.cxx
@@ -182,7 +182,6 @@ void SvxHyperlinkInternetTp::GetCurentItemData ( String& aStrURL, String& aStrNa
 String SvxHyperlinkInternetTp::CreateAbsoluteURL() const
 {
     String aStrURL = maCbbTarget.GetText();
-    String aScheme = GetSchemeFromURL(aStrURL);
 
     INetURLObject aURL(aStrURL);
 
diff --git a/cui/source/dialogs/hlmarkwn.cxx b/cui/source/dialogs/hlmarkwn.cxx
index 6430658..fe84081 100644
--- a/cui/source/dialogs/hlmarkwn.cxx
+++ b/cui/source/dialogs/hlmarkwn.cxx
@@ -208,7 +208,6 @@ sal_Bool SvxHlinkDlgMarkWnd::ConnectToDialog( sal_Bool bDoit )
 
 void SvxHlinkDlgMarkWnd::RefreshTree ( String aStrURL )
 {
-    String aEmptyStr;
     OUString aUStrURL;
 
     EnterWait();
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index 12b2e50..6c24c0c 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -989,7 +989,6 @@ sal_Bool IconChoiceDialog::QueryClose()
 
 void IconChoiceDialog::Start_Impl()
 {
-    Point aPos;
     sal_uInt16 nActPage;
 
     if ( mnCurrentPageId == 0 || mnCurrentPageId == USHRT_MAX )
diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx
index 33a17f6..7bfbbf5 100644
--- a/cui/source/dialogs/scriptdlg.cxx
+++ b/cui/source/dialogs/scriptdlg.cxx
@@ -988,8 +988,6 @@ void SvxScriptOrgDialog::createEntry( SvTreeListEntry* pEntry )
         String aChildName = aChildNode->getName();
         SvTreeListEntry* pNewEntry = NULL;
 
-
-        OUString name( aChildName );
         Reference<XModel> xDocumentModel = getModel( pEntry );
 
         // ISSUE do we need to remove all entries for parent
diff --git a/cui/source/inc/selector.hxx b/cui/source/inc/selector.hxx
index 508ca7c..ce1f607 100644
--- a/cui/source/inc/selector.hxx
+++ b/cui/source/inc/selector.hxx
@@ -218,7 +218,6 @@ public:
 
     String      GetScriptURL() const;
     String      GetSelectedDisplayName();
-    String      GetSelectedHelpText();
     void        SetRunLabel();
     void        SetDialogDescription(const String& rDescription);
 };
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx
index 5c322ae..d63081e 100644
--- a/cui/source/options/optpath.cxx
+++ b/cui/source/options/optpath.cxx
@@ -268,7 +268,6 @@ SfxTabPage* SvxPathTabPage::Create( Window* pParent,
 
 sal_Bool SvxPathTabPage::FillItemSet( SfxItemSet& )
 {
-    SvtPathOptions aPathOpt;
     for ( sal_uInt16 i = 0; i < pPathBox->GetEntryCount(); ++i )
     {
         PathUserData_Impl* pPathImpl = (PathUserData_Impl*)pPathBox->GetEntry(i)->GetUserData();
@@ -284,7 +283,6 @@ sal_Bool SvxPathTabPage::FillItemSet( SfxItemSet& )
 void SvxPathTabPage::Reset( const SfxItemSet& )
 {
     pPathBox->Clear();
-    SvtPathOptions aPathOpt; //! deprecated
 
     HeaderBar &rBar = pPathBox->GetTheHeaderBar();
     long nWidth1 = rBar.GetTextWidth(rBar.GetItemText(1));
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index e2e18b2..b7f300d 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -155,7 +155,6 @@ IMPL_LINK(SvxTransparenceTabPage, ModifiedTrgrHdl_Impl, void *, pControl)
                 (sal_uInt16)aMtrTrgrBorder.GetValue(),
                 100, 100);
 
-    String aString;
     XFillFloatTransparenceItem aItem( rXFSet.GetPool()/*aString*/, aTmpGradient);
     rXFSet.Put ( aItem );
 
@@ -380,7 +379,6 @@ sal_Bool SvxTransparenceTabPage::FillItemSet(SfxItemSet& rAttrs)
                         (sal_uInt16)aMtrTrgrBorder.GetValue(),
                         100, 100);
 
-            String aString;
             XFillFloatTransparenceItem aItem( rXFSet.GetPool()/*aString*/, aTmpGradient);
             const SfxPoolItem* pOld = GetOldItem(rAttrs, XATTR_FILLFLOATTRANSPARENCE);
 
@@ -406,7 +404,6 @@ sal_Bool SvxTransparenceTabPage::FillItemSet(SfxItemSet& rAttrs)
         XGradient aGrad(aColor, Color(COL_WHITE));
         aGrad.SetStartIntens(100);
         aGrad.SetEndIntens(100);
-        String aString;
         XFillFloatTransparenceItem aItem( rXFSet.GetPool()/*aString*/, aGrad);
         aItem.SetEnabled(sal_False);
         rAttrs.Put(aItem);
diff --git a/sc/source/core/data/dpcache.cxx b/sc/source/core/data/dpcache.cxx
index 5f075a3..3f7588c 100644
--- a/sc/source/core/data/dpcache.cxx
+++ b/sc/source/core/data/dpcache.cxx
@@ -395,8 +395,6 @@ bool ScDPCache::InitFromDataBase(DBConnector& rDB)
         maLabelNames.clear();
         maLabelNames.reserve(mnColumnCount+1);
 
-        std::vector<sal_Int32> aColTypes(mnColumnCount);
-
         for (sal_Int32 nCol = 0; nCol < mnColumnCount; ++nCol)
         {
             rtl::OUString aColTitle = rDB.getColumnLabel(nCol);
diff --git a/sc/source/core/tool/rangeseq.cxx b/sc/source/core/tool/rangeseq.cxx
index 131d1a0..b5df5e9 100644
--- a/sc/source/core/tool/rangeseq.cxx
+++ b/sc/source/core/tool/rangeseq.cxx
@@ -266,7 +266,6 @@ sal_Bool ScRangeToSequence::FillMixedArray( uno::Any& rAny, ScDocument* pDoc, co
     long nColCount = rRange.aEnd.Col() + 1 - rRange.aStart.Col();
     long nRowCount = rRange.aEnd.Row() + 1 - rRange.aStart.Row();
 
-    String aDocStr;
     sal_Bool bHasErrors = false;
 
     uno::Sequence< uno::Sequence<uno::Any> > aRowSeq( nRowCount );
diff --git a/sc/source/core/tool/rangeutl.cxx b/sc/source/core/tool/rangeutl.cxx
index 45bcd8a..a6d5af2 100644
--- a/sc/source/core/tool/rangeutl.cxx
+++ b/sc/source/core/tool/rangeutl.cxx
@@ -930,7 +930,6 @@ void ScRangeStringConverter::GetStringFromXMLRangeString( OUString& rString, con
 
             ScAddress::ExternalInfo aExtInfo1, aExtInfo2;
             ScAddress aCell1, aCell2;
-            rtl::OUString aBuf;
             sal_uInt16 nRet = aCell1.Parse(aBeginCell, pDoc, FormulaGrammar::CONV_OOO, &aExtInfo1);
             if ((nRet & SCA_VALID) != SCA_VALID)
             {
diff --git a/sc/source/filter/excel/excimp8.cxx b/sc/source/filter/excel/excimp8.cxx
index 1d21113..dfc992d 100644
--- a/sc/source/filter/excel/excimp8.cxx
+++ b/sc/source/filter/excel/excimp8.cxx
@@ -617,8 +617,6 @@ void XclImpAutoFilterData::ReadAutoFilter( XclImpStream& rStrm )
                 rEntry.eOp = SC_EQUAL;
         }
 
-        rtl::OUString aStr;
-
         switch( nType )
         {
             case EXC_AFTYPE_RK:
diff --git a/sc/source/filter/starcalc/scflt.cxx b/sc/source/filter/starcalc/scflt.cxx
index 22e2398..1f6a969 100644
--- a/sc/source/filter/starcalc/scflt.cxx
+++ b/sc/source/filter/starcalc/scflt.cxx
@@ -1424,8 +1424,6 @@ void Sc10Import::LoadTables()
         sal_uInt16           DataValue;
         sal_uInt16           Count;
         sal_uInt16           i;
-        String           aStr;  // Universal-Konvertierungs-String
-
 
         lcl_ReadPageFormat(rStream, PageFormat);
 
diff --git a/sc/source/filter/xml/XMLExportDataPilot.cxx b/sc/source/filter/xml/XMLExportDataPilot.cxx
index fd0fd47..2b7bb86 100644
--- a/sc/source/filter/xml/XMLExportDataPilot.cxx
+++ b/sc/source/filter/xml/XMLExportDataPilot.cxx
@@ -583,7 +583,6 @@ void ScXMLExportDataPilot::WriteNumGroupInfo(const ScDPNumGroupInfo& rGroupInfo)
             rExport.AddAttribute(XML_NAMESPACE_TABLE, XML_END, XML_AUTO);
         else
         {
-            rtl::OUStringBuffer sDate;
             rtl::OUString sValue( ::rtl::math::doubleToUString( rGroupInfo.mfEnd,
                         rtl_math_StringFormat_Automatic,
                         rtl_math_DecimalPlaces_Max, '.', true));
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index e49bf0b..b373338 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -962,7 +962,6 @@ void ScXMLExport::CloseHeaderColumn()
 void ScXMLExport::ExportColumns(const sal_Int32 nTable, const table::CellRangeAddress& aColumnHeaderRange, const bool bHasColumnHeader)
 {
     sal_Int32 nColsRepeated (1);
-    rtl::OUString sParent;
     sal_Int32 nIndex;
     sal_Int32 nPrevColumn(0);
     bool bPrevIsVisible (true);
diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx
index 7cca689..a29930b 100644
--- a/sc/source/filter/xml/xmlstyli.cxx
+++ b/sc/source/filter/xml/xmlstyli.cxx
@@ -410,7 +410,7 @@ ScCondFormatEntry* ScXMLMapContext::CreateConditionEntry()
     }
 
     ScConditionMode eMode = ScConditionEntry::GetModeFromApi(aParseResult.meOperator);
-    rtl::OUString aExpr1, aExpr2, aNmsp1, aNmsp2;
+    rtl::OUString aNmsp1, aNmsp2;
     ScDocument* pDoc = GetScImport().GetDocument();
 
     ScCondFormatEntry* pEntry =  new ScCondFormatEntry(eMode, aParseResult.maOperand1, aParseResult.maOperand2, pDoc, ScAddress(), msApplyStyle,
diff --git a/sc/source/ui/cctrl/cbuttonw.cxx b/sc/source/ui/cctrl/cbuttonw.cxx
index 91475be..3e7d681 100644
--- a/sc/source/ui/cctrl/cbuttonw.cxx
+++ b/sc/source/ui/cctrl/cbuttonw.cxx
@@ -73,7 +73,6 @@ void ScDDComboBoxButton::Draw( const Point& rAt,
     Color       aOldLine   = pOut->GetLineColor();
     sal_Bool        bOldEnable = pOut->IsMapModeEnabled();
 
-    Size        aLogPix( 1, 1 );
     Rectangle   aBtnRect( rAt, rSize );
     Rectangle   aInnerRect = aBtnRect;
 
diff --git a/sc/source/ui/dbgui/consdlg.cxx b/sc/source/ui/dbgui/consdlg.cxx
index b8c8bbb..ce675a2 100644
--- a/sc/source/ui/dbgui/consdlg.cxx
+++ b/sc/source/ui/dbgui/consdlg.cxx
@@ -249,8 +249,6 @@ void ScConsolidateDlg::FillAreaLists()
 
     if ( pRangeUtil && pAreaData && (nAreaDataCount > 0) )
     {
-        String aString;
-
         for ( size_t i=0;
               (i<nAreaDataCount) && (pAreaData[i].aStrName.Len()>0);
               i++ )
diff --git a/sc/source/ui/dbgui/dbnamdlg.cxx b/sc/source/ui/dbgui/dbnamdlg.cxx
index e958bf9..95f22f5 100644
--- a/sc/source/ui/dbgui/dbnamdlg.cxx
+++ b/sc/source/ui/dbgui/dbnamdlg.cxx
@@ -278,7 +278,6 @@ void ScDbNameDlg::SetInfoStrings( const ScDBData* pDBData )
     aFTSource.SetText(aBuf.makeStringAndClear());
 
     aBuf.append(aStrOperations);
-    String aOper = aStrOperations;
     if (pDBData)
     {
         aBuf.append(sal_Unicode(' '));
diff --git a/sc/source/ui/dbgui/tpsort.cxx b/sc/source/ui/dbgui/tpsort.cxx
index 5eec392..cb69736 100644
--- a/sc/source/ui/dbgui/tpsort.cxx
+++ b/sc/source/ui/dbgui/tpsort.cxx
@@ -578,7 +578,6 @@ void ScTabPageSortOptions::Init()
     {
         String          theArea;
         ScDBCollection* pDBColl     = pDoc->GetDBCollection();
-        rtl::OUString          theDbArea;
         const SCTAB     nCurTab     = pViewData->GetTabNo();
         rtl::OUString          theDbName   = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(STR_DB_LOCAL_NONAME));
         const formula::FormulaGrammar::AddressConvention eConv = pDoc->GetAddressConvention();
diff --git a/sc/source/ui/drawfunc/chartsh.cxx b/sc/source/ui/drawfunc/chartsh.cxx
index 06ff385..d4de9cf 100644
--- a/sc/source/ui/drawfunc/chartsh.cxx
+++ b/sc/source/ui/drawfunc/chartsh.cxx
@@ -93,7 +93,6 @@ void ScChartShell::ExecuteExportAsGraphic( SfxRequest& )
             const Graphic* pGraphic = aOle2Object->GetGraphic();
             if( pGraphic != NULL )
             {
-                String sGrfNm, sFilterNm;
                 GraphicHelper::ExportGraphic( *pGraphic,  String("") );
             }
         }
diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx
index 32bfae8..1dd0fe0 100644
--- a/sc/source/ui/formdlg/dwfunctr.cxx
+++ b/sc/source/ui/formdlg/dwfunctr.cxx
@@ -831,7 +831,6 @@ void ScFunctionDockWin::UpdateFunctionList()
 void ScFunctionDockWin::DoEnter(sal_Bool /* bOk */) //@@ ???
 {
     String aFirstArgStr;
-    String aParaStr;
     String aArgStr;
     String aString=pAllFuncList->GetSelectEntry();
     SfxViewShell* pCurSh = SfxViewShell::Current();
diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx
index 7c4ea08..3e326f9 100644
--- a/sc/source/ui/miscdlgs/acredlin.cxx
+++ b/sc/source/ui/miscdlgs/acredlin.cxx
@@ -211,7 +211,6 @@ void ScAcceptChgDlg::ReInit(ScViewData* ptrViewData)
 
 void ScAcceptChgDlg::Init()
 {
-    String  aAreaStr;
     ScRange aRange;
 
     OSL_ENSURE( pViewData && pDoc, "ViewData oder Document nicht gefunden!" );
@@ -316,7 +315,6 @@ bool ScAcceptChgDlg::IsValidAction(const ScChangeAction* pScChangeAction)
     DateTime aDateTime=pScChangeAction->GetDateTime();
 
     ScChangeActionType eType=pScChangeAction->GetType();
-    String aString;
     rtl::OUString aDesc;
 
     String aComment = comphelper::string::remove(pScChangeAction->GetComment(), '\n');
diff --git a/sc/source/ui/miscdlgs/crnrdlg.cxx b/sc/source/ui/miscdlgs/crnrdlg.cxx
index d8c2a6b..de5545e 100644
--- a/sc/source/ui/miscdlgs/crnrdlg.cxx
+++ b/sc/source/ui/miscdlgs/crnrdlg.cxx
@@ -399,7 +399,6 @@ void ScColRowNameRangesDlg::SetReference( const ScRange& rRef, ScDocument* /* pD
         if ( rRef.aStart != rRef.aEnd )
             RefInputStart( pEdActive );
 
-        String aRefStr;
         if ( pEdActive == &aEdAssign )
             SetColRowData( rRef, sal_True );
         else
diff --git a/sc/source/ui/miscdlgs/highred.cxx b/sc/source/ui/miscdlgs/highred.cxx
index 007f8d6..2e7ae0f 100644
--- a/sc/source/ui/miscdlgs/highred.cxx
+++ b/sc/source/ui/miscdlgs/highred.cxx
@@ -100,7 +100,6 @@ ScHighlightChgDlg::~ScHighlightChgDlg()
 
 void ScHighlightChgDlg::Init()
 {
-    String  aAreaStr;
     ScRange aRange;
 
     OSL_ENSURE( pViewData && pDoc, "ViewData oder Document nicht gefunden!" );
diff --git a/sc/source/ui/unoobj/afmtuno.cxx b/sc/source/ui/unoobj/afmtuno.cxx
index 85ca247..b2137e8 100644
--- a/sc/source/ui/unoobj/afmtuno.cxx
+++ b/sc/source/ui/unoobj/afmtuno.cxx
@@ -297,7 +297,6 @@ void SAL_CALL ScAutoFormatsObj::removeByName( const rtl::OUString& aName )
                                     lang::WrappedTargetException, uno::RuntimeException)
 {
     SolarMutexGuard aGuard;
-    String aNameStr(aName);
     ScAutoFormat* pFormats = ScGlobal::GetOrCreateAutoFormat();
 
     ScAutoFormat::iterator it = pFormats->find(aName);
@@ -372,7 +371,6 @@ uno::Sequence<rtl::OUString> SAL_CALL ScAutoFormatsObj::getElementNames()
 {
     SolarMutexGuard aGuard;
     ScAutoFormat* pFormats = ScGlobal::GetOrCreateAutoFormat();
-    String aName;
     uno::Sequence<rtl::OUString> aSeq(pFormats->size());
     rtl::OUString* pAry = aSeq.getArray();
     ScAutoFormat::const_iterator it = pFormats->begin(), itEnd = pFormats->end();
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx
index 267194f..edd3e41 100644
--- a/sc/source/ui/unoobj/chart2uno.cxx
+++ b/sc/source/ui/unoobj/chart2uno.cxx
@@ -1042,7 +1042,6 @@ void ScChart2DataProvider::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint
     rtl::OUString aRangeRepresentation;
     for(sal_Int32 i = 0; i < aArguments.getLength(); ++i)
     {
-        rtl::OUString sName(aArguments[i].Name);
         if ( aArguments[i].Name == "CellRangeRepresentation" )
         {
             aArguments[i].Value >>= aRangeRepresentation;
@@ -1449,7 +1448,6 @@ ScChart2DataProvider::createDataSource(
     uno::Sequence< sal_Int32 > aSequenceMapping;
     for(sal_Int32 i = 0; i < aArguments.getLength(); ++i)
     {
-        rtl::OUString sName(aArguments[i].Name);
         if ( aArguments[i].Name == "DataRowSource" )
         {
             chart::ChartDataRowSource eSource = chart::ChartDataRowSource_COLUMNS;
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 1e174bb..dc4d12f 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -1132,7 +1132,6 @@ void SAL_CALL ScModelObj::render( sal_Int32 nSelRenderer, const uno::Any& aSelec
     ScDocument* pDoc = pDocShell->GetDocument();
 
     FmFormView* pDrawView = NULL;
-    Rectangle aFull( 0, 0, LONG_MAX, LONG_MAX );
 
     // #114135#
     ScDrawLayer* pModel = pDoc->GetDrawLayer();
diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx
index 9d9acf5..a5d5cb5 100644
--- a/sc/source/ui/unoobj/styleuno.cxx
+++ b/sc/source/ui/unoobj/styleuno.cxx
@@ -980,7 +980,6 @@ uno::Sequence<rtl::OUString> SAL_CALL ScStyleFamilyObj::getElementNames()
         SfxStyleSheetIterator aIter( pStylePool, eFamily );
         sal_uInt16 nCount = aIter.Count();
 
-        String aName;
         uno::Sequence<rtl::OUString> aSeq(nCount);
         rtl::OUString* pAry = aSeq.getArray();
         SfxStyleSheetBase* pStyle = aIter.First();
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 2f9e642..918f6b2 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -1153,7 +1153,6 @@ getCellRangesForAddress( sal_uInt16& rResFlags, const rtl::OUString& sAddress, S
     if ( pDocSh )
     {
         pDoc = pDocSh->GetDocument();
-        String aString(sAddress);
         sal_uInt16 nMask = SCA_VALID;
         rResFlags = rCellRanges.Parse( sAddress, pDoc, nMask, eConv, cDelimiter );
         if ( rResFlags & SCA_VALID )
diff --git a/sc/source/ui/view/drawvie3.cxx b/sc/source/ui/view/drawvie3.cxx
index d51f18b..f65a0d4 100644
--- a/sc/source/ui/view/drawvie3.cxx
+++ b/sc/source/ui/view/drawvie3.cxx
@@ -112,7 +112,6 @@ ScAnchorType ScDrawView::GetAnchorType() const
     {
         const SdrMarkList* pMark = &GetMarkedObjectList();
         sal_uLong nCount = pMark->GetMarkCount();
-        Point p0;
         const SdrObject* pObj = NULL;
         for( sal_uLong i=0; i<nCount; i++ )
         {
diff --git a/sc/source/ui/view/preview.cxx b/sc/source/ui/view/preview.cxx
index be981b2..033bacc 100644
--- a/sc/source/ui/view/preview.cxx
+++ b/sc/source/ui/view/preview.cxx
@@ -1265,7 +1265,6 @@ void ScPreview::MouseMove( const MouseEvent& rMEvt )
     long    nRightMargin = 0;
     long    nTopMargin = 0;
     long    nBottomMargin = 0;
-    Size    PageSize;
 
     long    nWidth = (long) lcl_GetDocPageSize(pDocShell->GetDocument(), nTab).Width();
     long    nHeight = (long) lcl_GetDocPageSize(pDocShell->GetDocument(), nTab).Height();
diff --git a/sc/source/ui/view/tabvwshf.cxx b/sc/source/ui/view/tabvwshf.cxx
index 453fd01..f3b629d 100644
--- a/sc/source/ui/view/tabvwshf.cxx
+++ b/sc/source/ui/view/tabvwshf.cxx
@@ -117,7 +117,6 @@ void ScTabViewShell::ExecuteTable( SfxRequest& rReq )
                 if ( nVis<=nTabSelCount || !pDoc->IsDocEditable() )
                     break;
 
-                rtl::OUString aName;
                 SCTAB nHideTab;
                 ScMarkData::MarkedTabsType::const_iterator it;
 
@@ -721,7 +720,6 @@ void ScTabViewShell::ExecuteTable( SfxRequest& rReq )
                     sal_uInt16      nRet    = RET_OK; /// temp
                     sal_Bool        bDone   = false; /// temp
                     Color       aTabBgColor;
-                    Color       aNewTabBgColor;
 
                     aTabBgColor = pDoc->GetTabBgColor( nCurrentTab );
                     ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create();
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index 1cce1ab..8ae56db 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -2718,8 +2718,6 @@ void ScViewData::WriteUserDataSequence(uno::Sequence <beans::PropertyValue>& rSe
 
 void ScViewData::ReadUserDataSequence(const uno::Sequence <beans::PropertyValue>& rSettings)
 {
-    Fraction aZoomX, aZoomY, aPageZoomX, aPageZoomY;    //! evaluate (all sheets?)
-
     std::vector<bool> aHasZoomVect( GetDocument()->GetTableCount(), false );
 
     sal_Int32 nCount(rSettings.getLength());
diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx
index 8091aa69..90eb27c 100644
--- a/sd/source/core/CustomAnimationEffect.cxx
+++ b/sd/source/core/CustomAnimationEffect.cxx
@@ -2642,7 +2642,6 @@ void EffectSequenceHelper::createTextGroupParagraphEffects( CustomAnimationTextG
     {
         EffectSequence::iterator aInsertIter( find( pEffect ) );
 
-        const OUString strNumberingLevel( "NumberingLevel" );
         Reference< XEnumerationAccess > xText( xTarget, UNO_QUERY_THROW );
         Reference< XEnumeration > xEnumeration( xText->createEnumeration(), UNO_QUERY_THROW );
 
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index 1e5beb0..dc99226 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -452,7 +452,6 @@ SdrObject* SdPage::CreatePresObj(PresObjKind eObjKind, sal_Bool bVertical, const
             pOutliner->SetStyleSheet( 0, NULL );
             pOutliner->SetVertical( bVertical );
 
-            String aEmptyStr;
             SetObjText( (SdrTextObj*) pSdrObj, (SdrOutliner*)pOutliner, eObjKind, aString );
 
             pOutliner->Init( nOutlMode );
@@ -864,7 +863,6 @@ SdrObject* SdPage::CreateDefaultPresObj(PresObjKind eObjKind, bool bInsert)
             const long nLftBorder = GetLftBorder();
             const long nUppBorder = GetUppBorder();
 
-            Point aTitlePos ( nLftBorder, nUppBorder );
             Size aPageSize ( GetSize() );
             aPageSize.Width()  -= nLftBorder + GetRgtBorder();
             aPageSize.Height() -= nUppBorder + GetLwrBorder();
@@ -904,7 +902,6 @@ SdrObject* SdPage::CreateDefaultPresObj(PresObjKind eObjKind, bool bInsert)
         else
         {
             // create header&footer objects for handout and notes master
-            Point aTitlePos ( GetLftBorder(), GetUppBorder() );
             Size aPageSize ( GetSize() );
             aPageSize.Width()  -= GetLftBorder() + GetRgtBorder();
             aPageSize.Height() -= GetUppBorder() + GetLwrBorder();
diff --git a/sd/source/core/stlpool.cxx b/sd/source/core/stlpool.cxx
index 5f7671a..2cbe841 100644
--- a/sd/source/core/stlpool.cxx
+++ b/sd/source/core/stlpool.cxx
@@ -659,8 +659,6 @@ void SdStyleSheetPool::CopyLayoutSheets(const String& rLayoutName, SdStyleSheetP
 {
     SfxStyleSheetBase* pSheet = NULL;
 
-    String aOutlineTag(SdResId(STR_LAYOUT_OUTLINE));
-
     std::vector<String> aNameList;
     CreateLayoutSheetNames(rLayoutName,aNameList);
 
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index 44bacaf..21c664f 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -2292,8 +2292,6 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
             sal_Bool bPolyPolygon  = mType == "drawing.PolyPolygon";
             sal_Bool bPolyLine = mType == "drawing.PolyLine";
 
-            Rectangle   aPolyBoundRect;
-
             const ::com::sun::star::awt::Size   aSize100thmm( mXShape->getSize() );
             const ::com::sun::star::awt::Point  aPoint100thmm( mXShape->getPosition() );
             Rectangle   aRect100thmm( Point( aPoint100thmm.X, aPoint100thmm.Y ), Size( aSize100thmm.Width, aSize100thmm.Height ) );
diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx
index 870a902..c54dcc5 100644
--- a/sd/source/ui/dlg/animobjs.cxx
+++ b/sd/source/ui/dlg/animobjs.cxx
@@ -545,8 +545,6 @@ IMPL_LINK_NOARG(AnimationWindow, ModifyTimeHdl)
 
 void AnimationWindow::UpdateControl(bool const bDisableCtrls)
 {
-    String aString;
-
     if (!m_FrameList.empty())
     {
         BitmapEx aBmp(*m_FrameList[m_nCurrentFrame].first);
diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx
index f048b28..1a4345f 100644
--- a/sd/source/ui/dlg/dlgass.cxx
+++ b/sd/source/ui/dlg/dlgass.cxx
@@ -1426,7 +1426,6 @@ void AssistentDlgImpl::UpdateUserData()
             pPage->SetAutoLayout(AUTOLAYOUT_TITLE, sal_True);
 
         SdrTextObj* pObj;
-        String aEmptyString;
 
         if( aTopic.Len() )
         {
diff --git a/sd/source/ui/dlg/sdpreslt.cxx b/sd/source/ui/dlg/sdpreslt.cxx
index 4a786d1..c5f1362 100644
--- a/sd/source/ui/dlg/sdpreslt.cxx
+++ b/sd/source/ui/dlg/sdpreslt.cxx
@@ -224,7 +224,6 @@ IMPL_LINK_NOARG(SdPresLayoutDlg, ClickLoadHdl)
     // Inserted update to force repaint
     Update();
 
-    String aFile;
     sal_Bool   bCancel = sal_False;
 
     switch (nResult)
diff --git a/sd/source/ui/func/fusldlg.cxx b/sd/source/ui/func/fusldlg.cxx
index d933768..af3eecd 100644
--- a/sd/source/ui/func/fusldlg.cxx
+++ b/sd/source/ui/func/fusldlg.cxx
@@ -71,7 +71,6 @@ void FuSlideShowDlg::DoExecute( SfxRequest& )
     std::vector<String> aPageNameList(mpDoc->GetSdPageCount( PK_STANDARD ));
     const String&   rPresPage = rPresentationSettings.maPresPage;
     String          aFirstPage;
-    String          aStandardName( SdResId( STR_PAGE ) );
     SdPage*         pPage = NULL;
     long            nPage;
 
diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx
index 2b5d3ce..c30ec80 100644
--- a/sd/source/ui/func/futext.cxx
+++ b/sd/source/ui/func/futext.cxx
@@ -1184,7 +1184,6 @@ sal_Bool FuText::DeleteDefaultText()
 
     if ( mxTextObj.is() && mxTextObj->IsEmptyPresObj() )
     {
-        String aString;
         SdPage* pPage = (SdPage*) mxTextObj->GetPage();
 
         if (pPage)
diff --git a/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx b/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx
index 9a885f5..de382bf 100644
--- a/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx
@@ -45,8 +45,6 @@ DragAndDropContext::DragAndDropContext (SlideSorter& rSlideSorter)
     : mpTargetSlideSorter(&rSlideSorter),
       mnInsertionIndex(-1)
 {
-    ::std::vector<const SdPage*> aPages;
-
     // No Drag-and-Drop for master pages.
     if (rSlideSorter.GetModel().GetEditMode() != EM_PAGE)
         return;
diff --git a/sd/source/ui/slidesorter/controller/SlsVisibleAreaManager.cxx b/sd/source/ui/slidesorter/controller/SlsVisibleAreaManager.cxx
index 2175eae..48b0898 100644
--- a/sd/source/ui/slidesorter/controller/SlsVisibleAreaManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsVisibleAreaManager.cxx
@@ -194,7 +194,6 @@ void VisibleAreaManager::MakeVisible (void)
     const sal_Int32 nVisibleHeight (aVisibleArea.GetHeight());
 
     // Find the longest run of boxes whose union fits into the visible area.
-    Rectangle aBoundingBox;
     for (::std::vector<Rectangle>::const_iterator
              iBox(maVisibleRequests.begin()),
              iEnd(maVisibleRequests.end());
diff --git a/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx b/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx
index 2cbfb06..6aadcb7 100644
--- a/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx
+++ b/sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx
@@ -68,7 +68,6 @@ namespace sd { namespace slidesorter { namespace view {
 //=====  InsertionIndicatorOverlay  ===========================================
 
 const static sal_Int32 gnShadowBorder = 3;
-const static sal_Int32 gnSuperScaleFactor = 1;
 
 InsertionIndicatorOverlay::InsertionIndicatorOverlay (SlideSorter& rSlideSorter)
     : mrSlideSorter(rSlideSorter),
@@ -208,9 +207,6 @@ Point InsertionIndicatorOverlay::PaintRepresentatives (
 
         // Paint the preview.
         Bitmap aPreview (rRepresentatives[nIndex].maBitmap);
-        const Size aSuperSampleSize(
-            aPreviewSize.Width()*gnSuperScaleFactor,
-            aPreviewSize.Height()*gnSuperScaleFactor);
         aPreview.Scale(aPreviewSize, BMP_SCALE_BEST);
         rContent.DrawBitmapEx(aPageOffset, aPreview);
 
diff --git a/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx b/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx
index 1d27c9d..cd7df65 100644
--- a/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx
@@ -226,8 +226,6 @@ void MasterPageObserver::Implementation::AddEventListener (
         // Tell the new listener about all the master pages that are
         // currently in use.
         typedef ::std::vector<String> StringList;
-        StringList aNewMasterPages;
-        StringList aRemovedMasterPages;
         MasterPageContainer::iterator aDocumentIterator;
         for (aDocumentIterator=maUsedMasterPages.begin();
              aDocumentIterator!=maUsedMasterPages.end();
diff --git a/sd/source/ui/unoidl/sddetect.cxx b/sd/source/ui/unoidl/sddetect.cxx
index 588982f..88b9a83 100644
--- a/sd/source/ui/unoidl/sddetect.cxx
+++ b/sd/source/ui/unoidl/sddetect.cxx
@@ -169,7 +169,6 @@ SdFilterDetect::~SdFilterDetect()
     bWasReadOnly = pItem && pItem->GetValue();
 
     const SfxFilter* pFilter = 0;
-    String aFilterName;
     String aPrefix = rtl::OUString("private:factory/");
     if( aURL.Match( aPrefix ) == aPrefix.Len() )
     {
diff --git a/sd/source/ui/unoidl/unolayer.cxx b/sd/source/ui/unoidl/unolayer.cxx
index 2159933..b5a904b 100644
--- a/sd/source/ui/unoidl/unolayer.cxx
+++ b/sd/source/ui/unoidl/unolayer.cxx
@@ -110,7 +110,6 @@ String SdLayer::convertToInternalName( const OUString& rName )
 
 OUString SdLayer::convertToExternalName( const String& rName )
 {
-    const String aCompare( rName );
     if( rName == String( SdResId( STR_LAYER_BCKGRND ) ) )
     {
         return OUString( sUNO_LayerName_background );
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index b490229..56fe815 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -1812,7 +1812,6 @@ void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& r
                     ::sd::ClientView* pView = new ::sd::ClientView( mpDocShell, pOut, NULL );
                     Rectangle               aVisArea = Rectangle( Point(), mpDoc->GetSdPage( (sal_uInt16)nPageNumber - 1, ePageKind )->GetSize() );
                     Region                  aRegion( aVisArea );
-                    Point                   aOrigin;
 
                     ::sd::ViewShell* pOldViewSh = mpDocShell->GetViewShell();
                     ::sd::View* pOldSdView = pOldViewSh ? pOldViewSh->GetView() : NULL;
diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx
index 18268cc..59b1f0b 100644
--- a/sd/source/ui/view/DocumentRenderer.cxx
+++ b/sd/source/ui/view/DocumentRenderer.cxx
@@ -859,7 +859,6 @@ namespace {
                     sal_Int32(aPrintSize.Width() / nPageWidth)));
             const sal_Int32 nRowCount (::std::max(sal_Int32(2),
                     sal_Int32(aPrintSize.Height() / nPageHeight)));
-            Point aPrintOrigin;
             for (sal_Int32 nRow=0; nRow<nRowCount; ++nRow)
                 for (sal_Int32 nColumn=0; nColumn<nColumnCount; ++nColumn)
                 {
@@ -1968,7 +1967,6 @@ private:
     {
         ::boost::shared_ptr<ViewShell> pViewShell (mrBase.GetMainViewShell());
         pViewShell->WriteFrameViewData();
-        Point aPtZero;
 
         sal_Int32 nPageCount = mrBase.GetDocument()->GetSdPageCount(PK_STANDARD);
         StringRangeEnumerator aRangeEnum(
diff --git a/sd/source/ui/view/ViewShellImplementation.cxx b/sd/source/ui/view/ViewShellImplementation.cxx
index f48593f..cea7284 100644
--- a/sd/source/ui/view/ViewShellImplementation.cxx
+++ b/sd/source/ui/view/ViewShellImplementation.cxx
@@ -104,7 +104,6 @@ void ViewShell::Implementation::ProcessModifyPageSlot (
     sal_Bool bHandoutMode = sal_False;
     SdPage* pHandoutMPage = NULL;
     String aNewName;
-    String aOldName;
 
     AutoLayout aNewAutoLayout;
 
diff --git a/sd/source/ui/view/ViewShellManager.cxx b/sd/source/ui/view/ViewShellManager.cxx
index c22f64a..2df51ea 100644
--- a/sd/source/ui/view/ViewShellManager.cxx
+++ b/sd/source/ui/view/ViewShellManager.cxx
@@ -1065,7 +1065,6 @@ void ViewShellManager::Implementation::CreateShells (void)
     ::osl::MutexGuard aGuard (maMutex);
 
     // Iterate over all view shells.
-    ShellStack aShellStack;
     ActiveShellList::reverse_iterator iShell;
     for (iShell=maActiveViewShells.rbegin(); iShell!=maActiveViewShells.rend(); ++iShell)
     {
diff --git a/sd/source/ui/view/sdview2.cxx b/sd/source/ui/view/sdview2.cxx
index e7b8283..1a9d587 100644
--- a/sd/source/ui/view/sdview2.cxx
+++ b/sd/source/ui/view/sdview2.cxx
@@ -116,7 +116,6 @@ struct SdNavigatorDropEvent : public ExecuteDropEvent
     // to fix fdo#45260
     const Rectangle                 aMarkRect( GetAllMarkedRect() );
     TransferableObjectDescriptor    aObjDesc;
-    String                          aDisplayName;
     SdrOle2Obj*                     pSdrOleObj = NULL;
     SdrPageView*                    pPgView = GetSdrPageView();
     SdPage*                         pOldPage = pPgView ? ( (SdPage*) pPgView->GetPage() ) : NULL;
diff --git a/sd/source/ui/view/viewoverlaymanager.cxx b/sd/source/ui/view/viewoverlaymanager.cxx
index 7701fa8..0a9c9de 100644
--- a/sd/source/ui/view/viewoverlaymanager.cxx
+++ b/sd/source/ui/view/viewoverlaymanager.cxx
@@ -374,7 +374,6 @@ BitmapEx ChangePlaceholderTag::createOverlayImage( int nHighlight )
         SdrObject* pPlaceholder = mxPlaceholderObj.get();
         SmartTagReference xThis( this );
         const Rectangle& rSnapRect = pPlaceholder->GetSnapRect();
-        const Point aPoint;
 
         OutputDevice* pDev = mrView.GetFirstOutputDevice();
         if( pDev == 0 )


More information about the Libreoffice-commits mailing list