diff options
author | Niklas Nebel <nn@openoffice.org> | 2001-02-14 18:21:33 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2001-02-14 18:21:33 +0000 |
commit | e18e403d88fb10f6eb33be3316c755e87158a74f (patch) | |
tree | 8be0ae9feb8c0a28c67504e72c88e32cf5586a99 /sc/source/ui/drawfunc/drtxtob2.cxx | |
parent | d15fe33125f6e9103195e016b28e846d813a9c69 (diff) |
use GetOwnClipboard instead of ScGlobal functions
Diffstat (limited to 'sc/source/ui/drawfunc/drtxtob2.cxx')
-rw-r--r-- | sc/source/ui/drawfunc/drtxtob2.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/source/ui/drawfunc/drtxtob2.cxx b/sc/source/ui/drawfunc/drtxtob2.cxx index 44f148e47bfd..b73510fbb179 100644 --- a/sc/source/ui/drawfunc/drtxtob2.cxx +++ b/sc/source/ui/drawfunc/drtxtob2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: drtxtob2.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: nn $ $Date: 2000-09-22 18:51:21 $ + * last change: $Author: nn $ $Date: 2001-02-14 19:21:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -361,6 +361,8 @@ #include "tabvwsh.hxx" #include "impex.hxx" #include "docsh.hxx" +#include "transobj.hxx" +#include "drwtrans.hxx" //------------------------------------------------------------------------ @@ -419,7 +421,7 @@ void ScDrawTextObjectBar::GetGlobalClipState( SfxItemSet& rSet ) // SID_PASTE // FID_PASTE_CONTENTS - if ( ScGlobal::IsClipCaptured() || ScGlobal::IsClipDraw() ) + if ( ScTransferObj::GetOwnClipboard() || ScDrawTransferObj::GetOwnClipboard() ) bDisable = FALSE; else { |