diff options
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/doc/tblrwcl.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/undo/untbl.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/basflt/shellio.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/docx/swdocxreader.cxx | 1 | ||||
-rw-r--r-- | sw/source/filter/html/htmlform.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 1 | ||||
-rw-r--r-- | sw/source/filter/ww8/docxsdrexport.cxx | 1 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8graf.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/misc/glossary.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/dbui/dbmgr.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/ribbar/workctrl.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/uiview/srcview.cxx | 1 |
13 files changed, 0 insertions, 20 deletions
diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx index e314e0fc7f59..97150a2309f8 100644 --- a/sw/source/core/doc/tblrwcl.cxx +++ b/sw/source/core/doc/tblrwcl.cxx @@ -2582,7 +2582,6 @@ bool SwTable::SetColWidth( SwTableBox& rCurrentBox, TableChgWidthHeightType eTyp const SvxLRSpaceItem& rLR = GetFrameFormat()->GetLRSpace(); std::unique_ptr<FndBox_> xFndBox; // for insertion/deletion - SwTableSortBoxes aTmpLst; // for Undo bool bBigger, bRet = false, bLeft = TableChgWidthHeightType::ColLeft == extractPosition( eType ) || @@ -3025,7 +3024,6 @@ bool SwTable::SetRowHeight( SwTableBox& rCurrentBox, TableChgWidthHeightType eTy pBaseLine = pBaseLine->GetUpper()->GetUpper(); std::unique_ptr<FndBox_> xFndBox; // for insertion/deletion - SwTableSortBoxes aTmpLst; // for Undo bool bBigger, bRet = false, bTop = TableChgWidthHeightType::CellTop == extractPosition( eType ); diff --git a/sw/source/core/undo/untbl.cxx b/sw/source/core/undo/untbl.cxx index 4a3cb9c06fae..1cbf5c1bdad3 100644 --- a/sw/source/core/undo/untbl.cxx +++ b/sw/source/core/undo/untbl.cxx @@ -748,7 +748,6 @@ void SwUndoTextToTable::UndoImpl(::sw::UndoRedoContext & rContext) } } - SwNodeIndex aEndIdx( *pTNd->EndOfSectionNode() ); rDoc.TableToText( pTNd, 0x0b == m_cSeparator ? 0x09 : m_cSeparator ); // join again at start? @@ -1864,7 +1863,6 @@ void SwUndoTableMerge::UndoImpl(::sw::UndoRedoContext & rContext) aMsgHint.m_eFlags = TBL_BOXPTR; rDoc.getIDocumentFieldsAccess().UpdateTableFields( &aMsgHint ); - FndBox_ aTmpBox( nullptr, nullptr ); // ? TL_CHART2: notification or locking of controller required ? // 1. restore deleted boxes: diff --git a/sw/source/filter/basflt/shellio.cxx b/sw/source/filter/basflt/shellio.cxx index bfde92363222..d467a21d8a1c 100644 --- a/sw/source/filter/basflt/shellio.cxx +++ b/sw/source/filter/basflt/shellio.cxx @@ -148,8 +148,6 @@ ErrCode SwReader::Read( const Reader& rOptions ) } mxDoc->GetIDocumentUndoRedo().DoUndo(false); - SwNodeIndex aSplitIdx( mxDoc->GetNodes() ); - RedlineFlags eOld = mxDoc->getIDocumentRedlineAccess().GetRedlineFlags(); RedlineFlags ePostReadRedlineFlags( RedlineFlags::Ignore ); diff --git a/sw/source/filter/docx/swdocxreader.cxx b/sw/source/filter/docx/swdocxreader.cxx index 09dea9ba57be..84c0f18f7c0c 100644 --- a/sw/source/filter/docx/swdocxreader.cxx +++ b/sw/source/filter/docx/swdocxreader.cxx @@ -50,7 +50,6 @@ ErrCode SwDOCXReader::Read(SwDoc& rDoc, const OUString& /* rBaseURL */, SwPaM& r return ERR_SWG_READ_ERROR; // We want to work in an empty paragraph. - auto pSttNdIdx = std::make_shared<SwNodeIndex>(rDoc.GetNodes()); const SwPosition* pPos = rPam.GetPoint(); rDoc.getIDocumentContentOperations().SplitNode(*pPos, false); rDoc.SetTextFormatColl(rPam, rDoc.getIDocumentStylePoolAccess().GetTextCollFromPool(RES_POOLCOLL_STANDARD, false)); diff --git a/sw/source/filter/html/htmlform.cxx b/sw/source/filter/html/htmlform.cxx index 67b3a2ffb8eb..dd0c0a81f83f 100644 --- a/sw/source/filter/html/htmlform.cxx +++ b/sw/source/filter/html/htmlform.cxx @@ -533,7 +533,6 @@ void SwHTMLImageWatcher::init( sal_Int32 Width, sal_Int32 Height ) // unregister and delete self clear(); - uno::Reference< awt::XImageConsumer > xTmp = static_cast<awt::XImageConsumer*>(this); xThis = nullptr; } @@ -562,7 +561,6 @@ void SwHTMLImageWatcher::complete( sal_Int32 Status, { // unregister and delete self clear(); - uno::Reference< awt::XImageConsumer > xTmp = static_cast<awt::XImageConsumer*>(this); xThis = nullptr; } } diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 25fa1285d9b8..8505571f545d 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -301,7 +301,6 @@ static bool lcl_isOnelinerSdt(const OUString& rName) // write a floating table directly to docx without the surrounding frame void DocxAttributeOutput::WriteFloatingTable(ww8::Frame const* pParentFrame) { - sax_fastparser::FSHelperPtr pFS = GetSerializer(); const SwFrameFormat& rFrameFormat = pParentFrame->GetFrameFormat(); m_aFloatingTablesOfParagraph.insert(&rFrameFormat); const SwNodeIndex* pNodeIndex = rFrameFormat.GetContent().GetContentIdx(); diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx index 55b0a4169ac2..72ba3f0a6bc9 100644 --- a/sw/source/filter/ww8/docxsdrexport.cxx +++ b/sw/source/filter/ww8/docxsdrexport.cxx @@ -1119,7 +1119,6 @@ void DocxSdrExport::writeOnlyTextOfFrame(ww8::Frame const* pParentFrame) { const SwFrameFormat& rFrameFormat = pParentFrame->GetFrameFormat(); const SwNodeIndex* pNodeIndex = rFrameFormat.GetContent().GetContentIdx(); - sax_fastparser::FSHelperPtr pFS = m_pImpl->getSerializer(); sal_uLong nStt = pNodeIndex ? pNodeIndex->GetIndex() + 1 : 0; sal_uLong nEnd = pNodeIndex ? pNodeIndex->GetNode().EndOfSectionIndex() : 0; diff --git a/sw/source/filter/ww8/ww8graf.cxx b/sw/source/filter/ww8/ww8graf.cxx index 8bd5b6f42b78..0090dbba9b02 100644 --- a/sw/source/filter/ww8/ww8graf.cxx +++ b/sw/source/filter/ww8/ww8graf.cxx @@ -3023,8 +3023,6 @@ SwFlyFrameFormat* SwWW8ImplReader::ConvertDrawTextToFly(SdrObject* &rpObject, MoveInsideFly(pRetFrameFormat); - SwNodeIndex aStart(m_pPaM->GetPoint()->nNode); - m_xWWZOrder->InsideEscher(pF->nSpId); // read in the text diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 9f930a949dde..6183cac5fb94 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -5037,7 +5037,6 @@ ErrCode SwWW8ImplReader::CoreLoad(WW8Glossary const *pGloss) size_t nPageDescOffset = m_rDoc.GetPageDescCnt(); SwNodeIndex aSttNdIdx( m_rDoc.GetNodes() ); - SwRelNumRuleSpaces aRelNumRule(m_rDoc, m_bNewDoc); RedlineFlags eMode = RedlineFlags::ShowInsert | RedlineFlags::ShowDelete; diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx index aaeaa0b89e9e..916ade14f4b2 100644 --- a/sw/source/ui/misc/glossary.cxx +++ b/sw/source/ui/misc/glossary.cxx @@ -211,8 +211,6 @@ SwGlossaryDlg::SwGlossaryDlg(SfxViewFrame const * pViewFrame, m_xShortNameEdit->connect_insert_text(LINK(this, SwGlossaryDlg, TextFilterHdl)); - SvtLinguConfig aLocalLinguConfig; - m_xEditBtn->connect_toggled(LINK(this, SwGlossaryDlg, EnableHdl)); m_xEditBtn->connect_selected(LINK(this, SwGlossaryDlg, MenuHdl)); m_xPathBtn->connect_clicked(LINK(this, SwGlossaryDlg, PathHdl)); diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx index a51cb6366753..19ae175bc319 100644 --- a/sw/source/uibase/dbui/dbmgr.cxx +++ b/sw/source/uibase/dbui/dbmgr.cxx @@ -480,7 +480,6 @@ bool SwDBManager::Merge( const SwMergeDescriptor& rMergeDesc ) // calls from the calculator may have added a connection with an invalid commandtype //"real" data base connections added here have to re-use the already available //DSData and set the correct CommandType - SwDBData aTempData(aData); aData.nCommandType = -1; pTemp = FindDSData(aData, false); if(pTemp) diff --git a/sw/source/uibase/ribbar/workctrl.cxx b/sw/source/uibase/ribbar/workctrl.cxx index 16ee3c8e00a5..81bfd2274a15 100644 --- a/sw/source/uibase/ribbar/workctrl.cxx +++ b/sw/source/uibase/ribbar/workctrl.cxx @@ -911,8 +911,6 @@ uno::Reference< awt::XWindow > SAL_CALL NavElementToolBoxControl::createItemWind } } - uno::Reference< util::XURLTransformer > xURLTransformer = getURLTransformer(); - return xItemWindow; } diff --git a/sw/source/uibase/uiview/srcview.cxx b/sw/source/uibase/uiview/srcview.cxx index 2a3716f00017..6b8f4d253f8b 100644 --- a/sw/source/uibase/uiview/srcview.cxx +++ b/sw/source/uibase/uiview/srcview.cxx @@ -807,7 +807,6 @@ void SwSrcView::Load(SwDocShell* pDocShell) utl::TempFile aTempFile; aTempFile.EnableKillingFile(); const OUString sFileURL( aTempFile.GetURL() ); - SvtSaveOptions aOpt; { SfxMedium aMedium( sFileURL,StreamMode::READWRITE ); |