https://bugs.documentfoundation.org/show_bug.cgi?id=94221

--- Comment #4 from Regina Henschel <rb.hensc...@t-online.de> ---
The problem has been introduced with
https://cgit.freedesktop.org/libreoffice/core/commit/?id=13c71694fce1bf0d9c968581e418886052d1c8c7
(Caolán McNamara)
which replaces the old kind dialog with a "glade" dialog. The commit removed
the defines in svx/source/dialog/fontwork.hrc. These has been
42#define TBI_STYLE_OFF           1
43#define TBI_STYLE_ROTATE        2
44#define TBI_STYLE_UPRIGHT       3
45#define TBI_STYLE_SLANTX        4
46#define TBI_STYLE_SLANTY        5
...

In 
svx/source/dialog/fontwork.cxx
it had been used as
case XFT_ROTATE : nId = TBI_STYLE_ROTATE;
and therefore nId had got the value "2".

With the new dialog the enum XFormTextStyle from
/core/include/svx/xenum.hxx 
is directly used.

Now the statement in fontwork.cxx is
case XFT_ROTATE : nId = nStyleRotateId;
and therefore nId gets a wrong value.

The same kind of error happens with the alignment settings and the shadow
direction in that dialog. Please compare the old behavior, which you can still
see in AOO, with the new behavior and you will notice, that the current action
is shifted by one compared to the clicked button. You click "rotate" and get
"upright", or you click "upright" and get "hori", or you click shadow
"vertical" and get "slant".

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to