[Libreoffice-commits] core.git: basic/source include/basic include/svx svx/source unusedcode.easy

Caolán McNamara caolanm at redhat.com
Sun Apr 19 05:06:08 PDT 2015


 basic/source/basmgr/basmgr.cxx |   18 -------
 include/basic/basmgr.hxx       |    2 
 include/svx/bmpmask.hxx        |    2 
 svx/source/dialog/_bmpmask.cxx |   12 -----
 unusedcode.easy                |   98 ++---------------------------------------
 5 files changed, 5 insertions(+), 127 deletions(-)

New commits:
commit 4950c579d125ed7aa5eecccabe900ce79cd667d1
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Apr 19 12:36:50 2015 +0100

    callcatcher: update unusedcode
    
    Change-Id: I4b2a7ea03aafbfbf1fece1533da801a4326d80f9

diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index 070ece1..a01d2e0 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -1350,24 +1350,6 @@ bool BasicManager::HasLib( const OUString& rName ) const
     return false;
 }
 
-bool BasicManager::SetLibName( sal_uInt16 nLib, const OUString& rName )
-{
-    DBG_ASSERT(  nLib < mpImpl->aLibs.size(), "Lib?!" );
-    if ( nLib < mpImpl->aLibs.size() )
-    {
-        BasicLibInfo& rLibInfo = mpImpl->aLibs[nLib];
-        rLibInfo.SetLibName( rName );
-        if ( rLibInfo.GetLib().Is() )
-        {
-            StarBASICRef xStdLib = rLibInfo.GetLib();
-            xStdLib->SetName( rName );
-            xStdLib->SetModified( true );
-        }
-        return true;
-    }
-    return false;
-}
-
 OUString BasicManager::GetLibName( sal_uInt16 nLib )
 {
     DBG_ASSERT(  nLib < mpImpl->aLibs.size(), "Lib?!" );
diff --git a/include/basic/basmgr.hxx b/include/basic/basmgr.hxx
index 156d6ec..5f89a36 100644
--- a/include/basic/basmgr.hxx
+++ b/include/basic/basmgr.hxx
@@ -217,8 +217,6 @@ public:
 private:
     BASIC_DLLPRIVATE bool IsReference( sal_uInt16 nLib );
 
-    BASIC_DLLPRIVATE bool SetLibName( sal_uInt16 nLib, const OUString& rName );
-
     BASIC_DLLPRIVATE StarBASIC* GetStdLib() const;
     BASIC_DLLPRIVATE StarBASIC* AddLib( SotStorage& rStorage, const OUString& rLibName, bool bReference );
     BASIC_DLLPRIVATE bool RemoveLib( sal_uInt16 nLib );
diff --git a/include/svx/bmpmask.hxx b/include/svx/bmpmask.hxx
index 8e5b3f1..28736c9 100644
--- a/include/svx/bmpmask.hxx
+++ b/include/svx/bmpmask.hxx
@@ -124,8 +124,6 @@ public:
     bool                NeedsColorList() const;
     void                SetColorList( const XColorListRef &pColorList );
 
-    void                SetExecState( bool bEnable );
-
     Graphic             Mask( const Graphic& rGraphic );
 
     bool                IsEyedropping() const;
diff --git a/svx/source/dialog/_bmpmask.cxx b/svx/source/dialog/_bmpmask.cxx
index f49fd93..3062908 100644
--- a/svx/source/dialog/_bmpmask.cxx
+++ b/svx/source/dialog/_bmpmask.cxx
@@ -567,18 +567,6 @@ void SvxBmpMask::PipetteClicked()
     pData->PipetteHdl(m_pTbxPipette);
 }
 
