summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorAditya <adityasahu1511@gmail.com>2020-08-29 19:49:50 +0530
committerTomaž Vajngerl <quikee@gmail.com>2020-09-06 12:46:10 +0200
commit3c109047b1d99afa1cbf694bd93f44feb80ca648 (patch)
tree288ce30762867a202c13160e1786f4bbed8b2bd2 /include/svx
parent0e3b72ac75d9f9c70fe6e74e83a43ffa2635c777 (diff)
svx: Remove GalleryBinaryEngineEntry::createGalleryStorageLocations()
Initialize the member GalleryStorageLocations in the constructor only Change-Id: I0a37a1c87323d724f88b1de0aeb6151707b41853 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101642 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/gallerybinaryengineentry.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/gallerybinaryengineentry.hxx b/include/svx/gallerybinaryengineentry.hxx
index b0f8d7a447b3..eeb989257e3b 100644
--- a/include/svx/gallerybinaryengineentry.hxx
+++ b/include/svx/gallerybinaryengineentry.hxx
@@ -45,8 +45,8 @@ public:
const INetURLObject& GetSdvURL() const { return mpGalleryStorageLocations->GetSdvURL(); }
const INetURLObject& GetStrURL() const { return mpGalleryStorageLocations->GetStrURL(); }
- static std::unique_ptr<GalleryBinaryStorageLocations> createGalleryStorageLocations();
const std::unique_ptr<GalleryBinaryStorageLocations>& getGalleryStorageLocations() const
+
{
return mpGalleryStorageLocations;
}