diff options
Diffstat (limited to 'connectivity/source/inc/calc/CConnection.hxx')
-rw-r--r-- | connectivity/source/inc/calc/CConnection.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/inc/calc/CConnection.hxx b/connectivity/source/inc/calc/CConnection.hxx index 854a9f74481c..a0c99139e51a 100644 --- a/connectivity/source/inc/calc/CConnection.hxx +++ b/connectivity/source/inc/calc/CConnection.hxx @@ -87,7 +87,7 @@ namespace connectivity m_xDoc.clear(); m_pConnection->releaseDoc(); } - ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XSpreadsheetDocument> getDoc() const { return m_xDoc; } + const ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XSpreadsheetDocument>& getDoc() const { return m_xDoc; } }; }; } |