diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-12 15:00:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-12 20:21:22 +0200 |
commit | 6e21f5a6b71790b3a36f67c3915b07a5f5717bcf (patch) | |
tree | 9d0c08cf449fa574dcce1b23af30a71dac9c4376 /sc/source/core/tool | |
parent | 164ec9281aa57d52763e9622adb6e2e37d14bff8 (diff) |
loplugin:unusedmethods
Change-Id: Ifd3a1ccef68ebc4cd4e7785357e6a476f6669eb8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123456
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core/tool')
-rw-r--r-- | sc/source/core/tool/editutil.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sc/source/core/tool/editutil.cxx b/sc/source/core/tool/editutil.cxx index 5262fa812e52..03458d9f734f 100644 --- a/sc/source/core/tool/editutil.cxx +++ b/sc/source/core/tool/editutil.cxx @@ -613,16 +613,6 @@ void ScEditEngineDefaulter::SetTextNewDefaults( const EditTextObject& rTextObjec SetUpdateLayout( true ); } -void ScEditEngineDefaulter::SetTextNewDefaults( const EditTextObject& rTextObject, - std::unique_ptr<SfxItemSet> pSet ) -{ - bool bUpdateMode = SetUpdateLayout( false ); - SetText( rTextObject ); - SetDefaults( std::move(pSet) ); - if ( bUpdateMode ) - SetUpdateLayout( true ); -} - void ScEditEngineDefaulter::SetTextCurrentDefaults( const OUString& rText ) { bool bUpdateMode = SetUpdateLayout( false ); @@ -643,16 +633,6 @@ void ScEditEngineDefaulter::SetTextNewDefaults( const OUString& rText, SetUpdateLayout( true ); } -void ScEditEngineDefaulter::SetTextNewDefaults( const OUString& rText, - std::unique_ptr<SfxItemSet> pSet ) -{ - bool bUpdateMode = SetUpdateLayout( false ); - SetText( rText ); - SetDefaults( std::move(pSet) ); - if ( bUpdateMode ) - SetUpdateLayout( true ); -} - void ScEditEngineDefaulter::RepeatDefaults() { if ( pDefaults ) |