summaryrefslogtreecommitdiffstats
path: root/include/basic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-20 10:08:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-20 12:01:08 +0200
commit6d829ae4f218b5d751cfc366f071fc6160c0787c (patch)
tree0a013183aa423d51c004756ae843961c3803aacd /include/basic
parenttdf#109080 First page header/footer ODF (2/2) (diff)
downloadcore-6d829ae4f218b5d751cfc366f071fc6160c0787c.tar.gz
core-6d829ae4f218b5d751cfc366f071fc6160c0787c.zip
loplugin:constparams in basic
Change-Id: Idf55f63f2d56be4997a8cdc6afc5690eacac9a60 Reviewed-on: https://gerrit.libreoffice.org/40214 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/basic')
-rw-r--r--include/basic/basmgr.hxx2
-rw-r--r--include/basic/sbstar.hxx2
-rw-r--r--include/basic/sbuno.hxx2
-rw-r--r--include/basic/sbx.hxx2
-rw-r--r--include/basic/sbxcore.hxx2
-rw-r--r--include/basic/sbxobj.hxx2
-rw-r--r--include/basic/sbxvar.hxx2
7 files changed, 7 insertions, 7 deletions
diff --git a/include/basic/basmgr.hxx b/include/basic/basmgr.hxx
index 4dfc8833669b..9cd3a502facb 100644
--- a/include/basic/basmgr.hxx
+++ b/include/basic/basmgr.hxx
@@ -128,7 +128,7 @@ protected:
void LoadOldBasicManager( SotStorage& rStorage );
bool ImplLoadBasic( SvStream& rStrm, StarBASICRef& rOldBasic ) const;
static bool ImplEncryptStream( SvStream& rStream );
- BasicLibInfo* FindLibInfo( StarBASIC* pBasic );
+ BasicLibInfo* FindLibInfo( StarBASIC const * pBasic );
static void CheckModules( StarBASIC* pBasic, bool bReference );
virtual ~BasicManager() override;
diff --git a/include/basic/sbstar.hxx b/include/basic/sbstar.hxx
index 35a51e17a5c9..071025d52fa3 100644
--- a/include/basic/sbstar.hxx
+++ b/include/basic/sbstar.hxx
@@ -116,7 +116,7 @@ public:
SbxObject* GetRtl() { return pRtl.get(); }
SbModule* FindModule( const OUString& );
// Run init code of all modules (including the inserted Doc-Basics)
- void InitAllModules( StarBASIC* pBasicNotToInit = nullptr );
+ void InitAllModules( StarBASIC const * pBasicNotToInit = nullptr );
void DeInitAllModules();
void ClearAllModuleVars();
diff --git a/include/basic/sbuno.hxx b/include/basic/sbuno.hxx
index 895ecf59dba2..2fd809304671 100644
--- a/include/basic/sbuno.hxx
+++ b/include/basic/sbuno.hxx
@@ -37,7 +37,7 @@ BASIC_DLLPUBLIC void createAllObjectProperties( SbxObject* pObj );
BASIC_DLLPUBLIC void SetSbUnoObjectDfltPropName( SbxObject* pObj );
BASIC_DLLPUBLIC css::uno::Any sbxToUnoValue( const SbxValue* pVar );
-BASIC_DLLPUBLIC css::uno::Any sbxToUnoValue( const SbxValue* pVar, const css::uno::Type& rType, css::beans::Property* pUnoProperty = nullptr );
+BASIC_DLLPUBLIC css::uno::Any sbxToUnoValue( const SbxValue* pVar, const css::uno::Type& rType, css::beans::Property const * pUnoProperty = nullptr );
BASIC_DLLPUBLIC void unoToSbxValue( SbxVariable* pVar, const css::uno::Any& aValue );
diff --git a/include/basic/sbx.hxx b/include/basic/sbx.hxx
index 485a2e89994b..0e905fd333b1 100644
--- a/include/basic/sbx.hxx
+++ b/include/basic/sbx.hxx
@@ -144,7 +144,7 @@ public:
SbxVariable* Get( sal_uInt16 );
void Put( SbxVariable*, sal_uInt16 );
void Insert( SbxVariable*, sal_uInt16 );
- void Remove( SbxVariable* );
+ void Remove( SbxVariable const * );
void Merge( SbxArray* );
OUString GetAlias( sal_uInt16 );
void PutAlias( const OUString&, sal_uInt16 );
diff --git a/include/basic/sbxcore.hxx b/include/basic/sbxcore.hxx
index 3c1c48fdd9c5..ed6a3944c2a2 100644
--- a/include/basic/sbxcore.hxx
+++ b/include/basic/sbxcore.hxx
@@ -87,7 +87,7 @@ public:
// Set the factory for Load/Store/Create
static void AddFactory( SbxFactory* );
- static void RemoveFactory( SbxFactory* );
+ static void RemoveFactory( SbxFactory const * );
static SbxBase* Create( sal_uInt16, sal_uInt32 );
static SbxObject* CreateObject( const OUString& );
diff --git a/include/basic/sbxobj.hxx b/include/basic/sbxobj.hxx
index 65176320dd57..86aacecff5c9 100644
--- a/include/basic/sbxobj.hxx
+++ b/include/basic/sbxobj.hxx
@@ -29,7 +29,7 @@ class SbxProperty;
class BASIC_DLLPUBLIC SbxObject : public SbxVariable, public SfxListener
{
- BASIC_DLLPRIVATE SbxArray* FindVar( SbxVariable*, sal_uInt16& );
+ BASIC_DLLPRIVATE SbxArray* FindVar( SbxVariable const *, sal_uInt16& );
protected:
SbxArrayRef pMethods; // Methods
SbxArrayRef pProps; // Properties
diff --git a/include/basic/sbxvar.hxx b/include/basic/sbxvar.hxx
index 516d0d936516..f90dc939b768 100644
--- a/include/basic/sbxvar.hxx
+++ b/include/basic/sbxvar.hxx
@@ -161,7 +161,7 @@ public:
void PutNull();
// Special methods
- void PutDecimal( css::bridge::oleautomation::Decimal& rAutomationDec );
+ void PutDecimal( css::bridge::oleautomation::Decimal const & rAutomationDec );
bool PutDecimal( SbxDecimal* pDecimal ); // This function is needed for Windows build, don't remove
void fillAutomationDecimal( css::bridge::oleautomation::Decimal& rAutomationDec ) const;
bool PutCurrency( sal_Int64 );