summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-03-10 08:58:00 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-03-10 14:31:54 +0100
commite75f6e549eb825c310d16d11babf0fba5ee7fd7a (patch)
tree288931d9af316722f730b9909e2d9cda37da2625 /sd
parentb84f5a0efa4a24a3e8074bc27fb21529b9c4d3a6 (diff)
sfx2: make SfxClassificationHelper not require a full doc shell
So that input filters can build their own doc properties and can also use CheckPaste() without having the full original document around. Change-Id: I0b8a63702f73ce04e8728a360b56ab9d1ca67af1
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/drviews2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index ab17cd67f553..e7d431c926d3 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -1153,7 +1153,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
{
if (SfxObjectShell* pObjectShell = pViewFrame->GetObjectShell())
{
- SfxClassificationHelper aHelper(*pObjectShell);
+ SfxClassificationHelper aHelper(pObjectShell->getDocProperties());
aHelper.SetBACName(rName);
}
}