Bug #81916#: CreateFromClipboard with Window pointer

This commit is contained in:
jp
2001-05-22 15:41:30 +00:00
parent 719e226ecd
commit ba99b060f4
3 changed files with 14 additions and 10 deletions

View File

@@ -2,9 +2,9 @@
*
* $RCSfile: srcview.cxx,v $
*
* $Revision: 1.14 $
* $Revision: 1.15 $
*
* last change: $Author: os $ $Date: 2001-05-15 10:14:56 $
* last change: $Author: jp $ $Date: 2001-05-22 16:41:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -805,7 +805,8 @@ void SwSrcView::GetState(SfxItemSet& rSet)
if( bDisable )
{
TransferableDataHelper aDataHelper(
TransferableDataHelper::CreateFromSystemClipboard() );
TransferableDataHelper::CreateFromSystemClipboard(
&aEditWin) );
bDisable = !aDataHelper.GetTransferable().is() ||
0 == aDataHelper.GetFormatCount();
}