diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-01 10:09:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-01 12:30:55 +0200 |
commit | 871035d72aa0d59b42997056b16d889dd1371ce8 (patch) | |
tree | 3e4fc7b8ad2808bc0c7f258370d41d69f635b282 /include | |
parent | d09b943fc4292d47a9d93f6e423cd0eafbd799ae (diff) |
loplugin:constparams in various
Change-Id: Id15f3562f42afa6c679cea3c839172557ead0395
Reviewed-on: https://gerrit.libreoffice.org/40624
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/jvmaccess/virtualmachine.hxx | 2 | ||||
-rw-r--r-- | include/test/container/xelementaccess.hxx | 2 | ||||
-rw-r--r-- | include/test/screenshot_test.hxx | 2 | ||||
-rw-r--r-- | include/vbahelper/vbahelper.hxx | 8 |
4 files changed, 7 insertions, 7 deletions
diff --git a/include/jvmaccess/virtualmachine.hxx b/include/jvmaccess/virtualmachine.hxx index df18b5791e40..e7f5e63ec69b 100644 --- a/include/jvmaccess/virtualmachine.hxx +++ b/include/jvmaccess/virtualmachine.hxx @@ -125,7 +125,7 @@ public: the future). */ VirtualMachine(JavaVM * pVm, int nVersion, bool bDestroy, - JNIEnv * pMainThreadEnv); + JNIEnv const * pMainThreadEnv); private: VirtualMachine(VirtualMachine &) = delete; diff --git a/include/test/container/xelementaccess.hxx b/include/test/container/xelementaccess.hxx index 14e7ad159621..d1830ef429ed 100644 --- a/include/test/container/xelementaccess.hxx +++ b/include/test/container/xelementaccess.hxx @@ -18,7 +18,7 @@ namespace apitest { class XElementAccess { public: - XElementAccess(css::uno::Type& rType): maType(rType) {} + XElementAccess(css::uno::Type const & rType): maType(rType) {} void testGetElementType(); void testHasElements(); diff --git a/include/test/screenshot_test.hxx b/include/test/screenshot_test.hxx index 5f8fbf89f022..c4ffa9a1ca17 100644 --- a/include/test/screenshot_test.hxx +++ b/include/test/screenshot_test.hxx @@ -36,7 +36,7 @@ private: private: /// helpers void implSaveScreenshot(const Bitmap& rScreenshot, const OString& rScreenshotId); - void saveScreenshot(VclAbstractDialog& rDialog); + void saveScreenshot(VclAbstractDialog const & rDialog); void saveScreenshot(Dialog& rDialog); /// helper method to populate maKnownDialogs, called in setUp(). Needs to be diff --git a/include/vbahelper/vbahelper.hxx b/include/vbahelper/vbahelper.hxx index 525b4237795a..c007257e64c3 100644 --- a/include/vbahelper/vbahelper.hxx +++ b/include/vbahelper/vbahelper.hxx @@ -73,7 +73,7 @@ namespace ooo /** Returns the VBA document implementation object representing the passed UNO document model. */ VBAHELPER_DLLPUBLIC css::uno::Reference< XHelperInterface > getVBADocument( const css::uno::Reference< css::frame::XModel >& xModel ); - VBAHELPER_DLLPUBLIC css::uno::Reference< XHelperInterface > getUnoDocModule( const OUString& aModName, SfxObjectShell* pShell ); + VBAHELPER_DLLPUBLIC css::uno::Reference< XHelperInterface > getUnoDocModule( const OUString& aModName, SfxObjectShell const * pShell ); /// @throws css::uno::RuntimeException VBAHELPER_DLLPUBLIC SfxObjectShell* getSfxObjShell( const css::uno::Reference< css::frame::XModel >& xModel ); @@ -95,7 +95,7 @@ namespace ooo VBAHELPER_DLLPUBLIC void dispatchRequests( const css::uno::Reference< css::frame::XModel>& xModel, const OUString& aUrl ); VBAHELPER_DLLPUBLIC void dispatchRequests (const css::uno::Reference< css::frame::XModel>& xModel, const OUString & aUrl, const css::uno::Sequence< css::beans::PropertyValue >& sProps ); - VBAHELPER_DLLPUBLIC void dispatchExecute(SfxViewShell* pView, sal_uInt16 nSlot ); + VBAHELPER_DLLPUBLIC void dispatchExecute(SfxViewShell const * pView, sal_uInt16 nSlot ); VBAHELPER_DLLPUBLIC sal_Int32 OORGBToXLRGB( sal_Int32 ); VBAHELPER_DLLPUBLIC sal_Int32 XLRGBToOORGB( sal_Int32 ); VBAHELPER_DLLPUBLIC css::uno::Any OORGBToXLRGB( const css::uno::Any& ); @@ -104,8 +104,8 @@ namespace ooo // the object when passed to IsNull will return true. aNULL // contains an empty object reference VBAHELPER_DLLPUBLIC const css::uno::Any& aNULL(); - VBAHELPER_DLLPUBLIC void PrintOutHelper( SfxViewShell* pViewShell, const css::uno::Any& From, const css::uno::Any& To, const css::uno::Any& Copies, const css::uno::Any& Preview, const css::uno::Any& ActivePrinter, const css::uno::Any& PrintToFile, const css::uno::Any& Collate, const css::uno::Any& PrToFileName, bool bSelection ); - VBAHELPER_DLLPUBLIC void PrintPreviewHelper( const css::uno::Any& EnableChanges, SfxViewShell* ); + VBAHELPER_DLLPUBLIC void PrintOutHelper( SfxViewShell const * pViewShell, const css::uno::Any& From, const css::uno::Any& To, const css::uno::Any& Copies, const css::uno::Any& Preview, const css::uno::Any& ActivePrinter, const css::uno::Any& PrintToFile, const css::uno::Any& Collate, const css::uno::Any& PrToFileName, bool bSelection ); + VBAHELPER_DLLPUBLIC void PrintPreviewHelper( const css::uno::Any& EnableChanges, SfxViewShell const * ); VBAHELPER_DLLPUBLIC void WaitUntilPreviewIsClosed( SfxViewFrame* ); /** Extracts a boolean value from the passed Any, which may contain a Boolean or an integer or floating-point value. |