loplugin:constantparam in svl
Change-Id: I6c336034a12fda493825b4a8388d3bde6bead910 Reviewed-on: https://gerrit.libreoffice.org/23729 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
This commit is contained in:
parent
17b1852133
commit
1e55aad799
@ -436,8 +436,7 @@ protected:
|
|||||||
|
|
||||||
SfxMultiVarRecordWriter( sal_uInt8 nRecordType,
|
SfxMultiVarRecordWriter( sal_uInt8 nRecordType,
|
||||||
SvStream *pStream,
|
SvStream *pStream,
|
||||||
sal_uInt16 nRecordTag,
|
sal_uInt16 nRecordTag );
|
||||||
sal_uInt8 nRecordVer );
|
|
||||||
|
|
||||||
void FlushContent_Impl();
|
void FlushContent_Impl();
|
||||||
|
|
||||||
@ -627,7 +626,7 @@ inline SfxMultiFixRecordWriter::~SfxMultiFixRecordWriter()
|
|||||||
*/
|
*/
|
||||||
inline SfxMultiMixRecordWriter::SfxMultiMixRecordWriter( SvStream* pStream,
|
inline SfxMultiMixRecordWriter::SfxMultiMixRecordWriter( SvStream* pStream,
|
||||||
sal_uInt16 nRecordTag )
|
sal_uInt16 nRecordTag )
|
||||||
: SfxMultiVarRecordWriter( SFX_REC_TYPE_MIXTAGS, pStream, nRecordTag, 0 )
|
: SfxMultiVarRecordWriter( SFX_REC_TYPE_MIXTAGS, pStream, nRecordTag )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ class SVL_DLLPUBLIC SfxImageItem : public SfxInt16Item
|
|||||||
SfxImageItem_Impl* pImp;
|
SfxImageItem_Impl* pImp;
|
||||||
public:
|
public:
|
||||||
static SfxPoolItem* CreateDefault();
|
static SfxPoolItem* CreateDefault();
|
||||||
SfxImageItem( sal_uInt16 nWhich = 0, sal_uInt16 nImage = 0 );
|
SfxImageItem( sal_uInt16 nWhich = 0 );
|
||||||
SfxImageItem( const SfxImageItem& );
|
SfxImageItem( const SfxImageItem& );
|
||||||
virtual ~SfxImageItem();
|
virtual ~SfxImageItem();
|
||||||
|
|
||||||
|
@ -167,8 +167,7 @@ public:
|
|||||||
ImpSvNumberformatScan* pSc,
|
ImpSvNumberformatScan* pSc,
|
||||||
ImpSvNumberInputScan* pISc,
|
ImpSvNumberInputScan* pISc,
|
||||||
sal_Int32& nCheckPos,
|
sal_Int32& nCheckPos,
|
||||||
LanguageType& eLan,
|
LanguageType& eLan );
|
||||||
bool bStand = false );
|
|
||||||
|
|
||||||
// Copy ctor
|
// Copy ctor
|
||||||
SvNumberformat( SvNumberformat& rFormat );
|
SvNumberformat( SvNumberformat& rFormat );
|
||||||
|
@ -339,9 +339,8 @@ sal_uInt32 SfxMultiFixRecordWriter::Close()
|
|||||||
*/
|
*/
|
||||||
SfxMultiVarRecordWriter::SfxMultiVarRecordWriter(sal_uInt8 nRecordType,
|
SfxMultiVarRecordWriter::SfxMultiVarRecordWriter(sal_uInt8 nRecordType,
|
||||||
SvStream* pStream,
|
SvStream* pStream,
|
||||||
sal_uInt16 nRecordTag,
|
sal_uInt16 nRecordTag)
|
||||||
sal_uInt8 nRecordVer)
|
: SfxMultiFixRecordWriter( nRecordType, pStream, nRecordTag, 0 ),
|
||||||
: SfxMultiFixRecordWriter( nRecordType, pStream, nRecordTag, nRecordVer ),
|
|
||||||
_nContentVer( 0 )
|
_nContentVer( 0 )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -34,8 +34,8 @@ struct SfxImageItem_Impl
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
SfxImageItem::SfxImageItem( sal_uInt16 which, sal_uInt16 nImage )
|
SfxImageItem::SfxImageItem( sal_uInt16 which )
|
||||||
: SfxInt16Item( which, nImage )
|
: SfxInt16Item( which, 0 )
|
||||||
{
|
{
|
||||||
pImp = new SfxImageItem_Impl;
|
pImp = new SfxImageItem_Impl;
|
||||||
pImp->nAngle = 0;
|
pImp->nAngle = 0;
|
||||||
|
@ -591,8 +591,7 @@ SvNumberformat::SvNumberformat(OUString& rString,
|
|||||||
ImpSvNumberformatScan* pSc,
|
ImpSvNumberformatScan* pSc,
|
||||||
ImpSvNumberInputScan* pISc,
|
ImpSvNumberInputScan* pISc,
|
||||||
sal_Int32& nCheckPos,
|
sal_Int32& nCheckPos,
|
||||||
LanguageType& eLan,
|
LanguageType& eLan)
|
||||||
bool bStan)
|
|
||||||
: rScan(*pSc)
|
: rScan(*pSc)
|
||||||
, bAdditionalBuiltin( false )
|
, bAdditionalBuiltin( false )
|
||||||
, bStarFlag( false )
|
, bStarFlag( false )
|
||||||
@ -623,7 +622,7 @@ SvNumberformat::SvNumberformat(OUString& rString,
|
|||||||
{
|
{
|
||||||
maLocale.meLanguage = eLan;
|
maLocale.meLanguage = eLan;
|
||||||
}
|
}
|
||||||
bStandard = bStan;
|
bStandard = false;
|
||||||
bIsUsed = false;
|
bIsUsed = false;
|
||||||
fLimit1 = 0.0;
|
fLimit1 = 0.0;
|
||||||
fLimit2 = 0.0;
|
fLimit2 = 0.0;
|
||||||
|
@ -4563,7 +4563,7 @@ void ToolBox::statusChanged( const css::frame::FeatureStateEvent& Event )
|
|||||||
// Update image mirroring/rotation
|
// Update image mirroring/rotation
|
||||||
if ( Event.FeatureURL.Complete == ".uno:ImageOrientation" )
|
if ( Event.FeatureURL.Complete == ".uno:ImageOrientation" )
|
||||||
{
|
{
|
||||||
SfxImageItem aItem( 1, 0 );
|
SfxImageItem aItem( 1 );
|
||||||
aItem.PutValue( Event.State, 0 );
|
aItem.PutValue( Event.State, 0 );
|
||||||
|
|
||||||
mbImagesMirrored = aItem.IsMirrored();
|
mbImagesMirrored = aItem.IsMirrored();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user