summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/View.hxx
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-02-19 15:05:32 +0530
committerPranav Kant <pranavk@collabora.co.uk>2017-02-20 13:39:41 +0530
commitb46f3cd56fc5bcd419d79d1f615c3e1921ec5bb0 (patch)
tree890e0cc5773fb55409db92704c0fefa34ecfa7b4 /sd/source/ui/inc/View.hxx
parent5382fdaf2d651a393a1caf2e09351c77cb84c753 (diff)
sd: Per view author names
Change-Id: Ie7146ec289263eb3240a4b9270c4a88837ebd2ad
Diffstat (limited to 'sd/source/ui/inc/View.hxx')
-rw-r--r--sd/source/ui/inc/View.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/inc/View.hxx b/sd/source/ui/inc/View.hxx
index e19b7b3a302e..f6f84c0fea22 100644
--- a/sd/source/ui/inc/View.hxx
+++ b/sd/source/ui/inc/View.hxx
@@ -227,6 +227,8 @@ public:
SdrObject* GetEmptyPresentationObject( PresObjKind eKind );
SdPage* GetPage();
SdrObject* GetSelectedSingleObject(SdPage* pPage);
+ void SetAuthor(const OUString& rAuthor) { m_sAuthor = rAuthor; }
+ const OUString& GetAuthor() { return m_sAuthor; }
protected:
DECL_LINK( OnParagraphInsertedHdl, ::Outliner::ParagraphHdlParam, void );
@@ -261,6 +263,7 @@ protected:
private:
::std::unique_ptr<ViewClipboard> mpClipboard;
OutlinerMasterViewFilter maMasterViewFilter;
+ OUString m_sAuthor;
};
SdDrawDocument& View::GetDoc() const