Kaydet (Commit) bfd33a82 authored tarafından Caolán McNamara's avatar Caolán McNamara

callcatcher: update unused code

Change-Id: I735264eb32ebdd165d23a4717f0329f666b8b140
üst d3714207
......@@ -178,16 +178,6 @@ namespace dxcanvas
return uno::Reference< rendering::XVolatileBitmap >();
}
bool DeviceHelper::hasFullScreenMode()
{
return false;
}
bool DeviceHelper::enterFullScreenMode( bool /*bEnter*/ )
{
return false;
}
uno::Any DeviceHelper::isAccelerated() const
{
return ::com::sun::star::uno::makeAny(false);
......
......@@ -79,9 +79,6 @@ namespace dxcanvas
const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice,
const ::com::sun::star::geometry::IntegerSize2D& size );
bool hasFullScreenMode();
bool enterFullScreenMode( bool bEnter );
::com::sun::star::uno::Any isAccelerated() const;
::com::sun::star::uno::Any getDeviceHandle() const;
::com::sun::star::uno::Any getSurfaceHandle() const;
......
......@@ -158,18 +158,6 @@ namespace dxcanvas
return uno::Reference< rendering::XVolatileBitmap >();
}
bool SpriteDeviceHelper::hasFullScreenMode()
{
// TODO(F3): offer fullscreen mode the XCanvas way
return false;
}
bool SpriteDeviceHelper::enterFullScreenMode( bool /*bEnter*/ )
{
// TODO(F3): offer fullscreen mode the XCanvas way
return false;
}
void SpriteDeviceHelper::destroyBuffers()
{
// TODO(F3): implement XBufferStrategy interface. For now, we
......
......@@ -64,9 +64,6 @@ namespace dxcanvas
const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice,
const ::com::sun::star::geometry::IntegerSize2D& size );
bool hasFullScreenMode( );
bool enterFullScreenMode( bool bEnter );
void destroyBuffers( );
sal_Bool showBuffer( bool bIsVisible, sal_Bool bUpdateAll );
sal_Bool switchBuffer( bool bIsVisible, sal_Bool bUpdateAll );
......
......@@ -149,12 +149,6 @@ namespace vclcanvas
return uno::Reference< rendering::XVolatileBitmap >();
}
bool DeviceHelper::enterFullScreenMode( bool bEnter )
{
(void)bEnter;
return false;
}
void DeviceHelper::disposing()
{
// release all references
......
......@@ -68,7 +68,6 @@ namespace vclcanvas
::com::sun::star::uno::Reference< ::com::sun::star::rendering::XVolatileBitmap > createVolatileAlphaBitmap(
const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >& rDevice,
const ::com::sun::star::geometry::IntegerSize2D& size );
bool enterFullScreenMode( bool bEnter );
::com::sun::star::uno::Any isAccelerated() const;
::com::sun::star::uno::Any getDeviceHandle() const;
......
......@@ -76,19 +76,6 @@ namespace comphelper
return m_pImpl->m_nForeignControlledStates;
}
void OAccessibleImplementationAccess::setStateBit( const sal_Int16 _nState, const bool _bSet )
{
OSL_ENSURE( _nState >= 0 && static_cast< sal_uInt16 >(_nState) < sizeof( sal_Int64 ) * 8, "OAccessibleImplementationAccess::setStateBit: no more bits (shutting down the universe now)!" );
sal_uInt64 nBitMask( 1 );
nBitMask <<= _nState;
if ( _bSet )
m_pImpl->m_nForeignControlledStates |= nBitMask;
else
m_pImpl->m_nForeignControlledStates &= ~nBitMask;
}
namespace { struct lcl_ImplId : public rtl::Static< ::cppu::OImplementationId, lcl_ImplId > {}; }
......
......@@ -76,7 +76,6 @@ namespace dbaui
virtual bool IsDeleteAllowed( long nRow ) = 0;
bool IsUpdatable() const {return m_bUpdatable;}
void SetUpdatable( bool bUpdate=true );
virtual RowStatus GetRowStatus(long nRow) const SAL_OVERRIDE;
virtual void KeyInput(const KeyEvent& rEvt) SAL_OVERRIDE;
......
......@@ -93,12 +93,6 @@ void OTableRowView::KeyInput( const KeyEvent& rEvt )
EditBrowseBox::KeyInput(rEvt);
}
void OTableRowView::SetUpdatable( bool bUpdate )
{
m_bUpdatable = bUpdate;
}
void OTableRowView::Command(const CommandEvent& rEvt)
{
......
......@@ -79,9 +79,6 @@ namespace comphelper
void setAccessibleParent(
const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& _rxAccParent );
/// sets or resets a bit of the foreign controlled states
void setStateBit( const sal_Int16 _nState, const bool _bSet );
protected:
OAccessibleImplementationAccess( );
virtual ~OAccessibleImplementationAccess( );
......
......@@ -161,16 +161,6 @@ public:
void IncreaseLuminance(sal_uInt8 cLumInc);
void DecreaseLuminance(sal_uInt8 cLumDec);
/**
* Apply tint or shade to a color.
*
* The input value is the percentage (in 100th of percent) of how much the
* color changes towards the black (shade) or white (tint). If the value
* is positive, the color is tinted, if the value is negative, the color is
* shaded.
**/
void ApplyTintOrShade(sal_Int16 n100thPercent);
void DecreaseContrast(sal_uInt8 cContDec);
void Invert();
......
......@@ -115,34 +115,6 @@ bool Color::IsBright() const
return GetLuminance() >= 245;
}
void Color::ApplyTintOrShade(sal_Int16 n100thPercent)
{
if (n100thPercent > 0)
{
basegfx::BColor aBColor = basegfx::tools::rgb2hsl(getBColor());
double fFactor = std::abs(n100thPercent) / 10000.0;
aBColor.setBlue(aBColor.getBlue() * fFactor + (100.0 - aBColor.getBlue()));
aBColor = basegfx::tools::hsl2rgb(aBColor);
SetRed(sal_uInt8((aBColor.getRed() * 255.0) + 0.5));
SetGreen(sal_uInt8((aBColor.getGreen() * 255.0) + 0.5));
SetBlue(sal_uInt8((aBColor.getBlue() * 255.0) + 0.5));
}
else if (n100thPercent < 0)
{
basegfx::BColor aBColor = basegfx::tools::rgb2hsl(getBColor());
double fFactor = std::abs(n100thPercent) / 10000.0;
aBColor.setBlue(aBColor.getBlue() * fFactor);
aBColor = basegfx::tools::hsl2rgb(aBColor);
SetRed(sal_uInt8((aBColor.getRed() * 255.0) + 0.5));
SetGreen(sal_uInt8((aBColor.getGreen() * 255.0) + 0.5));
SetBlue(sal_uInt8((aBColor.getBlue() * 255.0) + 0.5));
}
}
// color space conversion
void Color::RGBtoHSB( sal_uInt16& nHue, sal_uInt16& nSat, sal_uInt16& nBri ) const
......
BigInt::BigInt(unsigned int)
BitmapFilterStackBlur::filter(BitmapEx&)
Color::ApplyTintOrShade(short)
FontCharMap::GetDefaultMap(bool)
NotifyEvent::NotifyEvent()
OpenGLContext::init(_XDisplay*, unsigned long, unsigned int, unsigned int, int)
......@@ -73,7 +72,6 @@ apitest::XText::testInsertRemoveTextContent()
basegfx::tools::containsOnlyHorizontalAndVerticalEdges(basegfx::B2DPolyPolygon const&)
canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&)
chart::DataBrowser::SetCellModifiedHdl(Link<void*, long> const&)
comphelper::OAccessibleImplementationAccess::setStateBit(short, bool)
comphelper::detail::ConfigurationWrapper::getGroupReadWrite(std::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&)
comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const
comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(std::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&, com::sun::star::uno::Any const&)
......@@ -83,7 +81,6 @@ connectivity::sdbcx::OGroup::OGroup(bool)
connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, bool)
dbaccess::OBookmarkContainer::dispose()
dbaccess::StorageInputStream::close()
dbaui::OTableRowView::SetUpdatable(bool)
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::drawingml::TextListStyle::dump() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment