Files
odfstudio/include/basegfx/utils
Michael Weghorn c5a36fea6c Don't mark enum classes {SVXCORE,BASEGFX}_DLLPUBLIC
Fixes warnings like this one seen in a clang-cl (21.1.8)
build on Windows:

    C:/Users/mwegh/development/git/libreoffice-WORKTREE/include\basegfx/utils/systemdependentdata.hxx(45,16): warning: 'dllimport' attribute only applies to functions, variables, classes, and Objective-C
          interfaces [-Wignored-attributes]
       45 |     enum class BASEGFX_DLLPUBLIC SDD_Type : sal_uInt16 {
          |                ^
    C:/Users/mwegh/development/git/libreoffice-WORKTREE/include\basegfx/basegfxdllapi.h(33,27):: note: expanded from macro 'BASEGFX_DLLPUBLIC'
       33 | #define BASEGFX_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
          |                           ^
    C:/Users/mwegh/development/git/libreoffice-WORKTREE/include\sal/types.h(210,47): note: expanded from macro 'SAL_DLLPUBLIC_IMPORT'
      210 | #   define SAL_DLLPUBLIC_IMPORT    __declspec(dllimport)
          |                                               ^

and

    In file included from C:/Users/mwegh/development/git/libreoffice-WORKTREE/oox/source/drawingml/diagram/datamodelcontext.cxx:20:
    In file included from C:/Users/mwegh/development/git/libreoffice-WORKTREE/oox/source/drawingml/diagram\datamodelcontext.hxx:24:
    In file included from C:/Users/mwegh/development/git/libreoffice-WORKTREE/oox/source/drawingml/diagram\datamodel_oox.hxx:29:
    In file included from C:/Users/mwegh/development/git/libreoffice-WORKTREE/include\svx/diagram/datamodel_svx.hxx:30:
    C:/Users/mwegh/development/git/libreoffice-WORKTREE/include\svx/diagram/DomMapFlag.hxx(28,12): warning: 'dllimport' attribute only applies to functions, variables, classes, and Objective-C interfaces
          [-Wignored-attributes]
       28 | enum class SVXCORE_DLLPUBLIC DomMapFlag : sal_uInt16
          |            ^
    C:/Users/mwegh/development/git/libreoffice-WORKTREE/include\svx/svxdllapi.h(35,27): note: expanded from macro 'SVXCORE_DLLPUBLIC'
       35 | #define SVXCORE_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
          |                           ^
    C:/Users/mwegh/development/git/libreoffice-WORKTREE/include\sal/types.h(210,47): note: expanded from macro 'SAL_DLLPUBLIC_IMPORT'
      210 | #   define SAL_DLLPUB[build CXX] oox/source/drawingml/diagram/layoutatomvisitorbase.cxx
    LIC_IMPORT    __declspec(dllimport)
          |

Change-Id: Id472eea3ccb9270e87cfce4e5e6761c566fdbdc0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202144
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-03-19 17:39:52 +01:00
..
2026-03-04 19:22:19 +01:00
…
…