icon-themes/sukapura/sfx2/res/menu.png      |binary
 icon-themes/sukapura_svg/sfx2/res/menu.svg  |    2 +-
 stoc/source/uriproc/UriReferenceFactory.cxx |   18 +++++++++---------
 3 files changed, 10 insertions(+), 10 deletions(-)

New commits:
commit 99f89d40f7ca7e26f683a75f62a2cb7fe30459ad
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Tue Oct 11 10:36:26 2022 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Tue Oct 11 15:49:19 2022 +0200

    revert pessimization
    
    revert part of
        commit 113d9bba057b2fd634fcfcebb83a4d92cf41d69f
        Author: Noel Grandin <noel.gran...@collabora.co.uk>
        Date:   Fri Sep 30 09:06:51 2022 +0200
        use more string_view in stoc
    
    <sberg> This is another case of a potential pessimization, for no
    gain: The passed in schemeSpecificPart will always be an
    OUString, and path may be a view of its full content
    (if there is neither authority nor query part).
    
    Change-Id: Ibc60fb1f5f351668ef924e25ee3aeb1d80f6f710
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141205
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/stoc/source/uriproc/UriReferenceFactory.cxx 
b/stoc/source/uriproc/UriReferenceFactory.cxx
index aa6da45197de..ed739cdc32cf 100644
--- a/stoc/source/uriproc/UriReferenceFactory.cxx
+++ b/stoc/source/uriproc/UriReferenceFactory.cxx
@@ -167,10 +167,10 @@ private:
 };
 
 css::uno::Reference< css::uri::XUriReference > parseGeneric(
-    OUString const & scheme, std::u16string_view schemeSpecificPart)
+    OUString const & scheme, OUString const & schemeSpecificPart)
 {
-    size_t len = schemeSpecificPart.size();
-    size_t i = 0;
+    sal_Int32 len = schemeSpecificPart.getLength();
+    sal_Int32 i = 0;
     bool hasAuthority = false;
     OUString authority;
     if (len - i >= 2 && schemeSpecificPart[i] == '/'
@@ -183,22 +183,22 @@ css::uno::Reference< css::uri::XUriReference > 
parseGeneric(
             ++i;
         }
         hasAuthority = true;
-        authority = schemeSpecificPart.substr(n, i - n);
+        authority = schemeSpecificPart.copy(n, i - n);
     }
     sal_Int32 n = i;
-    i = schemeSpecificPart.find('?', i);
-    if (i == std::u16string_view::npos) {
+    i = schemeSpecificPart.indexOf('?', i);
+    if (i == -1) {
         i = len;
     }
-    std::u16string_view path = schemeSpecificPart.substr(n, i - n);
+    OUString path = schemeSpecificPart.copy(n, i - n);
     bool hasQuery = false;
     OUString query;
     if (i != len) {
         hasQuery = true;
-        query = schemeSpecificPart.substr(i + 1);
+        query = schemeSpecificPart.copy(i + 1);
     }
     return new UriReference(
-        scheme, hasAuthority, authority, OUString(path), hasQuery, query);
+        scheme, hasAuthority, authority, path, hasQuery, query);
 }
 
 struct Segment {
commit 4b4160cb1aab3ab1ff8eec6b2736bf459afed408
Author:     Rizal Muttaqin <riz_17_...@yahoo.co.id>
AuthorDate: Tue Oct 11 16:07:31 2022 +0700
Commit:     Rizal Muttaqin <riz...@libreoffice.org>
CommitDate: Tue Oct 11 15:49:02 2022 +0200

    tdf#151016 Fix paint hamburger icons in Start Center (Sukapura)
    
    Change-Id: Ibe49b50f23a560ad2635d835d4e204a5efd06439
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141209
    Tested-by: Jenkins
    Reviewed-by: Rizal Muttaqin <riz...@libreoffice.org>

diff --git a/icon-themes/sukapura/sfx2/res/menu.png 
b/icon-themes/sukapura/sfx2/res/menu.png
index 5157a13b841f..f6601ccb68da 100644
Binary files a/icon-themes/sukapura/sfx2/res/menu.png and 
b/icon-themes/sukapura/sfx2/res/menu.png differ
diff --git a/icon-themes/sukapura_svg/sfx2/res/menu.svg 
b/icon-themes/sukapura_svg/sfx2/res/menu.svg
index 84d620a84095..85cac97ab5e5 100644
--- a/icon-themes/sukapura_svg/sfx2/res/menu.svg
+++ b/icon-themes/sukapura_svg/sfx2/res/menu.svg
@@ -1 +1 @@
-<svg height="13" viewBox="0 0 14 13" width="14" 
xmlns="http://www.w3.org/2000/svg";>/&gt;<g fill="#98989d"><path d="m2 
3h10v1h-10z"/><path d="m2 9h10v1h-10z"/><path d="m2 6h10v1h-10z"/></g></svg>
\ No newline at end of file
+<svg height="13" viewBox="0 0 14 13" width="14" 
xmlns="http://www.w3.org/2000/svg";>/&amp;gt;<g fill="#5f5f5f"><path d="m2 
3h10v1h-10z"/><path d="m2 9h10v1h-10z"/><path d="m2 6h10v1h-10z"/></g></svg>
\ No newline at end of file

Reply via email to