-void SvxBmpMask::SetExecState( bool bEnable )
-{
-    pData->SetExecState( bEnable );
-
-    if ( pData->IsExecReady() && pData->IsCbxReady() )
-        m_pBtnExec->Enable();
-    else
-        m_pBtnExec->Disable();
-}
-
-
-
 sal_uInt16 SvxBmpMask::InitColorArrays( Color* pSrcCols, Color* pDstCols, sal_uIntPtr* pTols )
 {
     sal_uInt16  nCount = 0;
diff --git a/unusedcode.easy b/unusedcode.easy
index 6a30cfc..26c96f6 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -56,114 +56,21 @@ Test::testSharedFormulaMoveBlock()
 UnxPluginComm::NPP_GetMIMEDescription()
 XclXmlUtils::ToOString(XclRange const&)
 XmlTestTools::parseXml(utl::TempFile&)
-apitest::CellProperties::testRotateReference()
-apitest::CellProperties::testVertJustify()
-apitest::DataPilotField::testAutoShowInfo()
-apitest::DataPilotField::testIsGroupField()
-apitest::DataPilotField::testLayoutInfo()
-apitest::DataPilotField::testReference()
-apitest::DataPilotField::testSortInfo()
-apitest::XCellRangeData::testGetDataArray()
-apitest::XCellRangeData::testSetDataArray()
-apitest::XCellRangeReferrer::testGetReferredCells()
-apitest::XCellRangesQuery::testQueryColumnDifference()
-apitest::XCellRangesQuery::testQueryContentDifference()
-apitest::XCellRangesQuery::testQueryEmptyCells()
 apitest::XCellRangesQuery::testQueryFormulaCells()
-apitest::XCellRangesQuery::testQueryIntersection()
-apitest::XCellRangesQuery::testQueryRowDifference()
-apitest::XCellRangesQuery::testQueryVisibleCells()
-apitest::XDataPilotDescriptor::testGetColumnFields()
-apitest::XDataPilotDescriptor::testGetDataFields()
-apitest::XDataPilotDescriptor::testGetDataPilotFields()
-apitest::XDataPilotDescriptor::testGetFilterDescriptor()
 apitest::XDataPilotDescriptor::testGetHiddenFields()
-apitest::XDataPilotDescriptor::testGetPageFields()
-apitest::XDataPilotDescriptor::testGetRowFields()
-apitest::XDataPilotDescriptor::testSourceRange()
-apitest::XDataPilotDescriptor::testTag()
 apitest::XDataPilotFieldGrouping::testCreateDateGroup()
-apitest::XDataPilotFieldGrouping::testCreateNameGroup()
-apitest::XDataPilotTable2::testGetDrillDownData()
-apitest::XDataPilotTable2::testGetOutputRangeByType()
-apitest::XDataPilotTable2::testGetPositionData()
-apitest::XDataPilotTable2::testInsertDrillDownSheet()
-apitest::XDataPilotTable::testGetOutputRange()
-apitest::XDataPilotTable::testRefresh()
-apitest::XDatabaseRange::testDataArea()
-apitest::XDatabaseRange::testGetFilterDescriptor()
-apitest::XDatabaseRange::testGetImportDescriptor()
-apitest::XDatabaseRange::testGetSortDescriptor()
-apitest::XDatabaseRange::testGetSubtotalDescriptor()
-apitest::XDatabaseRange::testRefresh()
 apitest::XElementAccess::testGetElementType()
 apitest::XElementAccess::testHasElements()
-apitest::XGoalSeek::testSeekGoal()
 apitest::XIndexAccess::XIndexAccess(int)
 apitest::XIndexAccess::testGetByIndex()
 apitest::XIndexAccess::testGetByIndexException()
 apitest::XIndexAccess::testGetCount()
 apitest::XNameContainer::XNameContainer()
-apitest::XNameContainer::XNameContainer(rtl::OUString const&)
-apitest::XNameContainer::testRemoveByName()
 apitest::XNameReplace::testReplaceByName()
-apitest::XNamed::testGetName()
-apitest::XNamed::testSetName()
-apitest::XNamedRange::testGetContent()
-apitest::XNamedRange::testGetReferencePosition()
-apitest::XNamedRange::testGetType()
-apitest::XNamedRange::testSetContent()
-apitest::XNamedRange::testSetReferencePosition()
-apitest::XNamedRange::testSetType()
-apitest::XNamedRanges::XNamedRanges()
 apitest::XNamedRanges::XNamedRanges(rtl::OUString const&)
-apitest::XNamedRanges::testAddNewByName()
-apitest::XNamedRanges::testAddNewFromTitles()
-apitest::XNamedRanges::testOutputList()
 apitest::XNamedRanges::testRemoveByName()
-apitest::XPrintAreas::testSetAndGetPrintTitleColumns()
-apitest::XPrintAreas::testSetAndGetPrintTitleRows()
-apitest::XPropertySet::PropsToTest::PropsToTest()
-apitest::XPropertySet::testGetPropertyValue()
-apitest::XPropertySet::testSetPropertyValue()
-apitest::XReplaceable::testCreateReplaceDescriptor()
-apitest::XReplaceable::testReplaceAll()
-apitest::XSearchable::testFindAll()
-apitest::XSearchable::testFindFirst()
-apitest::XSearchable::testFindNext()
-apitest::XSheetAnnotation::testGetAuthor()
-apitest::XSheetAnnotation::testGetDate()
-apitest::XSheetAnnotation::testGetIsVisible()
-apitest::XSheetAnnotation::testGetPosition()
-apitest::XSheetAnnotation::testSetIsVisible()
-apitest::XSheetAnnotations::testCount()
-apitest::XSheetAnnotations::testGetByIndex()
-apitest::XSheetAnnotations::testInsertNew()
-apitest::XSheetAnnotations::testRemoveByIndex()
-apitest::XSheetOutline::testClearOutline()
-apitest::XSheetOutline::testGroup()
-apitest::XSheetOutline::testHideDetail()
-apitest::XSheetOutline::testShowDetail()
-apitest::XSheetOutline::testShowLevel()
-apitest::XSheetOutline::testUngroup()
 apitest::XSpreadsheetDocument::testGetSheets()
-apitest::XSpreadsheets2::XSpreadsheets2()
-apitest::XSpreadsheets2::testImportCellStyle()
-apitest::XSpreadsheets2::testImportFormulaBasicMath()
-apitest::XSpreadsheets2::testImportFormulaWithNamedRange()
-apitest::XSpreadsheets2::testImportNamedRangeDefinedInSource()
-apitest::XSpreadsheets2::testImportNamedRangeRedefinedInSource()
-apitest::XSpreadsheets2::testImportNewNamedRange()
-apitest::XSpreadsheets2::testImportOverExistingNamedRange()
-apitest::XSpreadsheets2::testImportString()
-apitest::XSpreadsheets2::testImportValue()
-apitest::XSpreadsheets2::testImportedSheetNameAndIndex()
-apitest::XStyleLoader::testLoadStylesFromDocument()
-apitest::XStyleLoader::testLoadStylesFromURL()
 apitest::XText::testInsertRemoveTextContent()
-apitest::XTextContent::testAttach()
-apitest::XTextContent::testGetAnchor()
-apitest::XTextField::testGetPresentation()
 basegfx::tools::containsOnlyHorizontalAndVerticalEdges(basegfx::B2DPolyPolygon const&)
 canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&)
 comphelper::OAccessibleImplementationAccess::setStateBit(short, bool)
