Not a direct answer to your question, but a possible bypass which available to all programs on the system.
However: There is a new bug 97370 on bugzilla - “System=level definition of Ctrl+Alt+letter key combination on Polish (PLP) keyboard ignored by Writer” This appears to be your problem. If you have some further information that would be very useful in helping fix your problem.
If you are using a standard keyboard, the alr gr (to the right of the space key) give access to many accented characters providing it has been defined in your operating system. On my system I frequently need to switch between English, American, French, Swiss/French and Swiss/German and use accented characters. For example, to type áéßçúû€ directly using altgr with aescu^4 etc.
The keyboard layout will display the keys available. You do not normally need macros just to type accented characters.The difference is that alt gr is keyboard specific and supported by the operating system. ctrl + alt is leftover from the time before the alt gr key arrived on the keyboard and is software application dependant. My advice is to migrate to alt gr if it is possible on your system…Peter