summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAditya <adityasahu1511@gmail.com>2020-06-13 15:28:27 +0530
committerTomaž Vajngerl <quikee@gmail.com>2020-06-15 12:14:38 +0200
commitd570062ff9899e78553bfbe412bdf88ff62a5396 (patch)
tree10e959625106eb9c171a693f861cc4ed2d3d3f86 /include
parent749ec5a7914b7ad0ca716719168786b417883792 (diff)
svx:move functions from GalleryThemeEntry to GalleryBinaryEngine
These functions deal with reading and writing of binary files. They need to be moved because code is being refactored. This change should not result in any change in the external behaviour. Change-Id: Ib21f8df8d1f038993af4f7142cac5a25f0eac87e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96253 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/gallery1.hxx4
-rw-r--r--include/svx/gallerybinaryengine.hxx6
2 files changed, 6 insertions, 4 deletions
diff --git a/include/svx/gallery1.hxx b/include/svx/gallery1.hxx
index f25128955b5b..0cb9700f5462 100644
--- a/include/svx/gallery1.hxx
+++ b/include/svx/gallery1.hxx
@@ -50,8 +50,6 @@ public:
bool bReadOnly, bool bNewFile,
sal_uInt32 nId, bool bThemeNameFromResource );
- static INetURLObject ImplGetURLIgnoreCase(const INetURLObject& rURL);
-
const OUString& GetThemeName() const { return aName; }
const INetURLObject& GetThmURL() const { return maGalleryBinaryEngine.GetThmURL(); }
@@ -59,8 +57,6 @@ public:
const INetURLObject& GetSdvURL() const { return maGalleryBinaryEngine.GetSdvURL(); }
const INetURLObject& GetStrURL() const { return maGalleryBinaryEngine.GetStrURL(); }
- OUString ReadStrFromIni(const OUString &aKeyName );
-
bool IsReadOnly() const { return bReadOnly; }
bool IsDefault() const;
diff --git a/include/svx/gallerybinaryengine.hxx b/include/svx/gallerybinaryengine.hxx
index 7ce4ff471ecd..15aa8957d510 100644
--- a/include/svx/gallerybinaryengine.hxx
+++ b/include/svx/gallerybinaryengine.hxx
@@ -30,7 +30,13 @@ private:
INetURLObject aSdvURL;
INetURLObject aStrURL;
+ static INetURLObject ImplGetURLIgnoreCase(const INetURLObject& rURL);
+
public:
+ static void CreateUniqueURL(const INetURLObject& rBaseURL, INetURLObject& aURL);
+
+ OUString ReadStrFromIni(const OUString& aKeyName);
+
void SetThmExtension(INetURLObject aURL);
void SetSdgExtension(INetURLObject aURL);
void SetSdvExtension(INetURLObject aURL);