@@ -180,6 +87,7 @@ dbaui::OTableRowView::SetUpdatable(bool)
 dp_registry::backend::RegisteredDb::getEntry(rtl::OUString const&)
 oglcanvas::CanvasHelper::drawPoint(com::sun::star::rendering::XCanvas const*, com::sun::star::geometry::RealPoint2D const&, com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&)
 oglcanvas::TextLayout::draw(com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&, com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&) const
+oox::AttributeList::getUnsignedHex(int) const
 oox::drawingml::TextListStyle::dump() const
 sc::CLBuildKernelThread::CLBuildKernelThread()
 sc::CLBuildKernelThread::consume()
@@ -196,6 +104,7 @@ std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace
 std::__cxx1998::vector<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread>, std::allocator<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread> > >::reserve(unsigned long)
 vcl::IsWindowSystemAvailable()
 vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, bool)
+vcl::Region::IsInside(Rectangle const&) const
 vclcanvas::CanvasBitmapHelper::setData(com::sun::star::uno::Sequence<signed char> const&, com::sun::star::rendering::IntegerBitmapLayout const&, com::sun::star::geometry::IntegerRectangle2D const&)
 vclcanvas::CanvasBitmapHelper::setPixel(com::sun::star::uno::Sequence<signed char> const&, com::sun::star::rendering::IntegerBitmapLayout const&, com::sun::star::geometry::IntegerPoint2D const&)
 vclcanvas::CanvasHelper::drawPoint(com::sun::star::rendering::XCanvas const*, com::sun::star::geometry::RealPoint2D const&, com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&)
@@ -203,3 +112,6 @@ vclcanvas::CanvasHelper::setData(com::sun::star::uno::Sequence<signed char> cons
 vclcanvas::CanvasHelper::setPixel(com::sun::star::uno::Sequence<signed char> const&, com::sun::star::rendering::IntegerBitmapLayout const&, com::sun::star::geometry::IntegerPoint2D const&)
 vclcanvas::DeviceHelper::enterFullScreenMode(bool)
 vclcanvas::SpriteDeviceHelper::createBuffers(int)
+writerfilter::dmapper::TDefTableHandler::getCellCount() const
+writerfilter::dmapper::TDefTableHandler::getRowProperties() const
+writerfilter::dmapper::TDefTableHandler::getTableWidth() const


More information about the Libreoffice-commits mailing list