diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-10-19 09:52:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-19 22:25:46 +0200 |
commit | 919fb9c999b369f4b3f50336188204716e01190f (patch) | |
tree | d1c21ae8f923df3b57422eb73481c22eef574412 /svx | |
parent | 39bbc2230d7cb9609954d90a9a471c2f9574185c (diff) |
copy and paste error
Change-Id: I54a1453b561306dd98cd2193f1a21b80b8b7e1d4
Reviewed-on: https://gerrit.libreoffice.org/61973
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gallery2/gallery1.cxx | 2 | ||||
-rw-r--r-- | svx/source/gallery2/galtheme.cxx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx index 293b30342a36..c417c94eab56 100644 --- a/svx/source/gallery2/gallery1.cxx +++ b/svx/source/gallery2/gallery1.cxx @@ -656,7 +656,7 @@ bool Gallery::RemoveTheme( const OUString& rThemeName ) INetURLObject aThmURL( pThm->GetThmURL() ); INetURLObject aSdgURL( pThm->GetSdgURL() ); INetURLObject aSdvURL( pThm->GetSdvURL() ); - INetURLObject aStrURL( pThm->GetSdvURL() ); + INetURLObject aStrURL( pThm->GetStrURL() ); ReleaseTheme( pThm, aListener ); diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx index 651fb49cfcc9..5ac71a218e39 100644 --- a/svx/source/gallery2/galtheme.cxx +++ b/svx/source/gallery2/galtheme.cxx @@ -1470,6 +1470,7 @@ void GalleryTheme::ImplSetModified( bool bModified ) const INetURLObject& GalleryTheme::GetThmURL() const { return pThm->GetThmURL(); } const INetURLObject& GalleryTheme::GetSdgURL() const { return pThm->GetSdgURL(); } const INetURLObject& GalleryTheme::GetSdvURL() const { return pThm->GetSdvURL(); } +const INetURLObject& GalleryTheme::GetStrURL() const { return pThm->GetStrURL(); } sal_uInt32 GalleryTheme::GetId() const { return pThm->GetId(); } void GalleryTheme::SetId( sal_uInt32 nNewId, bool bResetThemeName ) { pThm->SetId( nNewId, bResetThemeName ); } bool GalleryTheme::IsThemeNameFromResource() const { return pThm->IsNameFromResource(); } |