diff options
Diffstat (limited to 'vcl/source/uitest/logger.cxx')
-rw-r--r-- | vcl/source/uitest/logger.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/source/uitest/logger.cxx b/vcl/source/uitest/logger.cxx index 0193bf76074e..13eea80c71e1 100644 --- a/vcl/source/uitest/logger.cxx +++ b/vcl/source/uitest/logger.cxx @@ -345,7 +345,8 @@ OUString StringMapToOUString(const std::map<OUString, OUString>& rParameters) return aParameterString.makeStringAndClear(); } -OUString GetValueInMapWithIndex(const std::map<OUString, OUString>& rParameters, sal_Int32 index) +const OUString& GetValueInMapWithIndex(const std::map<OUString, OUString>& rParameters, + sal_Int32 index) { sal_Int32 j = 0; @@ -359,7 +360,8 @@ OUString GetValueInMapWithIndex(const std::map<OUString, OUString>& rParameters, return itr->second; } -OUString GetKeyInMapWithIndex(const std::map<OUString, OUString>& rParameters, sal_Int32 index) +const OUString& GetKeyInMapWithIndex(const std::map<OUString, OUString>& rParameters, + sal_Int32 index) { sal_Int32 j = 0; |