callcatcher: update unused code
Change-Id: I2d79938465800a6bfe8cc120b85dc449ff04a960
This commit is contained in:
parent
598d02d71f
commit
c5bcfe902d
@ -25,33 +25,6 @@ namespace basegfx
|
||||
// init static member of class fTools
|
||||
double ::basegfx::fTools::mfSmallValue = 0.000000001;
|
||||
|
||||
double snapToZeroRange(double v, double fWidth)
|
||||
{
|
||||
if(fTools::equalZero(fWidth))
|
||||
{
|
||||
// with no range all snaps to range bound
|
||||
return 0.0;
|
||||
}
|
||||
else
|
||||
{
|
||||
if(v < 0.0 || v > fWidth)
|
||||
{
|
||||
double fRetval(fmod(v, fWidth));
|
||||
|
||||
if(fRetval < 0.0)
|
||||
{
|
||||
fRetval += fWidth;
|
||||
}
|
||||
|
||||
return fRetval;
|
||||
}
|
||||
else
|
||||
{
|
||||
return v;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} // end of namespace basegfx
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -136,10 +136,6 @@ namespace basegfx
|
||||
return v / M_PI_2 * 90.0;
|
||||
}
|
||||
|
||||
/** Snap v to the range [0.0 .. fWidth] using modulo
|
||||
*/
|
||||
double snapToZeroRange(double v, double fWidth);
|
||||
|
||||
/** return fValue with the sign of fSignCarrier, thus evtl. changed
|
||||
*/
|
||||
inline double copySign(double fValue, double fSignCarrier)
|
||||
|
@ -565,16 +565,6 @@ ds_device getDeviceSelection(const char* sProfilePath, bool bForceSelection)
|
||||
return selectedDevice;
|
||||
}
|
||||
|
||||
bool selectedDeviceIsOpenCL(ds_device device)
|
||||
{
|
||||
return (DS_DEVICE_OPENCL_DEVICE == device.type);
|
||||
}
|
||||
|
||||
bool selectedDeviceIsNativeCPU(ds_device device)
|
||||
{
|
||||
return (DS_DEVICE_NATIVE_CPU == device.type);
|
||||
}
|
||||
|
||||
}}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -379,22 +379,6 @@ void SvxPixelCtlAccessible::ensureIsAlive() const
|
||||
throw lang::DisposedException();
|
||||
}
|
||||
|
||||
void SvxPixelCtlAccessible::ensureIsValidRow( sal_Int32 nRow )
|
||||
throw ( lang::IndexOutOfBoundsException )
|
||||
{
|
||||
if( nRow >= mrPixelCtl.GetHeight() || nRow <0)
|
||||
throw lang::IndexOutOfBoundsException(
|
||||
OUString( RTL_CONSTASCII_USTRINGPARAM( "row index is invalid" ) ), *this );
|
||||
}
|
||||
|
||||
void SvxPixelCtlAccessible::ensureIsValidColumn( sal_Int32 nColumn )
|
||||
throw ( lang::IndexOutOfBoundsException )
|
||||
{
|
||||
if( nColumn >= mrPixelCtl.GetWidth() || nColumn <0 )
|
||||
throw lang::IndexOutOfBoundsException(
|
||||
OUString( RTL_CONSTASCII_USTRINGPARAM("column index is invalid") ), *this );
|
||||
}
|
||||
|
||||
//XAccessibleEventBroadcaster
|
||||
void SAL_CALL SvxPixelCtlAccessible::addAccessibleEventListener( const uno::Reference< XAccessibleEventListener >& xListener ) throw( RuntimeException )
|
||||
{
|
||||
|
@ -249,17 +249,6 @@ public:
|
||||
inline sal_Bool IsNotAlive( void ) const;
|
||||
|
||||
protected:
|
||||
/** @attention This method requires locked mutex's and a living object.
|
||||
@throws <type>IndexOutOfBoundsException</type>
|
||||
If the specified row index is invalid. */
|
||||
void ensureIsValidRow( sal_Int32 nRow )
|
||||
throw ( ::com::sun::star::lang::IndexOutOfBoundsException );
|
||||
/** @attention This method requires locked mutex's and a living object.
|
||||
@throws <type>IndexOutOfBoundsException</type>
|
||||
If the specified column index is invalid. */
|
||||
void ensureIsValidColumn( sal_Int32 nColumn )
|
||||
throw ( ::com::sun::star::lang::IndexOutOfBoundsException );
|
||||
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> m_xCurChild;
|
||||
public:
|
||||
void NotifyChild(long nIndex,sal_Bool bSelect ,sal_Bool bCheck);
|
||||
|
@ -22,7 +22,6 @@ GDriveDocument::GDriveDocument(GDriveSession*)
|
||||
GDriveFolder::GDriveFolder(GDriveSession*)
|
||||
GDriveProperty::GDriveProperty()
|
||||
GDriveSession::GDriveSession()
|
||||
ImplImageTree::checkStyle(rtl::OUString const&)
|
||||
ImplRegionBand::IsInside(long, long)
|
||||
ImplRegionBand::IsOver(long, long)
|
||||
ImportExcel::GetLastFormula(short)
|
||||
@ -306,8 +305,6 @@ sc::CLBuildKernelThread::produce()
|
||||
sc::CellTextAttr::CellTextAttr(unsigned short, unsigned char)
|
||||
sc::ColumnSet::has(short, short) const
|
||||
sc::CompareFunc(double, sc::Compare::Cell const&, sc::CompareOptions*)
|
||||
sc::OpenCLDevice::selectedDeviceIsNativeCPU(ds_device)
|
||||
sc::OpenCLDevice::selectedDeviceIsOpenCL(ds_device)
|
||||
sc::opencl::OpenclDevice::getOpenclState()
|
||||
sc::opencl::OpenclDevice::releaseOpenclRunEnv()
|
||||
sc::opencl::OpenclDevice::setOpenclState(int)
|
||||
@ -315,7 +312,6 @@ sd::LeftDrawPaneShell::RegisterInterface(SfxModule*)
|
||||
sd::LeftImpressPaneShell::RegisterInterface(SfxModule*)
|
||||
sd::framework::Pane::SetWindow(Window*)
|
||||
sd::presenter::PresenterCanvas::copyRect(com::sun::star::uno::Reference<com::sun::star::rendering::XBitmapCanvas> const&, com::sun::star::geometry::RealRectangle2D const&, com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&, com::sun::star::geometry::RealRectangle2D const&, com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&)
|
||||
sdr::overlay::OverlayRectangle::setSecondPosition(basegfx::B2DPoint const&)
|
||||
sdr::table::Cell::getName()
|
||||
sdr::table::SdrTableObj::getRowCount() const
|
||||
sfx2::sidebar::ContextList::IsEmpty()
|
||||
|
Loading…
x
Reference in New Issue
Block a user