callcatcher: update unused code

Change-Id: I81b6f8af2b5c539b7adb507e787497b5ed51fa39
This commit is contained in:
Caolán McNamara
2015-03-05 09:15:19 +00:00
parent 4acffa65b5
commit a0183e89b7
7 changed files with 4 additions and 76 deletions

View File

@@ -516,25 +516,6 @@ void SAL_CALL OSection::removeVetoableChangeListener( const OUString& PropertyNa
SectionPropertySet::removeVetoableChangeListener( PropertyName, aListener );
}
void OSection::lcl_copySection(const uno::Reference< report::XSection>& _xSource,uno::Reference< report::XSection>& _xDest)
{
if ( _xSource.is() )
{
::comphelper::copyProperties(_xSource.get(),_xDest.get());
sal_Int32 nCount = _xSource->getCount();
for(sal_Int32 i = 0;i != nCount;++i)
{
uno::Reference<util::XCloneable> xClone(_xSource->getByIndex(i),uno::UNO_QUERY);
OSL_ENSURE(xClone.is(),"No XCloneable interface found!");
if ( xClone.is() )
{
uno::Reference< drawing::XShape> xShape(xClone->createClone(),uno::UNO_QUERY);
_xDest->add(xShape);
}
}
}
}
void SAL_CALL OSection::add( const uno::Reference< drawing::XShape >& xShape ) throw (uno::RuntimeException, std::exception)
{
{

View File

@@ -228,9 +228,6 @@ namespace reportdesign
static OSection* getImplementation( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxComponent );
static ::com::sun::star::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId();
static void lcl_copySection(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection>& _xSource
,::com::sun::star::uno::Reference< ::com::sun::star::report::XSection>& _xDest);
void notifyElementAdded(const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape);
void notifyElementRemoved(const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape);
};

View File

@@ -496,7 +496,6 @@ public:
Point GetMousePosPixel();
void SnapSplitPos( Point& rScreenPosPixel );
void FreezeSplitters( bool bFreeze );
void RemoveSplit();
void SplitAtCursor();

View File

@@ -1962,48 +1962,6 @@ bool lcl_MouseIsOverWin( const Point& rScreenPosPixel, vcl::Window* pWin )
} // anonymous namespace
void ScTabView::SnapSplitPos( Point& rScreenPosPixel )
{
bool bOverWin = false;
sal_uInt16 i;
for (i=0; i<4; i++)
if (lcl_MouseIsOverWin(rScreenPosPixel,pGridWin[i]))
bOverWin = true;
if (!bOverWin)
return;
// don't snap to cells if the scale will be modified afterwards
if ( GetZoomType() != SVX_ZOOM_PERCENT )
return;
ScSplitPos ePos = SC_SPLIT_BOTTOMLEFT;
if ( aViewData.GetVSplitMode() != SC_SPLIT_NONE )
ePos = SC_SPLIT_TOPLEFT;
vcl::Window* pWin = pGridWin[ePos];
if (!pWin)
{
OSL_FAIL("Window NULL");
return;
}
Point aMouse = pWin->NormalizedScreenToOutputPixel( rScreenPosPixel );
SCsCOL nPosX;
SCsROW nPosY;
// bNextIfLarge=FALSE: nicht auf naechste Zelle, wenn ausserhalb des Fensters
aViewData.GetPosFromPixel( aMouse.X(), aMouse.Y(), ePos, nPosX, nPosY, true, false, false );
bool bLeft;
bool bTop;
aViewData.GetMouseQuadrant( aMouse, ePos, nPosX, nPosY, bLeft, bTop );
if (!bLeft)
++nPosX;
if (!bTop)
++nPosY;
aMouse = aViewData.GetScrPos( static_cast<SCCOL>(nPosX), static_cast<SCROW>(nPosY), ePos, true );
rScreenPosPixel = pWin->OutputToNormalizedScreenPixel( aMouse );
}
void ScTabView::FreezeSplitters( bool bFreeze )
{
ScSplitMode eOldH = aViewData.GetHSplitMode();

View File

@@ -19,6 +19,7 @@ Primitive2dXmlDump::filterActionType(unsigned short, bool)
Primitive2dXmlDump::filterAllActionTypes()
Printer::Error()
SalGraphics::drawTransformedBitmap(basegfx::B2DPoint const&, basegfx::B2DPoint const&, basegfx::B2DPoint const&, SalBitmap const&, SalBitmap const*)
ScBroadcastAreaSlot::AreaBroadcastInRange(ScRange const&, ScHint const&)
ScCellValue::set(ScRefCellValue const&)
ScCondFormatManagerDlg::IsInRefMode() const
ScDocument::CreateFormatTable() const
@@ -54,7 +55,6 @@ Test::testPerf()
Test::testSharedFormulaMoveBlock()
ToolBox::UserDraw(UserDrawEvent const&)
UnxPluginComm::NPP_GetMIMEDescription()
X11SalGraphics::drawAlphaBitmap(SalTwoRect const&, SalBitmap const&)
XclXmlUtils::ToOString(XclRange const&)
XmlTestTools::parseXml(utl::TempFile&)
apitest::CellProperties::testRotateReference()
@@ -197,6 +197,9 @@ dbaui::OQueryViewSwitch::setReadOnly(bool)
dbaui::OTableRowView::SetUpdatable(bool)
dbaui::OTableWindowAccess::isEditable() const
dp_registry::backend::RegisteredDb::getEntry(rtl::OUString const&)
frm::ORichTextModel::Create(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
frm::OScrollBarModel::Create(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
frm::OSpinButtonModel::Create(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
oglcanvas::CanvasHelper::flush() 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::drawingml::TextListStyle::dump() const

View File

@@ -250,10 +250,6 @@ public:
const SalBitmap& rSourceBitmap,
const SalBitmap& rAlphaBitmap ) SAL_OVERRIDE;
bool drawAlphaBitmap(
const SalTwoRect&,
const SalBitmap& rBitmap );
virtual bool drawTransformedBitmap(
const basegfx::B2DPoint& rNull,
const basegfx::B2DPoint& rX,

View File

@@ -193,12 +193,6 @@ bool X11SalGraphics::drawAlphaBitmap( const SalTwoRect& rTR,
return mxImpl->drawAlphaBitmap( rTR, rSrcBitmap, rAlphaBmp );
}
bool X11SalGraphics::drawAlphaBitmap( const SalTwoRect& rTR,
const SalBitmap& rBitmap )
{
return mxImpl->drawAlphaBitmap( rTR, rBitmap );
}
bool X11SalGraphics::drawTransformedBitmap(
const basegfx::B2DPoint& rNull,
const basegfx::B2DPoint& rX,