diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-02 14:28:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-02 15:35:31 +0200 |
commit | ed5e44054c4c5c0fd7d9555dba777df250b7f301 (patch) | |
tree | 412937bcb45329b37ead6f812455a7d0cb3a286a /oox/source/ole | |
parent | 221107a1853c93e69debb42b2106978379d5ae60 (diff) |
loplugin:constmethod in oox
Change-Id: Ie6c9c60288accf7096288aa67d091548e43687cd
Reviewed-on: https://gerrit.libreoffice.org/78397
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/ole')
-rw-r--r-- | oox/source/ole/vbaexport.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx index 052285cbdfbb..b4f2db17ccf5 100644 --- a/oox/source/ole/vbaexport.cxx +++ b/oox/source/ole/vbaexport.cxx @@ -1118,7 +1118,7 @@ void VbaExport::exportVBA(SotStorage* pRootStorage) pRootStorage->Commit(); } -css::uno::Reference<css::script::XLibraryContainer> VbaExport::getLibraryContainer() +css::uno::Reference<css::script::XLibraryContainer> VbaExport::getLibraryContainer() const { oox::PropertySet aDocProp(mxModel); css::uno::Reference<css::script::XLibraryContainer> xLibContainer(aDocProp.getAnyProperty(oox::PROP_BasicLibraries), css::uno::UNO_QUERY); @@ -1126,7 +1126,7 @@ css::uno::Reference<css::script::XLibraryContainer> VbaExport::getLibraryContain return xLibContainer; } -css::uno::Reference<css::container::XNameContainer> VbaExport::getBasicLibrary() +css::uno::Reference<css::container::XNameContainer> VbaExport::getBasicLibrary() const { css::uno::Reference<css::container::XNameContainer> xLibrary; try @@ -1157,7 +1157,7 @@ bool VbaExport::containsVBAProject() return bVBACompatibilty; } -OUString VbaExport::getProjectName() +OUString VbaExport::getProjectName() const { css::uno::Reference<css::script::vba::XVBACompatibility> xVbaCompatibility(getLibraryContainer(), css::uno::UNO_QUERY); if (xVbaCompatibility.is()) |