From f3dabe7507b578484805255eae31d8a1358e605c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 8 Apr 2016 15:41:15 +0200 Subject: make GetGlobalUNOConstant and GetUNOConstant take an OUString and eliminate converting backwards and forwards between sal_Char*/OString/OUString Change-Id: Iaf52ce93f0e732ab338f75d21b95ab4b020a4d6f Reviewed-on: https://gerrit.libreoffice.org/23919 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/basic/sbstar.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/basic/sbstar.hxx') diff --git a/include/basic/sbstar.hxx b/include/basic/sbstar.hxx index 670e597b4ecc..a0e23453ba8a 100644 --- a/include/basic/sbstar.hxx +++ b/include/basic/sbstar.hxx @@ -155,7 +155,7 @@ public: SbxObjectRef getRTL() { return pRtl; } bool IsDocBasic() { return bDocBasic; } SbxVariable* VBAFind( const OUString& rName, SbxClassType t ); - bool GetUNOConstant( const sal_Char* _pAsciiName, css::uno::Any& aOut ); + bool GetUNOConstant( const OUString& rName, css::uno::Any& aOut ); void QuitAndExitApplication(); bool IsQuitApplication() { return bQuit; }; -- cgit