diff options
-rwxr-xr-x | compilerplugins/clang/unusedenumconstants.py | 1 | ||||
-rw-r--r-- | vcl/inc/CommonSalLayout.hxx | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/compilerplugins/clang/unusedenumconstants.py b/compilerplugins/clang/unusedenumconstants.py index 9b4a821063d5..df7c885107bc 100755 --- a/compilerplugins/clang/unusedenumconstants.py +++ b/compilerplugins/clang/unusedenumconstants.py @@ -105,6 +105,7 @@ for d in definitionSet: "vcl/source/filter/jpeg/transupp.h", "include/vcl/bitmapex.hxx", # TransparentType "vcl/inc/sft.hxx", # CompositeFlags, WidthClass, WeightClass + "vcl/inc/CommonSalLayout.hxx", # VerticalOrientation # unit test code "cppu/source/uno/check.cxx", # general weird nonsense going on diff --git a/vcl/inc/CommonSalLayout.hxx b/vcl/inc/CommonSalLayout.hxx index 052104850414..c9af54519390 100644 --- a/vcl/inc/CommonSalLayout.hxx +++ b/vcl/inc/CommonSalLayout.hxx @@ -90,8 +90,10 @@ public: bool IsKashidaPosValid(int nCharPos) const final override; }; +// these must match the values in vcl/source/gdi/VerticalOrientationData.cxx enum class VerticalOrientation { Upright = 0, + Rotated = 1, TransformedUpright = 2, TransformedRotated = 3 }; |