summaryrefslogtreecommitdiff
path: root/include/vcl/SwapFile.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/SwapFile.hxx')
-rw-r--r--include/vcl/SwapFile.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/SwapFile.hxx b/include/vcl/SwapFile.hxx
index 55146d608eb8..bcfa0232c62c 100644
--- a/include/vcl/SwapFile.hxx
+++ b/include/vcl/SwapFile.hxx
@@ -43,7 +43,7 @@ public:
utl::UCBContentHelper::Kill(maSwapURL.GetMainURL(INetURLObject::DecodeMechanism::NONE));
}
- INetURLObject getSwapURL() const { return maSwapURL; }
+ const INetURLObject& getSwapURL() const { return maSwapURL; }
OUString getSwapURLString() const
{