summaryrefslogtreecommitdiff
path: root/include/svx/galtheme.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/galtheme.hxx')
-rw-r--r--include/svx/galtheme.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/svx/galtheme.hxx b/include/svx/galtheme.hxx
index d1b1461b491b..818d63085c32 100644
--- a/include/svx/galtheme.hxx
+++ b/include/svx/galtheme.hxx
@@ -91,6 +91,7 @@ private:
GalleryObjectList aObjectList;
String m_aDestDir;
+ bool m_bDestDirRelative;
SotStorageRef aSvDrawStorageRef;
Gallery* pParent;
GalleryThemeEntry* pThm;
@@ -140,8 +141,10 @@ public:
SVX_DLLPUBLIC const OUString& GetName() const;
const OUString& GetRealName() const;
+ // used for building gallery themes during compilation:
const String& GetDestDir() const { return m_aDestDir; }
- void SetDestDir(const String& rDestDir) { m_aDestDir = rDestDir; }
+ void SetDestDir(const String& rDestDir, bool bRelative = true)
+ { m_aDestDir = rDestDir; m_bDestDirRelative = bRelative; }
const INetURLObject& GetThmURL() const;
SVX_DLLPUBLIC const INetURLObject& GetSdgURL() const;