summaryrefslogtreecommitdiff
path: root/sd/source/filter/html
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/html')
-rw-r--r--sd/source/filter/html/buttonset.cxx4
-rw-r--r--sd/source/filter/html/htmlex.cxx2
-rw-r--r--sd/source/filter/html/htmlex.hxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/filter/html/buttonset.cxx b/sd/source/filter/html/buttonset.cxx
index 7828f8d63633..1eed38115361 100644
--- a/sd/source/filter/html/buttonset.cxx
+++ b/sd/source/filter/html/buttonset.cxx
@@ -145,7 +145,7 @@ public:
void scanForButtonSets( const OUString& rPath );
- Reference< XGraphicProvider > getGraphicProvider();
+ Reference< XGraphicProvider > const & getGraphicProvider();
std::vector< std::shared_ptr< ButtonsImpl > > maButtons;
Reference< XGraphicProvider > mxGraphicProvider;
@@ -250,7 +250,7 @@ bool ButtonSetImpl::exportButton( int nSet, const OUString& rPath, const OUStrin
return false;
}
-Reference< XGraphicProvider > ButtonSetImpl::getGraphicProvider()
+Reference< XGraphicProvider > const & ButtonSetImpl::getGraphicProvider()
{
if( !mxGraphicProvider.is() )
{
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index 383f53392577..c5f39da0be1e 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -2198,7 +2198,7 @@ void HtmlExport::CreateFileNames()
}
}
-OUString HtmlExport::getDocumentTitle()
+OUString const & HtmlExport::getDocumentTitle()
{
// check for a title object in this page, if its the first
// title it becomes this documents title for the content
diff --git a/sd/source/filter/html/htmlex.hxx b/sd/source/filter/html/htmlex.hxx
index ae681a249246..3344118ab624 100644
--- a/sd/source/filter/html/htmlex.hxx
+++ b/sd/source/filter/html/htmlex.hxx
@@ -167,7 +167,7 @@ class HtmlExport
bool checkForExistingFiles();
bool checkFileExists( css::uno::Reference< css::ucb::XSimpleFileAccess3 >& xFileAccess, OUString const & aFileName );
- OUString getDocumentTitle();
+ OUString const & getDocumentTitle();
bool SavePresentation();
static OUString CreateLink( const OUString& aLink, const OUString& aText,