diff options
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/cctrl/cbuttonw.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/dbgui/consdlg.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/dbgui/dbnamdlg.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/dbgui/tpsort.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/chartsh.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/formdlg/dwfunctr.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/acredlin.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/crnrdlg.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/highred.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/unoobj/afmtuno.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/unoobj/chart2uno.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/unoobj/styleuno.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/vba/vbarange.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/drawvie3.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/preview.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwshf.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/viewdata.cxx | 2 |
18 files changed, 0 insertions, 24 deletions
diff --git a/sc/source/ui/cctrl/cbuttonw.cxx b/sc/source/ui/cctrl/cbuttonw.cxx index 91475beac74a..3e7d681c646c 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 b8c8bbb1fcd0..ce675a2e1fec 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 e958bf92cc51..95f22f570e8d 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 5eec3921540e..cb697365fa64 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 06ff385b43e8..d4de9cf6ab16 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 32bfae897582..1dd0fe09acd1 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 7c4ea0846843..3e326f9c4a9b 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 d8c2a6b99dd4..de5545e3045b 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 007f8d6cb1cd..2e7ae0f5e144 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 85ca2477d5d0..b2137e8e7c3f 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 267194f61a2e..edd3e41f894b 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 1e174bbfc8b4..dc4d12f20035 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 9d9acf505c99..a5d5cb5c7c7e 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 2f9e6421644b..918f6b26c7ff 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 d51f18bbf45a..f65a0d40237d 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 be981b235d92..033baccb84b4 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 453fd01acfad..f3b629d9d6a4 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 1cce1ab6ec7b..8ae56db9e2d6 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()); |