summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl
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/unoidl
parent5382fdaf2d651a393a1caf2e09351c77cb84c753 (diff)
sd: Per view author names
Change-Id: Ie7146ec289263eb3240a4b9270c4a88837ebd2ad
Diffstat (limited to 'sd/source/ui/unoidl')
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index d529736cd159..6692e462aba9 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -2373,6 +2373,8 @@ void SdXImpressDocument::initializeForTiledRendering(const css::uno::Sequence<cs
const beans::PropertyValue& rValue = rArguments[i];
if (rValue.Name == ".uno:ShowBorderShadow" && rValue.Value.has<bool>())
pDrawView->SetPageShadowVisible(rValue.Value.get<bool>());
+ else if (rValue.Name == ".uno:Author" && rValue.Value.has<OUString>())
+ pDrawView->SetAuthor(rValue.Value.get<OUString>());
}
// Disable map mode, so that it's possible to send mouse event coordinates
// in logic units.