summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-18 15:35:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-18 18:20:34 +0200
commit81def52473d8de50f7b0570c9867573256b8afa7 (patch)
tree965ba42076d57d711e240ea1c1bac6409a0da93e /include
parentb7c44d7a34027210c06c9936f273fb1a3523a81a (diff)
loplugin:unusedmethods
Change-Id: I8191f4a9eb25b12242354813303fb7d30489d2c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115752 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/unotext.hxx1
-rw-r--r--include/svl/itemprop.hxx37
-rw-r--r--include/vcl/window.hxx24
3 files changed, 0 insertions, 62 deletions
diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx
index 8a5c31101fe0..8a029b72a1b1 100644
--- a/include/editeng/unotext.hxx
+++ b/include/editeng/unotext.hxx
@@ -57,7 +57,6 @@
class SvxItemPropertySet;
struct SfxItemPropertyMapEntry;
-struct SfxItemPropertySimpleEntry;
#define WID_FONTDESC OWN_ATTR_VALUE_START
#define WID_NUMLEVEL OWN_ATTR_VALUE_START+1
diff --git a/include/svl/itemprop.hxx b/include/svl/itemprop.hxx
index c6f6b9bd1425..d6461558abde 100644
--- a/include/svl/itemprop.hxx
+++ b/include/svl/itemprop.hxx
@@ -69,43 +69,6 @@ struct SfxItemPropertyMapEntry
}
};
-struct SfxItemPropertySimpleEntry
-{
- css::uno::Type aType;
- sal_uInt16 nWID;
- /// flag bitmap, @see css::beans::PropertyAttribute
- sal_Int16 nFlags;
- sal_uInt8 nMemberId;
- PropertyMoreFlags nMoreFlags = PropertyMoreFlags::NONE;
-
- SfxItemPropertySimpleEntry()
- : nWID( 0 )
- , nFlags( 0 )
- , nMemberId( 0 )
- {
- }
-
- SfxItemPropertySimpleEntry(sal_uInt16 _nWID, css::uno::Type const & _rType,
- sal_Int16 _nFlags)
- : aType( _rType )
- , nWID( _nWID )
- , nFlags( _nFlags )
- , nMemberId( 0 )
- {
- assert(_nFlags <= 0x1ff );
- }
-
- explicit SfxItemPropertySimpleEntry( const SfxItemPropertyMapEntry& rMapEntry )
- : aType( rMapEntry.aType )
- , nWID( rMapEntry.nWID )
- , nFlags( rMapEntry.nFlags )
- , nMemberId( rMapEntry.nMemberId )
- , nMoreFlags( rMapEntry.nMoreFlags )
- {
- }
-
-};
-
struct SfxItemPropertyMapCompare
{
bool operator() ( const SfxItemPropertyMapEntry * lhs, const SfxItemPropertyMapEntry * rhs ) const
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index 3021bb95870a..9d8c5ae954c5 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -1490,9 +1490,6 @@ public:
Point LogicToPixel( const Point& rLogicPt ) const;
Size LogicToPixel( const Size& rLogicSize ) const;
tools::Rectangle LogicToPixel( const tools::Rectangle& rLogicRect ) const;
- tools::Polygon LogicToPixel( const tools::Polygon& rLogicPoly ) const;
- tools::PolyPolygon LogicToPixel( const tools::PolyPolygon& rLogicPolyPoly ) const;
- basegfx::B2DPolyPolygon LogicToPixel( const basegfx::B2DPolyPolygon& rLogicPolyPoly ) const;
vcl::Region LogicToPixel( const vcl::Region& rLogicRegion )const;
Point LogicToPixel( const Point& rLogicPt,
const MapMode& rMapMode ) const;
@@ -1500,17 +1497,11 @@ public:
const MapMode& rMapMode ) const;
tools::Rectangle LogicToPixel( const tools::Rectangle& rLogicRect,
const MapMode& rMapMode ) const;
- tools::Polygon LogicToPixel( const tools::Polygon& rLogicPoly,
- const MapMode& rMapMode ) const;
- basegfx::B2DPolyPolygon LogicToPixel( const basegfx::B2DPolyPolygon& rLogicPolyPoly,
- const MapMode& rMapMode ) const;
Point PixelToLogic( const Point& rDevicePt ) const;
Size PixelToLogic( const Size& rDeviceSize ) const;
tools::Rectangle PixelToLogic( const tools::Rectangle& rDeviceRect ) const;
- tools::Polygon PixelToLogic( const tools::Polygon& rDevicePoly ) const;
tools::PolyPolygon PixelToLogic( const tools::PolyPolygon& rDevicePolyPoly ) const;
- basegfx::B2DPolyPolygon PixelToLogic( const basegfx::B2DPolyPolygon& rDevicePolyPoly ) const;
vcl::Region PixelToLogic( const vcl::Region& rDeviceRegion ) const;
Point PixelToLogic( const Point& rDevicePt,
const MapMode& rMapMode ) const;
@@ -1518,22 +1509,10 @@ public:
const MapMode& rMapMode ) const;
tools::Rectangle PixelToLogic( const tools::Rectangle& rDeviceRect,
const MapMode& rMapMode ) const;
- tools::Polygon PixelToLogic( const tools::Polygon& rDevicePoly,
- const MapMode& rMapMode ) const;
- basegfx::B2DPolygon PixelToLogic( const basegfx::B2DPolygon& rDevicePoly,
- const MapMode& rMapMode ) const;
- basegfx::B2DPolyPolygon PixelToLogic( const basegfx::B2DPolyPolygon& rDevicePolyPoly,
- const MapMode& rMapMode ) const;
- Point LogicToLogic( const Point& rPtSource,
- const MapMode* pMapModeSource,
- const MapMode* pMapModeDest ) const;
Size LogicToLogic( const Size& rSzSource,
const MapMode* pMapModeSource,
const MapMode* pMapModeDest ) const;
- tools::Rectangle LogicToLogic( const tools::Rectangle& rRectSource,
- const MapMode* pMapModeSource,
- const MapMode* pMapModeDest ) const;
const AllSettings& GetSettings() const;
void SetSettings( const AllSettings& rSettings );
@@ -1544,11 +1523,8 @@ public:
TextRectInfo* pInfo = nullptr,
const vcl::ITextLayout* _pTextLayout = nullptr ) const;
float GetDPIScaleFactor() const;
- sal_Int32 GetDPIScalePercentage() const;
tools::Long GetOutOffXPixel() const;
tools::Long GetOutOffYPixel() const;
- void SetOutOffXPixel(tools::Long nOutOffX);
- void SetOutOffYPixel(tools::Long nOutOffY);
void EnableMapMode( bool bEnable = true );
bool IsMapModeEnabled() const;