diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:35:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:35:16 +0200 |
commit | aa2b7d55c6f8e1d8390b0e820b1e5586bb5a7d4c (patch) | |
tree | 11e0475161189944ad1766cb07a4dd605f4435a8 /canvas/source/vcl/textlayout.cxx | |
parent | 88b4ec9afb1e5f7864b570beef1cd3e62a191942 (diff) |
loplugin:casttovoid: canvas
Change-Id: I2b719ff5fc03a74ba0f657351343462aaa9c7296
Diffstat (limited to 'canvas/source/vcl/textlayout.cxx')
-rw-r--r-- | canvas/source/vcl/textlayout.cxx | 41 |
1 files changed, 9 insertions, 32 deletions
diff --git a/canvas/source/vcl/textlayout.cxx b/canvas/source/vcl/textlayout.cxx index 03f2fbaebd24..1a52371029a4 100644 --- a/canvas/source/vcl/textlayout.cxx +++ b/canvas/source/vcl/textlayout.cxx @@ -74,7 +74,6 @@ namespace vclcanvas TextLayout::TextLayout( const rendering::StringContext& aText, sal_Int8 nDirection, - sal_Int64 nRandomSeed, const CanvasFont::Reference& rFont, const uno::Reference<rendering::XGraphicDevice>& xDevice, const OutDevProviderSharedPtr& rOutDev ) : @@ -85,9 +84,7 @@ namespace vclcanvas mxDevice( xDevice ), mpOutDevProvider( rOutDev ), mnTextDirection( nDirection ) - { - (void)nRandomSeed; - } + {} void SAL_CALL TextLayout::disposing() { @@ -262,65 +259,45 @@ namespace vclcanvas } } - double SAL_CALL TextLayout::justify( double nSize ) + double SAL_CALL TextLayout::justify( double ) { - (void)nSize; - // TODO(F1) return 0.0; } - double SAL_CALL TextLayout::combinedJustify( const uno::Sequence< uno::Reference< rendering::XTextLayout > >& aNextLayouts, - double nSize ) + double SAL_CALL TextLayout::combinedJustify( const uno::Sequence< uno::Reference< rendering::XTextLayout > >&, + double ) { - (void)aNextLayouts; - (void)nSize; - // TODO(F1) return 0.0; } - rendering::TextHit SAL_CALL TextLayout::getTextHit( const geometry::RealPoint2D& aHitPoint ) + rendering::TextHit SAL_CALL TextLayout::getTextHit( const geometry::RealPoint2D& ) { - (void)aHitPoint; - // TODO(F1) return rendering::TextHit(); } - rendering::Caret SAL_CALL TextLayout::getCaret( sal_Int32 nInsertionIndex, sal_Bool bExcludeLigatures ) + rendering::Caret SAL_CALL TextLayout::getCaret( sal_Int32, sal_Bool ) { - (void)nInsertionIndex; - (void)bExcludeLigatures; - // TODO(F1) return rendering::Caret(); } - sal_Int32 SAL_CALL TextLayout::getNextInsertionIndex( sal_Int32 nStartIndex, sal_Int32 nCaretAdvancement, sal_Bool bExcludeLigatures ) + sal_Int32 SAL_CALL TextLayout::getNextInsertionIndex( sal_Int32, sal_Int32, sal_Bool ) { - (void)nStartIndex; - (void)nCaretAdvancement; - (void)bExcludeLigatures; - // TODO(F1) return 0; } - uno::Reference< rendering::XPolyPolygon2D > SAL_CALL TextLayout::queryVisualHighlighting( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) + uno::Reference< rendering::XPolyPolygon2D > SAL_CALL TextLayout::queryVisualHighlighting( sal_Int32, sal_Int32 ) { - (void)nStartIndex; - (void)nEndIndex; - // TODO(F1) return uno::Reference< rendering::XPolyPolygon2D >(); } - uno::Reference< rendering::XPolyPolygon2D > SAL_CALL TextLayout::queryLogicalHighlighting( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) + uno::Reference< rendering::XPolyPolygon2D > SAL_CALL TextLayout::queryLogicalHighlighting( sal_Int32, sal_Int32 ) { - (void)nStartIndex; - (void)nEndIndex; - // TODO(F1) return uno::Reference< rendering::XPolyPolygon2D >(); } |