summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--canvas/source/directx/dx_devicehelper.cxx10
-rw-r--r--canvas/source/directx/dx_devicehelper.hxx3
-rw-r--r--canvas/source/directx/dx_spritedevicehelper.cxx12
-rw-r--r--canvas/source/directx/dx_spritedevicehelper.hxx3
-rw-r--r--canvas/source/vcl/devicehelper.cxx6
-rw-r--r--canvas/source/vcl/devicehelper.hxx1
-rw-r--r--comphelper/source/misc/accimplaccess.cxx13
-rw-r--r--dbaccess/source/ui/inc/TableDesignControl.hxx1
-rw-r--r--dbaccess/source/ui/tabledesign/TableDesignControl.cxx6
-rw-r--r--include/comphelper/accimplaccess.hxx3
-rw-r--r--include/tools/color.hxx10
-rw-r--r--tools/source/generic/color.cxx28
-rw-r--r--unusedcode.easy3
13 files changed, 0 insertions, 99 deletions
diff --git a/canvas/source/directx/dx_devicehelper.cxx b/canvas/source/directx/dx_devicehelper.cxx
index 759bb0b70f17..76e891a2cd88 100644
--- a/canvas/source/directx/dx_devicehelper.cxx
+++ b/canvas/source/directx/dx_devicehelper.cxx
@@ -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);
diff --git a/canvas/source/directx/dx_devicehelper.hxx b/canvas/source/directx/dx_devicehelper.hxx
index cdf1e943243e..c17815341593 100644
--- a/canvas/source/directx/dx_devicehelper.hxx
+++ b/canvas/source/directx/dx_devicehelper.hxx
@@ -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;
diff --git a/canvas/source/directx/dx_spritedevicehelper.cxx b/canvas/source/directx/dx_spritedevicehelper.cxx
index 1581d5202620..5b24ff2fd15c 100644
--- a/canvas/source/directx/dx_spritedevicehelper.cxx
+++ b/canvas/source/directx/dx_spritedevicehelper.cxx
@@ -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
diff --git a/canvas/source/directx/dx_spritedevicehelper.hxx b/canvas/source/directx/dx_spritedevicehelper.hxx
index daced3bf34cf..3b52f2db81f4 100644
--- a/canvas/source/directx/dx_spritedevicehelper.hxx
+++ b/canvas/source/directx/dx_spritedevicehelper.hxx
@@ -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 );
diff --git a/canvas/source/vcl/devicehelper.cxx b/canvas/source/vcl/devicehelper.cxx
index 63fdc8a2268d..076135140ae1 100644
--- a/canvas/source/vcl/devicehelper.cxx
+++ b/canvas/source/vcl/devicehelper.cxx
@@ -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
diff --git a/canvas/source/vcl/devicehelper.hxx b/canvas/source/vcl/devicehelper.hxx
index 55bf9bfa8ffe..08d2270d5590 100644
--- a/canvas/source/vcl/devicehelper.hxx
+++ b/canvas/source/vcl/devicehelper.hxx
@@ -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;
diff --git a/comphelper/source/misc/accimplaccess.cxx b/comphelper/source/misc/accimplaccess.cxx
index 9042b371b6a8..757dbb5dcc10 100644
--- a/comphelper/source/misc/accimplaccess.cxx
+++ b/comphelper/source/misc/accimplaccess.cxx
@@ -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 > {}; }
diff --git a/dbaccess/source/ui/inc/TableDesignControl.hxx b/dbaccess/source/ui/inc/TableDesignControl.hxx
index 97acc014cf04..66c036cb7555 100644
--- a/dbaccess/source/ui/inc/TableDesignControl.hxx
+++ b/dbaccess/source/ui/inc/TableDesignControl.hxx
@@ -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;
diff --git a/dbaccess/source/ui/tabledesign/TableDesignControl.cxx b/dbaccess/source/ui/tabledesign/TableDesignControl.cxx
index 5aced5b1d127..1e8bc6793790 100644
--- a/dbaccess/source/ui/tabledesign/TableDesignControl.cxx
+++ b/dbaccess/source/ui/tabledesign/TableDesignControl.cxx
@@ -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)
{
diff --git a/include/comphelper/accimplaccess.hxx b/include/comphelper/accimplaccess.hxx
index e8eb5e2897c4..5d158391dc23 100644
--- a/include/comphelper/accimplaccess.hxx
+++ b/include/comphelper/accimplaccess.hxx
@@ -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( );
diff --git a/include/tools/color.hxx b/include/tools/color.hxx
index c382f870e259..f940dbcf5688 100644
--- a/include/tools/color.hxx
+++ b/include/tools/color.hxx
@@ -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();
diff --git a/tools/source/generic/color.cxx b/tools/source/generic/color.cxx
index 453feae9c2e1..07fdd00fd7c4 100644
--- a/tools/source/generic/color.cxx
+++ b/tools/source/generic/color.cxx
@@ -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
diff --git a/unusedcode.easy b/unusedcode.easy
index 7f9c7349392a..d9780e03fad8 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1,6 +1,5 @@
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