diff options
author | Aditya <adityasahu1511@gmail.com> | 2020-08-27 02:20:53 +0530 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-09-04 11:27:13 +0200 |
commit | 6ccd883409e4799aa334bbe1047f42c795c9457b (patch) | |
tree | 09985ecc51e25ff5d62fe259faf4a529b6a95d9e /svx | |
parent | bc8c29bea9393cd0f1a6cbff30291ccdfe1ccea0 (diff) |
svx: Rename GalleryThemeEntry::mpGalleryBinaryEngineEntry
Rename mpGalleryBinaryEngineEntry to mpGalleryStorageEngineEntry because
GalleryThemeEntry will have 2 engines: GalleryBinaryEngineEntry and
GalleryXMLEngineEntry.
Change-Id: I348d8df111f33cceacdbfe746bc484802fc18d13
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101431
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gallery2/gallery1.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx index 19b69a0a9bcf..188abd2d995d 100644 --- a/svx/source/gallery2/gallery1.cxx +++ b/svx/source/gallery2/gallery1.cxx @@ -122,12 +122,12 @@ GalleryThemeEntry::GalleryThemeEntry( bool bCreateUniqueURL, { GalleryBinaryEngineEntry::CreateUniqueURL(rBaseURL,aURL); } - mpGalleryBinaryEngineEntry = createGalleryBinaryEngineEntry(); + mpGalleryStorageEngineEntry = createGalleryStorageEngineEntry(); maGalleryStorageLocations.SetStorageLocations(aURL); SetModified( _bNewFile ); - aName = mpGalleryBinaryEngineEntry->ReadStrFromIni( "name" ); + aName = mpGalleryStorageEngineEntry->ReadStrFromIni( "name" ); // This is awful - we shouldn't use these resources if we // possibly can avoid them @@ -161,7 +161,7 @@ GalleryThemeEntry::GalleryThemeEntry( bool bCreateUniqueURL, aName = rName; } -std::unique_ptr<GalleryBinaryEngineEntry> GalleryThemeEntry::createGalleryBinaryEngineEntry() +std::unique_ptr<GalleryBinaryEngineEntry> GalleryThemeEntry::createGalleryStorageEngineEntry() { std::unique_ptr<GalleryBinaryEngineEntry> pGalleryBinaryEngineEntry = std::make_unique<GalleryBinaryEngineEntry>(maGalleryStorageLocations); return pGalleryBinaryEngineEntry; |