summaryrefslogtreecommitdiff
path: root/svx/source/unogallery
diff options
context:
space:
mode:
authorAditya <adityasahu1511@gmail.com>2020-09-01 14:56:51 +0200
committerTomaž Vajngerl <quikee@gmail.com>2020-09-02 09:25:21 +0200
commitc640f745e8023660e89bca3e97308c0d53834b77 (patch)
tree775064a2038ed0696d6b1712e83bccad662fb856 /svx/source/unogallery
parent4824218c896ae2dfec8a5ca21a116dcc8f44ceee (diff)
svx: Refactor GalleryObject member aURL
The member aURL does not belong here and needs to be refactored, the reason is that there can be two type of URLs - XML and binary URL. Change-Id: Ieb4e57a6f144070f95282a7fd02d08bda6d11f3a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101084 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx/source/unogallery')
-rw-r--r--svx/source/unogallery/unogalitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unogallery/unogalitem.cxx b/svx/source/unogallery/unogalitem.cxx
index 0749dfdd2f44..5c04c26cedb9 100644
--- a/svx/source/unogallery/unogalitem.cxx
+++ b/svx/source/unogallery/unogalitem.cxx
@@ -258,7 +258,7 @@ void GalleryItem::_getPropertyValues( const comphelper::PropertyMapEntry** ppEnt
::GalleryTheme* pGalTheme = ( isValid() ? mpTheme->implGetTheme() : nullptr );
if( pGalTheme )
- *pValue <<= implGetObject()->aURL.GetMainURL( INetURLObject::DecodeMechanism::NONE );
+ *pValue <<= implGetObject()->getURL().GetMainURL( INetURLObject::DecodeMechanism::NONE );
}
break;