Declare newInsets as static in ThemeReader.cpp

XMLWordPrintable

    • b05

      The newInsets function is a helper function used in ThemeReader.cpp only, it should be declared as static. It ensures the function isn't visible outside its translation unit, it may enable additional optimizations, for example such a function can be inlined.

            Assignee:
            Rajat Mahajan (Inactive)
            Reporter:
            Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: