diff options
Diffstat (limited to 'oox/source/ole/olehelper.cxx')
-rw-r--r-- | oox/source/ole/olehelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/ole/olehelper.cxx b/oox/source/ole/olehelper.cxx index 9e7f3caefb7f..7eae88618ebb 100644 --- a/oox/source/ole/olehelper.cxx +++ b/oox/source/ole/olehelper.cxx @@ -359,8 +359,8 @@ public: sResult = maGUID.copy(1, maGUID.getLength() - 2 ); return sResult; } - OUString getFullName() { return maFullName; } - OUString getTypeName() { return maTypeName; } + const OUString& getFullName() { return maFullName; } + const OUString& getTypeName() { return maTypeName; } bool isValid() { return mpModel != nullptr; } void exportName( const Reference< XOutputStream >& rxOut ); void exportCompObj( const Reference< XOutputStream >& rxOut ); |