Bug 509529 - calligra-25.08.1: five performance problems
Summary: calligra-25.08.1: five performance problems
Status: REPORTED
Alias: None
Product: calligracommon
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Calligra Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-15 18:05 UTC by dcb314
Modified: 2025-09-15 18:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dcb314 2025-09-15 18:05:38 UTC
Static analyser cppcheck says:

calligra-25.08.1/filters/words/msword-odf/wv2/src/textconverter.h:72:17: performance: Function 'fromCode()' should return member 'm_fromCode' by const reference. [returnByReference]
calligra-25.08.1/filters/words/msword-odf/wv2/src/graphics.cpp:246:44: performance: Function parameter 'blipType' should be passed by const reference. [passedByValue]
calligra-25.08.1/filters/libmsooxml/ooxml_pole.cpp:397:54: performance: Function parameter 'chain' should be passed by const reference. [passedByValue]
calligra-25.08.1/filters/libmso/pole.cpp:467:54: performance: Function parameter 'chain' should be passed by const reference. [passedByValue]
calligra-25.08.1/filters/words/msword-odf/wv2/src/textconverter.h:66:17: performance: Function 'toCode()' should return member 'm_toCode' by const reference. [returnByReference]

Some of these might be worth fixing.