summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2016-01-24 22:36:46 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2016-01-24 23:01:34 +0200
commit12f11aa2ff0fd2ec8ecccf47501b9a6b1636b4ba (patch)
tree039a9147e79f1f264e647f449e44caca4d1a518d /sd/source
parent05e078fd9578a63a302fce616227f3bd1bdbea6a (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
Diffstat (limited to 'sd/source')
-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 6ae5994a3b6c..a4d336644a76 100644
--- a/sd/source/ui/view/drviews7.cxx
+++ b/sd/source/ui/view/drviews7.cxx
@@ -618,6 +618,7 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
// get initial state
TransferableDataHelper aDataHelper( TransferableDataHelper::CreateFromSystemClipboard( GetActiveWindow() ) );
mbPastePossible = ( aDataHelper.GetFormatCount() != 0 );
+ mpCurrentClipboardFormats = GetSupportedClipboardFormats( aDataHelper );
}
else
mbPastePossible = false;