diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-03-15 16:19:53 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-03-15 20:06:22 +0100 |
commit | 8a7b46c0372eb2445c0bd35c1ebe4a7c96115e5c (patch) | |
tree | 3fd83a115f4a6e9b7056e4980df4101f9d91de7d /sc/source/ui/inc/viewfunc.hxx | |
parent | 058d4f77bd74690cd66504b681cbede6af82de6b (diff) |
sc_uicalc: use UNO commands for copy, cut or paste everywhere
It's fine to use them since
043c67e0f7358753a2007b7c2bb6cc68aeea7ecb
< dummy clipboard for unit tests >
While at it, remove a couple of obsolete FIXME comments
Partially revert 9fd193168fe092bf15edbc81b8b1a15ca6d7c032
< tdf#118207: tdf#118189: sc: Move UItest to CppUnitTest >
since CutToClip is no longer used
Change-Id: I73959fbc810dc5e82b76862338814e720dc97d89
Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112533
Tested-by: Jenkins
Diffstat (limited to 'sc/source/ui/inc/viewfunc.hxx')
-rw-r--r-- | sc/source/ui/inc/viewfunc.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/viewfunc.hxx b/sc/source/ui/inc/viewfunc.hxx index 9431c9aa16da..7515c9e93858 100644 --- a/sc/source/ui/inc/viewfunc.hxx +++ b/sc/source/ui/inc/viewfunc.hxx @@ -107,7 +107,7 @@ public: void EnterDataAtCursor( const OUString& rString ); //! Not used? - SC_DLLPUBLIC void CutToClip(ScDocument* pClipDoc = nullptr); + SC_DLLPUBLIC void CutToClip(); SC_DLLPUBLIC bool CopyToClip( ScDocument* pClipDoc, bool bCut, bool bApi = false, bool bIncludeObjects = false, bool bStopEdit = true ); SC_DLLPUBLIC bool CopyToClip( ScDocument* pClipDoc, const ScRangeList& rRange, bool bCut, |