summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-19 09:52:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-19 22:25:46 +0200
commit919fb9c999b369f4b3f50336188204716e01190f (patch)
treed1c21ae8f923df3b57422eb73481c22eef574412
parentnew throws on failure (diff)
downloadcore-919fb9c999b369f4b3f50336188204716e01190f.tar.gz
core-919fb9c999b369f4b3f50336188204716e01190f.zip
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>
-rw-r--r--include/svx/galtheme.hxx1
-rw-r--r--svx/source/gallery2/gallery1.cxx2
-rw-r--r--svx/source/gallery2/galtheme.cxx1
3 files changed, 3 insertions, 1 deletions
diff --git a/include/svx/galtheme.hxx b/include/svx/galtheme.hxx
index 231ad1656efc..be0ef9ec2be9 100644
--- a/include/svx/galtheme.hxx
+++ b/include/svx/galtheme.hxx
@@ -136,6 +136,7 @@ public:
SAL_DLLPRIVATE const INetURLObject& GetThmURL() const;
const INetURLObject& GetSdgURL() const;
SAL_DLLPRIVATE const INetURLObject& GetSdvURL() const;
+ SAL_DLLPRIVATE const INetURLObject& GetStrURL() const;
sal_uInt32 GetId() const;
SAL_DLLPRIVATE void SetId( sal_uInt32 nNewId, bool bResetThemeName );
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(); }