summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/doctempl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-22 12:25:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-22 18:03:27 +0100
commite79e8117dcc7475d8d90afeaaac9eb7050ff244e (patch)
treebba5f505c33796799aef9d19464132b22cccaa5d /sfx2/source/doc/doctempl.cxx
parentbacd06e9270ab64fa2c8243181c19c977d2bb649 (diff)
loplugin:unusedfields in sfx2
Change-Id: I92b25efa78e156c89a0532aec632a31ec2029e05 Reviewed-on: https://gerrit.libreoffice.org/68202 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/doc/doctempl.cxx')
-rw-r--r--sfx2/source/doc/doctempl.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index 5dcbd550ec9f..139d4aaa4c41 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -148,7 +148,6 @@ class RegionData_Impl
std::vector<std::unique_ptr<DocTempl_EntryData_Impl>> maEntries;
OUString maTitle;
OUString maOwnURL;
- OUString maTargetURL;
private:
size_t GetEntryPos( const OUString& rTitle,
@@ -159,7 +158,6 @@ public:
RegionData_Impl( const SfxDocTemplate_Impl* pParent,
const OUString& rTitle );
- void SetTargetURL( const OUString& rURL ) { maTargetURL = rURL; }
void SetHierarchyURL( const OUString& rURL) { maOwnURL = rURL; }
DocTempl_EntryData_Impl* GetEntry( size_t nIndex ) const;
@@ -1069,7 +1067,6 @@ bool SfxDocumentTemplates::SetName( const OUString& rName, sal_uInt16 nRegion, s
if ( xTemplates->renameGroup( pRegion->GetTitle(), rName ) )
{
pRegion->SetTitle( rName );
- pRegion->SetTargetURL( "" );
pRegion->SetHierarchyURL( "" );
return true;
}