loplugin:passstuffbyref in svl
Change-Id: I1434d96ae800d8e155262831472cf632d640b4c5
This commit is contained in:
@@ -57,7 +57,7 @@ public:
|
||||
void SetStyle( sal_uInt16 nStyle ) { _nStyle = nStyle; }
|
||||
|
||||
const OUString& GetBitmapURL() const { return _aURL; }
|
||||
Color GetColor() const { return _nColor; }
|
||||
const Color& GetColor() const { return _nColor; }
|
||||
sal_uInt16 GetStyle() const { return _nStyle; }
|
||||
};
|
||||
|
||||
|
@@ -36,7 +36,7 @@ public:
|
||||
|
||||
virtual bool operator==( const SfxPoolItem& ) const override;
|
||||
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
|
||||
SvGlobalName GetValue() const { return m_aName; }
|
||||
const SvGlobalName& GetValue() const { return m_aName; }
|
||||
|
||||
virtual bool PutValue ( const css::uno::Any& rVal,
|
||||
sal_uInt8 nMemberId ) override;
|
||||
|
@@ -914,7 +914,7 @@ public:
|
||||
// new format codes are appended.
|
||||
void ReplaceSystemCL( LanguageType eOldLanguage );
|
||||
|
||||
css::uno::Reference<css::uno::XComponentContext> GetComponentContext() const;
|
||||
const css::uno::Reference<css::uno::XComponentContext>& GetComponentContext() const;
|
||||
|
||||
//! The following method is not to be used from outside but must be
|
||||
//! public for the InputScanner.
|
||||
|
@@ -124,7 +124,7 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
OUString GetUserName() const
|
||||
const OUString& GetUserName() const
|
||||
{
|
||||
return m_aName;
|
||||
}
|
||||
|
@@ -516,7 +516,7 @@ void SvNumberFormatter::ReplaceSystemCL( LanguageType eOldLanguage )
|
||||
ImpGenerateAdditionalFormats( nCLOffset, aNumberFormatCode, true );
|
||||
}
|
||||
|
||||
css::uno::Reference<css::uno::XComponentContext> SvNumberFormatter::GetComponentContext() const
|
||||
const css::uno::Reference<css::uno::XComponentContext>& SvNumberFormatter::GetComponentContext() const
|
||||
{
|
||||
return m_xContext;
|
||||
}
|
||||
|
Reference in New Issue
Block a user