summaryrefslogtreecommitdiff
path: root/include/xmloff/xmlimp.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-27 12:39:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-27 15:39:29 +0100
commita967c8f6847cf9cbd6e0f4b9f58f2023e1f92ae5 (patch)
treea00a7d73a3aa5d6d972c8a66e9357637edf62f9b /include/xmloff/xmlimp.hxx
parent33bd6c3e3512bf96376534e116d6f9f60d157be9 (diff)
loplugin:passstuffbyref improved return in xmloff,sfx2
Change-Id: I7161dfca77f944027bd20614616e22d6acfa27cd Reviewed-on: https://gerrit.libreoffice.org/47081 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/xmloff/xmlimp.hxx')
-rw-r--r--include/xmloff/xmlimp.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx
index 483a1a36b660..7cc0d76f5c90 100644
--- a/include/xmloff/xmlimp.hxx
+++ b/include/xmloff/xmlimp.hxx
@@ -416,7 +416,7 @@ public:
OUString ResolveEmbeddedObjectURLFromBase64();
// get source storage we're importing from (if available)
- css::uno::Reference< css::embed::XStorage >
+ css::uno::Reference< css::embed::XStorage > const &
GetSourceStorage();
void AddStyleDisplayName( sal_uInt16 nFamily,
@@ -450,7 +450,7 @@ public:
bool IsTableShapeSupported() const { return mbIsTableShapeSupported; }
- OUString GetODFVersion() const;
+ OUString const & GetODFVersion() const;
bool IsOOoXML() const; // legacy non-ODF format?
/**
@@ -481,7 +481,7 @@ public:
::comphelper::UnoInterfaceToUniqueIdentifierMapper& getInterfaceToIdentifierMapper();
- css::uno::Reference< css::uno::XComponentContext >
+ css::uno::Reference< css::uno::XComponentContext > const &
GetComponentContext() const;
// Convert drawing object positions from OOo file format to OASIS file format and vice versa (#i28749#)