summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2016-01-24 22:36:46 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-02-02 09:00:24 +0000
commit0086461be280ee1d77d7811c6d930812f6adb33a (patch)
tree532ca9fef03711ec4f4f5e1cd2be2ab0ec2697a6 /sd
parentb9d4e76f27b66037c2e2ac4c3738b975e9e773aa (diff)
tdf#86609 sd: Fill Paste Special on initial update too
Regression of: commit d51d59296d65e8ace8f2d898e757267d25f871b2 Date: Tue Nov 8 08:06:05 2005 +0000 INTEGRATION: CWS impress73 (1.59.32); FILE MERGED Change-Id: I1a10957d36c38d559d69224ec744dbd8d446b8c2 (cherry picked from commit 12f11aa2ff0fd2ec8ecccf47501b9a6b1636b4ba) Reviewed-on: https://gerrit.libreoffice.org/21772 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/drviews7.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviews7.cxx b/sd/source/ui/view/drviews7.cxx
index 1740fa69ab16..c916960de1ec 100644
--- a/sd/source/ui/view/drviews7.cxx
+++ b/sd/source/ui/view/drviews7.cxx
@@ -619,6 +619,7 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
// get initial state
TransferableDataHelper aDataHelper( TransferableDataHelper::CreateFromSystemClipboard( GetActiveWindow() ) );
mbPastePossible = ( aDataHelper.GetFormatCount() != 0 );
+ mpCurrentClipboardFormats = GetSupportedClipboardFormats( aDataHelper );
}
else
mbPastePossible = false;