[Libreoffice-commits] core.git: canvas/inc canvas/source canvas/workben comphelper/source connectivity/source cppcanvas/source
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Sat Aug 28 05:44:31 UTC 2021
canvas/inc/base/bufferedgraphicdevicebase.hxx | 2 -
canvas/inc/base/graphicdevicebase.hxx | 1
canvas/source/cairo/cairo_canvasbitmap.cxx | 2 -
canvas/source/cairo/cairo_canvashelper.cxx | 6 ---
canvas/source/cairo/cairo_devicehelper.cxx | 3 -
canvas/source/cairo/cairo_spritecanvashelper.cxx | 2 -
canvas/source/cairo/cairo_spritedevicehelper.cxx | 2 -
canvas/source/cairo/cairo_spritehelper.cxx | 2 -
canvas/source/cairo/cairo_textlayout.cxx | 1
canvas/source/factory/cf_service.cxx | 6 ---
canvas/source/opengl/ogl_canvascustomsprite.cxx | 3 -
canvas/source/opengl/ogl_canvashelper.cxx | 3 -
canvas/source/opengl/ogl_spritedevicehelper.cxx | 2 -
canvas/source/opengl/ogl_textlayout.cxx | 1
canvas/source/simplecanvas/simplecanvasimpl.cxx | 4 --
canvas/source/tools/canvascustomspritehelper.cxx | 6 ---
canvas/source/tools/propertysethelper.cxx | 4 --
canvas/source/tools/spriteredrawmanager.cxx | 6 ---
canvas/source/tools/surface.cxx | 1
canvas/source/tools/surfaceproxy.cxx | 1
canvas/source/vcl/canvasbitmaphelper.cxx | 4 --
canvas/source/vcl/canvashelper.cxx | 3 -
canvas/source/vcl/devicehelper.cxx | 3 -
canvas/source/vcl/spritecanvashelper.cxx | 1
canvas/source/vcl/spritedevicehelper.cxx | 3 -
canvas/source/vcl/spritehelper.cxx | 3 -
canvas/source/vcl/textlayout.cxx | 1
canvas/workben/canvasdemo.cxx | 4 --
comphelper/source/container/enumerablemap.cxx | 1
comphelper/source/misc/backupfilehelper.cxx | 10 +----
comphelper/source/misc/numberedcollection.cxx | 3 -
connectivity/source/commontools/dbmetadata.cxx | 6 ---
connectivity/source/commontools/formattedcolumnvalue.cxx | 5 --
connectivity/source/commontools/statementcomposer.cxx | 3 -
connectivity/source/drivers/evoab2/NPreparedStatement.cxx | 2 -
connectivity/source/drivers/evoab2/NResultSetMetaData.cxx | 3 -
connectivity/source/drivers/firebird/Connection.cxx | 3 -
connectivity/source/drivers/jdbc/JConnection.cxx | 4 --
connectivity/source/drivers/postgresql/pq_connection.cxx | 2 -
cppcanvas/source/mtfrenderer/bitmapaction.cxx | 6 +--
cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx | 2 -
cppcanvas/source/mtfrenderer/implrenderer.cxx | 4 --
cppcanvas/source/mtfrenderer/lineaction.cxx | 3 -
cppcanvas/source/mtfrenderer/pointaction.cxx | 6 +--
cppcanvas/source/mtfrenderer/polypolyaction.cxx | 10 +----
cppcanvas/source/mtfrenderer/textaction.cxx | 26 +-------------
cppcanvas/source/mtfrenderer/transparencygroupaction.cxx | 5 --
cppcanvas/source/tools/canvasgraphichelper.cxx | 1
cppcanvas/source/wrapper/implbitmap.cxx | 3 -
cppcanvas/source/wrapper/implcanvas.cxx | 2 -
cppcanvas/source/wrapper/implcustomsprite.cxx | 1
cppcanvas/source/wrapper/implpolypolygon.cxx | 2 -
cppcanvas/source/wrapper/implsprite.cxx | 1
53 files changed, 28 insertions(+), 166 deletions(-)
New commits:
commit a12523644802f715ca57774b75f84e327dc221f7
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Fri Aug 27 15:28:13 2021 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Aug 28 07:43:56 2021 +0200
clang-tidy:readability-redundant-member-init
Change-Id: I48e6fb31df732805423b89ed91b6e4363a69b668
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121150
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/canvas/inc/base/bufferedgraphicdevicebase.hxx b/canvas/inc/base/bufferedgraphicdevicebase.hxx
index 067d37a984f0..4cd604148cce 100644
--- a/canvas/inc/base/bufferedgraphicdevicebase.hxx
+++ b/canvas/inc/base/bufferedgraphicdevicebase.hxx
@@ -80,8 +80,6 @@ namespace canvas
typedef Mutex MutexType;
BufferedGraphicDeviceBase() :
- mxWindow(),
- maBounds(),
mbIsVisible( false ),
mbIsTopLevel( false )
{
diff --git a/canvas/inc/base/graphicdevicebase.hxx b/canvas/inc/base/graphicdevicebase.hxx
index 151a39a9f153..c17d7bbb8bc5 100644
--- a/canvas/inc/base/graphicdevicebase.hxx
+++ b/canvas/inc/base/graphicdevicebase.hxx
@@ -116,7 +116,6 @@ namespace canvas
GraphicDeviceBase() :
maDeviceHelper(),
- maPropHelper(),
mbDumpScreenContent(false)
{
maPropHelper.initProperties( PropertySetHelper::MakeMap
diff --git a/canvas/source/cairo/cairo_canvasbitmap.cxx b/canvas/source/cairo/cairo_canvasbitmap.cxx
index 55f1603237b2..430bb3b5fc60 100644
--- a/canvas/source/cairo/cairo_canvasbitmap.cxx
+++ b/canvas/source/cairo/cairo_canvasbitmap.cxx
@@ -39,8 +39,6 @@ namespace cairocanvas
rendering::XGraphicDevice* pDevice,
bool bHasAlpha ) :
mpSurfaceProvider( rSurfaceProvider ),
- mpBufferSurface(),
- mpBufferCairo(),
maSize(rSize),
mbHasAlpha(bHasAlpha)
{
diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx
index 32124af830f9..2ee30cfc3740 100644
--- a/canvas/source/cairo/cairo_canvashelper.cxx
+++ b/canvas/source/cairo/cairo_canvashelper.cxx
@@ -64,11 +64,7 @@ namespace cairocanvas
CanvasHelper::CanvasHelper() :
mpSurfaceProvider(nullptr),
mpDevice(nullptr),
- mpVirtualDevice(),
- mbHaveAlpha(),
- mpCairo(),
- mpSurface(),
- maSize()
+ mbHaveAlpha()
{
}
diff --git a/canvas/source/cairo/cairo_devicehelper.cxx b/canvas/source/cairo/cairo_devicehelper.cxx
index 1c44b4225560..5dacea7ae676 100644
--- a/canvas/source/cairo/cairo_devicehelper.cxx
+++ b/canvas/source/cairo/cairo_devicehelper.cxx
@@ -39,8 +39,7 @@ namespace cairocanvas
{
DeviceHelper::DeviceHelper() :
mpSurfaceProvider( nullptr ),
- mpRefDevice( nullptr ),
- mpSurface()
+ mpRefDevice( nullptr )
{
}
diff --git a/canvas/source/cairo/cairo_spritecanvashelper.cxx b/canvas/source/cairo/cairo_spritecanvashelper.cxx
index 47bde21e6f25..992e0a581dcc 100644
--- a/canvas/source/cairo/cairo_spritecanvashelper.cxx
+++ b/canvas/source/cairo/cairo_spritecanvashelper.cxx
@@ -91,8 +91,6 @@ namespace cairocanvas
SpriteCanvasHelper::SpriteCanvasHelper() :
mpRedrawManager( nullptr ),
mpOwningSpriteCanvas( nullptr ),
- mpCompositingSurface(),
- maCompositingSurfaceSize(),
mbCompositingSurfaceDirty(true)
{
}
diff --git a/canvas/source/cairo/cairo_spritedevicehelper.cxx b/canvas/source/cairo/cairo_spritedevicehelper.cxx
index f2d018937be2..6539cf329a40 100644
--- a/canvas/source/cairo/cairo_spritedevicehelper.cxx
+++ b/canvas/source/cairo/cairo_spritedevicehelper.cxx
@@ -35,8 +35,6 @@ namespace cairocanvas
SpriteDeviceHelper::SpriteDeviceHelper() :
mpSpriteCanvas( nullptr ),
- mpBufferSurface(),
- maSize(),
mbFullScreen( false )
{}
diff --git a/canvas/source/cairo/cairo_spritehelper.cxx b/canvas/source/cairo/cairo_spritehelper.cxx
index 264c720e995e..b3806f0e94f1 100644
--- a/canvas/source/cairo/cairo_spritehelper.cxx
+++ b/canvas/source/cairo/cairo_spritehelper.cxx
@@ -38,8 +38,6 @@ using namespace ::com::sun::star;
namespace cairocanvas
{
SpriteHelper::SpriteHelper() :
- mpSpriteCanvas(),
- mpBufferSurface(),
mbTextureDirty(true)
{}
diff --git a/canvas/source/cairo/cairo_textlayout.cxx b/canvas/source/cairo/cairo_textlayout.cxx
index 2f7abea5352f..6a1bfc27eece 100644
--- a/canvas/source/cairo/cairo_textlayout.cxx
+++ b/canvas/source/cairo/cairo_textlayout.cxx
@@ -77,7 +77,6 @@ namespace cairocanvas
const SurfaceProviderRef& rRefDevice ) :
TextLayout_Base( m_aMutex ),
maText( aText ),
- maLogicalAdvancements(),
mpFont( rFont ),
mpRefDevice( rRefDevice ),
mnTextDirection( nDirection )
diff --git a/canvas/source/factory/cf_service.cxx b/canvas/source/factory/cf_service.cxx
index 8f16ce0db008..d7e612cb6ca9 100644
--- a/canvas/source/factory/cf_service.cxx
+++ b/canvas/source/factory/cf_service.cxx
@@ -108,13 +108,7 @@ public:
};
CanvasFactory::CanvasFactory( Reference<XComponentContext> const & xContext ) :
- m_mutex(),
m_xContext(xContext),
- m_xCanvasConfigNameAccess(),
- m_aAvailableImplementations(),
- m_aAcceleratedImplementations(),
- m_aAAImplementations(),
- m_aCachedImplementations(),
m_bCacheHasForcedLastImpl(),
m_bCacheHasUseAcceleratedEntry(),
m_bCacheHasUseAAEntry()
diff --git a/canvas/source/opengl/ogl_canvascustomsprite.cxx b/canvas/source/opengl/ogl_canvascustomsprite.cxx
index dcc0c15108cf..852933d33698 100644
--- a/canvas/source/opengl/ogl_canvascustomsprite.cxx
+++ b/canvas/source/opengl/ogl_canvascustomsprite.cxx
@@ -33,9 +33,6 @@ namespace oglcanvas
SpriteDeviceHelper& rDeviceHelper ) :
mpSpriteCanvas( rRefDevice ),
maSize(rSpriteSize),
- mxClip(),
- maTransformation(),
- maPosition(),
mfAlpha(0.0),
mfPriority(0.0)
{
diff --git a/canvas/source/opengl/ogl_canvashelper.cxx b/canvas/source/opengl/ogl_canvashelper.cxx
index 0484f710ae53..b0264d8d1d31 100644
--- a/canvas/source/opengl/ogl_canvashelper.cxx
+++ b/canvas/source/opengl/ogl_canvashelper.cxx
@@ -342,8 +342,7 @@ namespace oglcanvas
CanvasHelper::CanvasHelper() :
mpDevice( nullptr ),
- mpDeviceHelper( nullptr ),
- mpRecordedActions()
+ mpDeviceHelper( nullptr )
{}
CanvasHelper::~CanvasHelper()
diff --git a/canvas/source/opengl/ogl_spritedevicehelper.cxx b/canvas/source/opengl/ogl_spritedevicehelper.cxx
index 553798aa9fd9..8cb0a6934f66 100644
--- a/canvas/source/opengl/ogl_spritedevicehelper.cxx
+++ b/canvas/source/opengl/ogl_spritedevicehelper.cxx
@@ -74,8 +74,6 @@ namespace oglcanvas
SpriteDeviceHelper::SpriteDeviceHelper() :
mpSpriteCanvas(nullptr),
- maActiveSprites(),
- maLastUpdate(),
mpTextureCache(std::make_shared<TextureCache>()),
mnLinearTwoColorGradientProgram(0),
mnLinearMultiColorGradientProgram(0),
diff --git a/canvas/source/opengl/ogl_textlayout.cxx b/canvas/source/opengl/ogl_textlayout.cxx
index 622a78320f08..41962c8b1ea0 100644
--- a/canvas/source/opengl/ogl_textlayout.cxx
+++ b/canvas/source/opengl/ogl_textlayout.cxx
@@ -24,7 +24,6 @@ namespace oglcanvas
const CanvasFont::ImplRef& rFont ) :
TextLayoutBaseT( m_aMutex ),
maText( aText ),
- maLogicalAdvancements(),
mpFont( rFont ),
mnTextDirection( nDirection )
{
diff --git a/canvas/source/simplecanvas/simplecanvasimpl.cxx b/canvas/source/simplecanvas/simplecanvasimpl.cxx
index c9b87265d1d6..6182d4e2142b 100644
--- a/canvas/source/simplecanvas/simplecanvasimpl.cxx
+++ b/canvas/source/simplecanvas/simplecanvasimpl.cxx
@@ -91,8 +91,7 @@ namespace
explicit SimpleRenderState( uno::Reference<rendering::XGraphicDevice> const& xDevice ) :
m_aPenColor( &color2Sequence),
m_aFillColor( &color2Sequence ),
- m_aRectClip( [&xDevice](geometry::RealRectangle2D const& rRect) { return rect2Poly(xDevice, rRect); } ),
- m_aTransformation()
+ m_aRectClip( [&xDevice](geometry::RealRectangle2D const& rRect) { return rect2Poly(xDevice, rRect); } )
{
tools::setIdentityAffineMatrix2D( m_aTransformation );
}
@@ -158,7 +157,6 @@ namespace
return mxCanvas->createFont(rFontRequest,
uno::Sequence< beans::PropertyValue >(),
geometry::Matrix2D()); } ),
- maViewState(),
maRenderState( mxCanvas->getDevice() )
{
tools::initViewState(maViewState);
diff --git a/canvas/source/tools/canvascustomspritehelper.cxx b/canvas/source/tools/canvascustomspritehelper.cxx
index 156936a05e53..c56980bf2ad8 100644
--- a/canvas/source/tools/canvascustomspritehelper.cxx
+++ b/canvas/source/tools/canvascustomspritehelper.cxx
@@ -146,12 +146,6 @@ namespace canvas
}
CanvasCustomSpriteHelper::CanvasCustomSpriteHelper() :
- mpSpriteCanvas(),
- maCurrClipBounds(),
- maPosition(),
- maSize(),
- maTransform(),
- mxClipPoly(),
mfPriority(0.0),
mfAlpha(0.0),
mbActive(false),
diff --git a/canvas/source/tools/propertysethelper.cxx b/canvas/source/tools/propertysethelper.cxx
index 92f2e3bd28e4..3f8bd4a4eef9 100644
--- a/canvas/source/tools/propertysethelper.cxx
+++ b/canvas/source/tools/propertysethelper.cxx
@@ -57,9 +57,7 @@ namespace canvas
};
}
- PropertySetHelper::PropertySetHelper() :
- mpMap(),
- maMapEntries()
+ PropertySetHelper::PropertySetHelper()
{
}
diff --git a/canvas/source/tools/spriteredrawmanager.cxx b/canvas/source/tools/spriteredrawmanager.cxx
index 443673093ff1..25ec64254acc 100644
--- a/canvas/source/tools/spriteredrawmanager.cxx
+++ b/canvas/source/tools/spriteredrawmanager.cxx
@@ -45,8 +45,6 @@ namespace canvas
public:
explicit SpriteTracer( const Sprite::Reference& rAffectedSprite ) :
mpAffectedSprite(rAffectedSprite),
- maMoveStartArea(),
- maMoveEndArea(),
mbIsMove( false ),
mbIsGenericUpdate( false )
{
@@ -425,9 +423,7 @@ namespace canvas
{ return cp.second.needsUpdate(); } );
}
- SpriteRedrawManager::SpriteRedrawManager() :
- maSprites(),
- maChangeRecords()
+ SpriteRedrawManager::SpriteRedrawManager()
{
}
diff --git a/canvas/source/tools/surface.cxx b/canvas/source/tools/surface.cxx
index 10c2d4655343..9769931a636e 100644
--- a/canvas/source/tools/surface.cxx
+++ b/canvas/source/tools/surface.cxx
@@ -33,7 +33,6 @@ namespace canvas
const ::basegfx::B2ISize& rSize ) :
mpColorBuffer(rColorBuffer),
mpPageManager(rPageManager),
- mpFragment(),
maSourceOffset(rPos),
maSize(rSize),
mbIsDirty(true)
diff --git a/canvas/source/tools/surfaceproxy.cxx b/canvas/source/tools/surfaceproxy.cxx
index b5c2b52f95b6..46b3d2cd3255 100644
--- a/canvas/source/tools/surfaceproxy.cxx
+++ b/canvas/source/tools/surfaceproxy.cxx
@@ -31,7 +31,6 @@ namespace canvas
SurfaceProxy::SurfaceProxy( const std::shared_ptr<canvas::IColorBuffer>& pBuffer,
const PageManagerSharedPtr& pPageManager ) :
mpPageManager( pPageManager ),
- maSurfaceList(),
mpBuffer( pBuffer )
{
const ::basegfx::B2ISize aImageSize(mpBuffer->getWidth(),mpBuffer->getHeight());
diff --git a/canvas/source/vcl/canvasbitmaphelper.cxx b/canvas/source/vcl/canvasbitmaphelper.cxx
index 00dc8bf03734..85b886d70814 100644
--- a/canvas/source/vcl/canvasbitmaphelper.cxx
+++ b/canvas/source/vcl/canvasbitmaphelper.cxx
@@ -34,9 +34,7 @@ using namespace ::com::sun::star;
namespace vclcanvas
{
- CanvasBitmapHelper::CanvasBitmapHelper() :
- mpBackBuffer(),
- mpOutDevReference()
+ CanvasBitmapHelper::CanvasBitmapHelper()
{
}
diff --git a/canvas/source/vcl/canvashelper.cxx b/canvas/source/vcl/canvashelper.cxx
index a6cd6e0b6fd3..04fd39b95e70 100644
--- a/canvas/source/vcl/canvashelper.cxx
+++ b/canvas/source/vcl/canvashelper.cxx
@@ -104,9 +104,6 @@ namespace vclcanvas
CanvasHelper::CanvasHelper() :
mpDevice(),
- mpProtectedOutDevProvider(),
- mpOutDevProvider(),
- mp2ndOutDevProvider(),
mbHaveAlpha( false )
{
}
diff --git a/canvas/source/vcl/devicehelper.cxx b/canvas/source/vcl/devicehelper.cxx
index a16ede0f5236..40d2575f8883 100644
--- a/canvas/source/vcl/devicehelper.cxx
+++ b/canvas/source/vcl/devicehelper.cxx
@@ -33,8 +33,7 @@ using namespace ::com::sun::star;
namespace vclcanvas
{
- DeviceHelper::DeviceHelper() :
- mpOutDev()
+ DeviceHelper::DeviceHelper()
{}
void DeviceHelper::init( const OutDevProviderSharedPtr& rOutDev )
diff --git a/canvas/source/vcl/spritecanvashelper.cxx b/canvas/source/vcl/spritecanvashelper.cxx
index 1796c8ac7ffe..37a425e7a486 100644
--- a/canvas/source/vcl/spritecanvashelper.cxx
+++ b/canvas/source/vcl/spritecanvashelper.cxx
@@ -120,7 +120,6 @@ namespace vclcanvas
mpRedrawManager( nullptr ),
mpOwningSpriteCanvas( nullptr ),
maVDev(VclPtr<VirtualDevice>::Create()),
- maLastUpdate(),
mbShowFrameInfo( false ),
mbShowSpriteBounds( false ),
mbIsUnsafeScrolling( false )
diff --git a/canvas/source/vcl/spritedevicehelper.cxx b/canvas/source/vcl/spritedevicehelper.cxx
index 150e3fcb42af..99f8b19145ce 100644
--- a/canvas/source/vcl/spritedevicehelper.cxx
+++ b/canvas/source/vcl/spritedevicehelper.cxx
@@ -31,8 +31,7 @@ using namespace ::com::sun::star;
namespace vclcanvas
{
- SpriteDeviceHelper::SpriteDeviceHelper() :
- mpBackBuffer()
+ SpriteDeviceHelper::SpriteDeviceHelper()
{
}
diff --git a/canvas/source/vcl/spritehelper.cxx b/canvas/source/vcl/spritehelper.cxx
index 57b38a9a2815..89cc33d7a2d4 100644
--- a/canvas/source/vcl/spritehelper.cxx
+++ b/canvas/source/vcl/spritehelper.cxx
@@ -46,9 +46,6 @@ using namespace ::com::sun::star;
namespace vclcanvas
{
SpriteHelper::SpriteHelper() :
- mpBackBuffer(),
- mpBackBufferMask(),
- maContent(),
mbShowSpriteBounds(false)
{
}
diff --git a/canvas/source/vcl/textlayout.cxx b/canvas/source/vcl/textlayout.cxx
index 9beeee0d34d1..eee17aefe460 100644
--- a/canvas/source/vcl/textlayout.cxx
+++ b/canvas/source/vcl/textlayout.cxx
@@ -81,7 +81,6 @@ namespace vclcanvas
const OutDevProviderSharedPtr& rOutDev ) :
TextLayout_Base( m_aMutex ),
maText( aText ),
- maLogicalAdvancements(),
mpFont( rFont ),
mxDevice( xDevice ),
mpOutDevProvider( rOutDev ),
diff --git a/canvas/workben/canvasdemo.cxx b/canvas/workben/canvasdemo.cxx
index 85791072d860..8efdee81f36a 100644
--- a/canvas/workben/canvasdemo.cxx
+++ b/canvas/workben/canvasdemo.cxx
@@ -89,13 +89,9 @@ class DemoRenderer
uno::Reference< rendering::XCanvas > xCanvas,
Size aSize ) :
maSize(aSize),
- maBox(),
- maViewState(),
- maRenderState(),
maColorBlack( vcl::unotools::colorToStdColorSpaceSequence( COL_BLACK) ),
maColorRed( vcl::unotools::colorToStdColorSpaceSequence( COL_RED) ),
mxCanvas(xCanvas),
- mxDefaultFont(),
mxDevice( xDevice )
{
// Geometry init
diff --git a/comphelper/source/container/enumerablemap.cxx b/comphelper/source/container/enumerablemap.cxx
index a8897c293da4..6ca7c36d2d25 100644
--- a/comphelper/source/container/enumerablemap.cxx
+++ b/comphelper/source/container/enumerablemap.cxx
@@ -105,7 +105,6 @@ namespace comphelper
,m_aValueType( _source.m_aValueType )
,m_pKeyCompare( _source.m_pKeyCompare )
,m_bMutable( false )
- ,m_aModListeners()
{
m_pValues.emplace( *_source.m_pValues );
}
diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx
index 0f3759a81952..807ca5878608 100644
--- a/comphelper/source/misc/backupfilehelper.cxx
+++ b/comphelper/source/misc/backupfilehelper.cxx
@@ -217,8 +217,7 @@ namespace
public:
ExtensionInfoEntry()
- : maName(),
- maRepository(USER),
+ : maRepository(USER),
mbEnabled(false)
{
}
@@ -364,7 +363,6 @@ namespace
public:
ExtensionInfo()
- : maEntries()
{
}
@@ -1024,7 +1022,6 @@ namespace
mnPackFileSize(0),
mnOffset(0),
mnCrc32(0),
- maFile(),
mbDoCompress(false)
{
}
@@ -1161,7 +1158,6 @@ namespace
public:
PackedFile(const OUString& rURL)
: maURL(rURL),
- maPackedFileEntryVector(),
mbChanged(false)
{
FileSharedPtr aSourceFile = std::make_shared<osl::File>(rURL);
@@ -1533,9 +1529,7 @@ namespace comphelper
}
BackupFileHelper::BackupFileHelper()
- : maDirs(),
- maFiles(),
- mnNumBackups(2),
+ : mnNumBackups(2),
mnMode(1),
mbActive(false),
mbExtensions(true),
diff --git a/comphelper/source/misc/numberedcollection.cxx b/comphelper/source/misc/numberedcollection.cxx
index 9df6a878794b..0a771a333251 100644
--- a/comphelper/source/misc/numberedcollection.cxx
+++ b/comphelper/source/misc/numberedcollection.cxx
@@ -29,9 +29,6 @@ constexpr OUStringLiteral ERRMSG_INVALID_COMPONENT_PARAM = u"NULL as component r
NumberedCollection::NumberedCollection()
: ::cppu::BaseMutex ()
- , m_sUntitledPrefix ()
- , m_lComponents ()
- , m_xOwner ()
{
}
diff --git a/connectivity/source/commontools/dbmetadata.cxx b/connectivity/source/commontools/dbmetadata.cxx
index f8afdcda692c..d4d75109f815 100644
--- a/connectivity/source/commontools/dbmetadata.cxx
+++ b/connectivity/source/commontools/dbmetadata.cxx
@@ -75,11 +75,7 @@ namespace dbtools
::std::optional< OUString > sCachedCatalogSeparator;
DatabaseMetaData_Impl()
- :xConnection()
- ,xConnectionMetaData()
- ,aDriverConfig( ::comphelper::getProcessComponentContext() )
- ,sCachedIdentifierQuoteString()
- ,sCachedCatalogSeparator()
+ : aDriverConfig( ::comphelper::getProcessComponentContext() )
{
}
};
diff --git a/connectivity/source/commontools/formattedcolumnvalue.cxx b/connectivity/source/commontools/formattedcolumnvalue.cxx
index fea5b4906e4e..072802e9a9eb 100644
--- a/connectivity/source/commontools/formattedcolumnvalue.cxx
+++ b/connectivity/source/commontools/formattedcolumnvalue.cxx
@@ -76,14 +76,11 @@ namespace dbtools
Reference< XColumnUpdate > m_xColumnUpdate;
FormattedColumnValue_Data()
- :m_xFormatter()
- ,m_aNullDate( DBTypeConversion::getStandardDate() )
+ :m_aNullDate( DBTypeConversion::getStandardDate() )
,m_nFormatKey( 0 )
,m_nFieldType( DataType::OTHER )
,m_nKeyType( NumberFormat::UNDEFINED )
,m_bNumericField( false )
- ,m_xColumn()
- ,m_xColumnUpdate()
{
}
};
diff --git a/connectivity/source/commontools/statementcomposer.cxx b/connectivity/source/commontools/statementcomposer.cxx
index b0aaaa460f64..27c1c05f1472 100644
--- a/connectivity/source/commontools/statementcomposer.cxx
+++ b/connectivity/source/commontools/statementcomposer.cxx
@@ -69,9 +69,6 @@ namespace dbtools
explicit StatementComposer_Data( const Reference< XConnection >& _rxConnection )
:xConnection( _rxConnection )
- ,sCommand()
- ,sFilter()
- ,sOrder()
,nCommandType( CommandType::COMMAND )
,bEscapeProcessing( true )
,bComposerDirty( true )
diff --git a/connectivity/source/drivers/evoab2/NPreparedStatement.cxx b/connectivity/source/drivers/evoab2/NPreparedStatement.cxx
index 73d0b9c0a73f..7b6172ac6cf9 100644
--- a/connectivity/source/drivers/evoab2/NPreparedStatement.cxx
+++ b/connectivity/source/drivers/evoab2/NPreparedStatement.cxx
@@ -40,8 +40,6 @@ IMPLEMENT_SERVICE_INFO(OEvoabPreparedStatement,"com.sun.star.sdbcx.evoab.Prepare
OEvoabPreparedStatement::OEvoabPreparedStatement( OEvoabConnection* _pConnection )
:OCommonStatement(_pConnection)
- ,m_sSqlStatement()
- ,m_xMetaData()
{
}
diff --git a/connectivity/source/drivers/evoab2/NResultSetMetaData.cxx b/connectivity/source/drivers/evoab2/NResultSetMetaData.cxx
index 7f196bed35e7..a980c2067041 100644
--- a/connectivity/source/drivers/evoab2/NResultSetMetaData.cxx
+++ b/connectivity/source/drivers/evoab2/NResultSetMetaData.cxx
@@ -28,8 +28,7 @@ using namespace com::sun::star::lang;
using namespace com::sun::star::sdbc;
OEvoabResultSetMetaData::OEvoabResultSetMetaData(const OUString& _aTableName)
- : m_aTableName(_aTableName),
- m_aEvoabFields()
+ : m_aTableName(_aTableName)
{
}
diff --git a/connectivity/source/drivers/firebird/Connection.cxx b/connectivity/source/drivers/firebird/Connection.cxx
index 5c5d03579c1e..9e574b1f8cca 100644
--- a/connectivity/source/drivers/firebird/Connection.cxx
+++ b/connectivity/source/drivers/firebird/Connection.cxx
@@ -80,8 +80,6 @@ constexpr OUStringLiteral our_sFBKLocation( u"firebird.fbk" );
Connection::Connection()
: Connection_BASE(m_aMutex)
- , m_sConnectionURL()
- , m_sFirebirdURL()
, m_bIsEmbedded(false)
, m_bIsFile(false)
, m_bIsAutoCommit(true)
@@ -96,7 +94,6 @@ Connection::Connection()
#endif
, m_xCatalog(nullptr)
, m_xMetaData(nullptr)
- , m_aStatements()
{
}
diff --git a/connectivity/source/drivers/jdbc/JConnection.cxx b/connectivity/source/drivers/jdbc/JConnection.cxx
index 0529979e2b5b..5553b1195d29 100644
--- a/connectivity/source/drivers/jdbc/JConnection.cxx
+++ b/connectivity/source/drivers/jdbc/JConnection.cxx
@@ -246,11 +246,9 @@ IMPLEMENT_SERVICE_INFO(java_sql_Connection,"com.sun.star.sdbcx.JConnection","com
jclass java_sql_Connection::theClass = nullptr;
java_sql_Connection::java_sql_Connection( const java_sql_Driver& _rDriver )
- :java_lang_Object()
- ,m_xContext( _rDriver.getContext() )
+ :m_xContext( _rDriver.getContext() )
,m_pDriver( &_rDriver )
,m_pDriverobject(nullptr)
- ,m_pDriverClassLoader()
,m_Driver_theClass(nullptr)
,m_aLogger( _rDriver.getLogger() )
,m_bIgnoreDriverPrivileges(true)
diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx
index 9487e51def60..6661a97d5669 100644
--- a/connectivity/source/drivers/postgresql/pq_connection.cxx
+++ b/connectivity/source/drivers/postgresql/pq_connection.cxx
@@ -330,7 +330,7 @@ class cstr_vector
std::vector<char*> values;
std::vector<bool> acquired;
public:
- cstr_vector () : values(), acquired() { values.reserve(8); acquired.reserve(8); }
+ cstr_vector () { values.reserve(8); acquired.reserve(8); }
~cstr_vector ()
{
OSL_ENSURE(values.size() == acquired.size(), "pq_connection: cstr_vector values and acquired size mismatch");
diff --git a/cppcanvas/source/mtfrenderer/bitmapaction.cxx b/cppcanvas/source/mtfrenderer/bitmapaction.cxx
index 8040c9a018c0..24e1f46faeb8 100644
--- a/cppcanvas/source/mtfrenderer/bitmapaction.cxx
+++ b/cppcanvas/source/mtfrenderer/bitmapaction.cxx
@@ -82,8 +82,7 @@ namespace cppcanvas::internal
const OutDevState& rState ) :
CachedPrimitiveBase( rCanvas, true ),
mxBitmap( vcl::unotools::xBitmapFromBitmapEx( rBmpEx ) ),
- mpCanvas( rCanvas ),
- maState()
+ mpCanvas( rCanvas )
{
tools::initRenderState(maState,rState);
@@ -109,8 +108,7 @@ namespace cppcanvas::internal
const OutDevState& rState ) :
CachedPrimitiveBase( rCanvas, true ),
mxBitmap( vcl::unotools::xBitmapFromBitmapEx( rBmpEx ) ),
- mpCanvas( rCanvas ),
- maState()
+ mpCanvas( rCanvas )
{
tools::initRenderState(maState,rState);
diff --git a/cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx b/cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx
index 8d63d30a335a..8001ae8733f5 100644
--- a/cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx
+++ b/cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx
@@ -34,8 +34,6 @@ namespace cppcanvas::internal
CachedPrimitiveBase::CachedPrimitiveBase( const CanvasSharedPtr& rCanvas,
bool bOnlyRedrawWithSameTransform ) :
mpCanvas( rCanvas ),
- mxCachedPrimitive(),
- maLastTransformation(),
mbOnlyRedrawWithSameTransform( bOnlyRedrawWithSameTransform )
{
// TODO(F2): also store last view transform, and refuse to
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index 215bd45124b0..667e78546588 100644
--- a/cppcanvas/source/mtfrenderer/implrenderer.cxx
+++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx
@@ -2654,8 +2654,7 @@ namespace cppcanvas::internal
{
public:
explicit AreaQuery( const ::basegfx::B2DHomMatrix& rTransformation ) :
- maTransformation( rTransformation ),
- maBounds()
+ maTransformation( rTransformation )
{
}
@@ -2841,7 +2840,6 @@ namespace cppcanvas::internal
const GDIMetaFile& rMtf,
const Parameters& rParams )
: CanvasGraphicHelper(rCanvas)
- , maActions()
, nFrameLeft(0)
, nFrameTop(0)
, nFrameRight(0)
diff --git a/cppcanvas/source/mtfrenderer/lineaction.cxx b/cppcanvas/source/mtfrenderer/lineaction.cxx
index 066a2e0052f1..9c8734fdf450 100644
--- a/cppcanvas/source/mtfrenderer/lineaction.cxx
+++ b/cppcanvas/source/mtfrenderer/lineaction.cxx
@@ -74,8 +74,7 @@ namespace cppcanvas::internal
const OutDevState& rState ) :
maStartPoint( rStartPoint ),
maEndPoint( rEndPoint ),
- mpCanvas( rCanvas ),
- maState()
+ mpCanvas( rCanvas )
{
tools::initRenderState(maState,rState);
maState.DeviceColor = rState.lineColor;
diff --git a/cppcanvas/source/mtfrenderer/pointaction.cxx b/cppcanvas/source/mtfrenderer/pointaction.cxx
index 0f2340d9ae74..72550db5480b 100644
--- a/cppcanvas/source/mtfrenderer/pointaction.cxx
+++ b/cppcanvas/source/mtfrenderer/pointaction.cxx
@@ -75,8 +75,7 @@ namespace cppcanvas::internal
const CanvasSharedPtr& rCanvas,
const OutDevState& rState ) :
maPoint( rPoint ),
- mpCanvas( rCanvas ),
- maState()
+ mpCanvas( rCanvas )
{
tools::initRenderState(maState,rState);
maState.DeviceColor = rState.lineColor;
@@ -87,8 +86,7 @@ namespace cppcanvas::internal
const OutDevState& rState,
const ::Color& rAltColor ) :
maPoint( rPoint ),
- mpCanvas( rCanvas ),
- maState()
+ mpCanvas( rCanvas )
{
tools::initRenderState(maState,rState);
maState.DeviceColor = vcl::unotools::colorToDoubleSequence(
diff --git a/cppcanvas/source/mtfrenderer/polypolyaction.cxx b/cppcanvas/source/mtfrenderer/polypolyaction.cxx
index cc9fec338ca0..b69f14de774b 100644
--- a/cppcanvas/source/mtfrenderer/polypolyaction.cxx
+++ b/cppcanvas/source/mtfrenderer/polypolyaction.cxx
@@ -89,9 +89,7 @@ namespace cppcanvas::internal
CachedPrimitiveBase( rCanvas, false ),
mxPolyPoly( ::basegfx::unotools::xPolyPolygonFromB2DPolyPolygon( rCanvas->getUNOCanvas()->getDevice(), rPolyPoly) ),
maBounds( ::basegfx::utils::getRange(rPolyPoly) ),
- mpCanvas( rCanvas ),
- maState(),
- maFillColor()
+ mpCanvas( rCanvas )
{
tools::initRenderState(maState,rState);
@@ -111,9 +109,7 @@ namespace cppcanvas::internal
CachedPrimitiveBase( rCanvas, false ),
mxPolyPoly( ::basegfx::unotools::xPolyPolygonFromB2DPolyPolygon( rCanvas->getUNOCanvas()->getDevice(), rPolyPoly) ),
maBounds( ::basegfx::utils::getRange(rPolyPoly) ),
- mpCanvas( rCanvas ),
- maState(),
- maFillColor()
+ mpCanvas( rCanvas )
{
tools::initRenderState(maState,rState);
@@ -263,7 +259,6 @@ namespace cppcanvas::internal
mxPolyPoly( ::basegfx::unotools::xPolyPolygonFromB2DPolyPolygon( rCanvas->getUNOCanvas()->getDevice(), rPolyPoly) ),
maBounds( ::basegfx::utils::getRange(rPolyPoly) ),
mpCanvas( rCanvas ),
- maState(),
maTexture( rTexture )
{
tools::initRenderState(maState,rState);
@@ -373,7 +368,6 @@ namespace cppcanvas::internal
mxPolyPoly( ::basegfx::unotools::xPolyPolygonFromB2DPolyPolygon( rCanvas->getUNOCanvas()->getDevice(), rPolyPoly) ),
maBounds( ::basegfx::utils::getRange(rPolyPoly) ),
mpCanvas( rCanvas ),
- maState(),
maStrokeAttributes( rStrokeAttributes )
{
tools::initRenderState(maState,rState);
diff --git a/cppcanvas/source/mtfrenderer/textaction.cxx b/cppcanvas/source/mtfrenderer/textaction.cxx
index c908d7a37b8a..0ffe14e3c04b 100644
--- a/cppcanvas/source/mtfrenderer/textaction.cxx
+++ b/cppcanvas/source/mtfrenderer/textaction.cxx
@@ -643,7 +643,6 @@ namespace cppcanvas::internal
mxFont( rState.xFont ),
maStringContext( rString, nStartPos, nLen ),
mpCanvas( rCanvas ),
- maState(),
maTextDirection( rState.textDirection )
{
init( maState, mxFont,
@@ -664,7 +663,6 @@ namespace cppcanvas::internal
mxFont( rState.xFont ),
maStringContext( rString, nStartPos, nLen ),
mpCanvas( rCanvas ),
- maState(),
maTextDirection( rState.textDirection )
{
init( maState, mxFont,
@@ -831,10 +829,7 @@ namespace cppcanvas::internal
mxFont( rState.xFont ),
maStringContext( rText, nStartPos, nLen ),
mpCanvas( rCanvas ),
- maState(),
maTextLineInfo( tools::createTextLineInfo( rVDev, rState ) ),
- maLinesOverallSize(),
- mxTextLines(),
maReliefOffset( rReliefOffset ),
maReliefColor( rReliefColor ),
maShadowOffset( rShadowOffset ),
@@ -873,10 +868,7 @@ namespace cppcanvas::internal
mxFont( rState.xFont ),
maStringContext( rText, nStartPos, nLen ),
mpCanvas( rCanvas ),
- maState(),
maTextLineInfo( tools::createTextLineInfo( rVDev, rState ) ),
- maLinesOverallSize(),
- mxTextLines(),
maReliefOffset( rReliefOffset ),
maReliefColor( rReliefColor ),
maShadowOffset( rShadowOffset ),
@@ -1071,9 +1063,7 @@ namespace cppcanvas::internal
const uno::Sequence< double >& rOffsets,
const CanvasSharedPtr& rCanvas,
const OutDevState& rState ) :
- mxTextLayout(),
- mpCanvas( rCanvas ),
- maState()
+ mpCanvas( rCanvas )
{
initLayoutWidth(mnLayoutWidth, rOffsets);
@@ -1096,9 +1086,7 @@ namespace cppcanvas::internal
const CanvasSharedPtr& rCanvas,
const OutDevState& rState,
const ::basegfx::B2DHomMatrix& rTextTransform ) :
- mxTextLayout(),
- mpCanvas( rCanvas ),
- maState()
+ mpCanvas( rCanvas )
{
initLayoutWidth(mnLayoutWidth, rOffsets);
@@ -1288,9 +1276,7 @@ namespace cppcanvas::internal
VirtualDevice const & rVDev,
const CanvasSharedPtr& rCanvas,
const OutDevState& rState ) :
- mxTextLayout(),
mpCanvas( rCanvas ),
- maState(),
maTextLineInfo( tools::createTextLineInfo( rVDev, rState ) ),
maTextLinesHelper(mpCanvas, rState),
maReliefOffset( rReliefOffset ),
@@ -1328,9 +1314,7 @@ namespace cppcanvas::internal
const CanvasSharedPtr& rCanvas,
const OutDevState& rState,
const ::basegfx::B2DHomMatrix& rTextTransform ) :
- mxTextLayout(),
mpCanvas( rCanvas ),
- maState(),
maTextLineInfo( tools::createTextLineInfo( rVDev, rState ) ),
maTextLinesHelper(mpCanvas, rState),
maReliefOffset( rReliefOffset ),
@@ -1677,16 +1661,13 @@ namespace cppcanvas::internal
mxTextPoly( rTextPoly ),
maOffsets( rOffsets ),
mpCanvas( rCanvas ),
- maState(),
mnOutlineWidth( calcOutlineWidth(rState,rVDev) ),
maFillColor(
vcl::unotools::colorToDoubleSequence(
COL_WHITE,
rCanvas->getUNOCanvas()->getDevice()->getDeviceColorSpace() )),
maTextLineInfo( tools::createTextLineInfo( rVDev, rState ) ),
- maLinesOverallSize(),
maOutlineBounds( rOutlineBounds ),
- mxTextLines(),
maReliefOffset( rReliefOffset ),
maReliefColor( rReliefColor ),
maShadowOffset( rShadowOffset ),
@@ -1723,16 +1704,13 @@ namespace cppcanvas::internal
mxTextPoly( rTextPoly ),
maOffsets( rOffsets ),
mpCanvas( rCanvas ),
- maState(),
mnOutlineWidth( calcOutlineWidth(rState,rVDev) ),
maFillColor(
vcl::unotools::colorToDoubleSequence(
COL_WHITE,
rCanvas->getUNOCanvas()->getDevice()->getDeviceColorSpace() )),
maTextLineInfo( tools::createTextLineInfo( rVDev, rState ) ),
- maLinesOverallSize(),
maOutlineBounds( rOutlineBounds ),
- mxTextLines(),
maReliefOffset( rReliefOffset ),
maReliefColor( rReliefColor ),
maShadowOffset( rShadowOffset ),
diff --git a/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx b/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx
index 55cc47a97732..e0562361e3ce 100644
--- a/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx
+++ b/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx
@@ -144,10 +144,7 @@ namespace cppcanvas::internal
mpGroupMtf( std::move(rGroupMtf) ),
mpAlphaGradient( std::move(rAlphaGradient) ),
maDstSize( rDstSize ),
- mxBufferBitmap(),
- maLastTransformation(),
- mpCanvas( rCanvas ),
- maState()
+ mpCanvas( rCanvas )
{
tools::initRenderState(maState,rState);
implSetupTransform( maState, rDstPoint );
diff --git a/cppcanvas/source/tools/canvasgraphichelper.cxx b/cppcanvas/source/tools/canvasgraphichelper.cxx
index f7a91d38d361..632294834cce 100644
--- a/cppcanvas/source/tools/canvasgraphichelper.cxx
+++ b/cppcanvas/source/tools/canvasgraphichelper.cxx
@@ -34,7 +34,6 @@ using namespace ::com::sun::star;
namespace cppcanvas::internal
{
CanvasGraphicHelper::CanvasGraphicHelper( const CanvasSharedPtr& rParentCanvas ) :
- maClipPolyPolygon(),
mpCanvas( rParentCanvas )
{
OSL_ENSURE( mpCanvas && mpCanvas->getUNOCanvas().is(),
diff --git a/cppcanvas/source/wrapper/implbitmap.cxx b/cppcanvas/source/wrapper/implbitmap.cxx
index 176fcd1cd849..4b46ecb657b3 100644
--- a/cppcanvas/source/wrapper/implbitmap.cxx
+++ b/cppcanvas/source/wrapper/implbitmap.cxx
@@ -32,8 +32,7 @@ namespace cppcanvas::internal
ImplBitmap::ImplBitmap( const CanvasSharedPtr& rParentCanvas,
const uno::Reference< rendering::XBitmap >& rBitmap ) :
CanvasGraphicHelper( rParentCanvas ),
- mxBitmap( rBitmap ),
- mpBitmapCanvas()
+ mxBitmap( rBitmap )
{
OSL_ENSURE( mxBitmap.is(), "ImplBitmap::ImplBitmap: no valid bitmap" );
diff --git a/cppcanvas/source/wrapper/implcanvas.cxx b/cppcanvas/source/wrapper/implcanvas.cxx
index 3a186404ce2e..2760311d5ef7 100644
--- a/cppcanvas/source/wrapper/implcanvas.cxx
+++ b/cppcanvas/source/wrapper/implcanvas.cxx
@@ -35,8 +35,6 @@ namespace cppcanvas::internal
{
ImplCanvas::ImplCanvas( const uno::Reference< rendering::XCanvas >& xCanvas ) :
- maViewState(),
- maClipPolyPolygon(),
mxCanvas( xCanvas )
{
OSL_ENSURE( mxCanvas.is(), "Canvas::Canvas() invalid XCanvas" );
diff --git a/cppcanvas/source/wrapper/implcustomsprite.cxx b/cppcanvas/source/wrapper/implcustomsprite.cxx
index 71fe28a6682a..f6af05cf9e67 100644
--- a/cppcanvas/source/wrapper/implcustomsprite.cxx
+++ b/cppcanvas/source/wrapper/implcustomsprite.cxx
@@ -33,7 +33,6 @@ namespace cppcanvas::internal
ImplSprite( rParentCanvas,
rSprite,
rTransformArbiter ),
- mpLastCanvas(),
mxCustomSprite( rSprite )
{
OSL_ENSURE( rParentCanvas.is(), "ImplCustomSprite::ImplCustomSprite(): Invalid canvas" );
diff --git a/cppcanvas/source/wrapper/implpolypolygon.cxx b/cppcanvas/source/wrapper/implpolypolygon.cxx
index 308d3dace114..182bf6b47f42 100644
--- a/cppcanvas/source/wrapper/implpolypolygon.cxx
+++ b/cppcanvas/source/wrapper/implpolypolygon.cxx
@@ -45,8 +45,6 @@ namespace cppcanvas::internal
rendering::PathCapType::ROUND,
rendering::PathCapType::ROUND,
rendering::PathJoinType::ROUND ),
- maFillColor(),
- maStrokeColor(),
mbFillColorSet( false ),
mbStrokeColorSet( false )
{
diff --git a/cppcanvas/source/wrapper/implsprite.cxx b/cppcanvas/source/wrapper/implsprite.cxx
index f7cd4eb77c97..c0450880d75d 100644
--- a/cppcanvas/source/wrapper/implsprite.cxx
+++ b/cppcanvas/source/wrapper/implsprite.cxx
@@ -33,7 +33,6 @@ namespace cppcanvas::internal
ImplSprite::ImplSprite( const uno::Reference< rendering::XSpriteCanvas >& rParentCanvas,
const uno::Reference< rendering::XSprite >& rSprite,
const ImplSpriteCanvas::TransformationArbiterSharedPtr& rTransformArbiter ) :
- mxGraphicDevice(),
mxSprite( rSprite ),
mpTransformArbiter( rTransformArbiter )
{
More information about the Libreoffice-commits
mailing list