vcl/unx/gtk3/gtkinst.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 538e7a8a79dfde8a9e9b2339880f7a7b2df187b2
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue Apr 25 10:46:59 2023 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Tue Apr 25 11:33:31 2023 +0200

    loplugin:unnecessarygetstr
    
    Change-Id: I120b2ef4b8a409dc63495829bec872ebad01c868
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150962
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index 7612c1128af3..0106507edad6 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -19510,7 +19510,7 @@ private:
             nRet += (m_nMRUCount + 1);
         }
 
-        OString aStr(OUStringToOString(rStr, RTL_TEXTENCODING_UTF8).getStr());
+        OString aStr(OUStringToOString(rStr, RTL_TEXTENCODING_UTF8));
         do
         {
             gchar* pStr;

Reply via email to