diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-06 22:34:16 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-07 12:13:21 +0200 |
commit | 1ef671c5a2f4b629ba6e280c5036ba781cc8787c (patch) | |
tree | 110ba57a233db5e37cd0356749d1daef0e1065a3 /vcl/inc/font | |
parent | 7e201916169aca254c0824fb71ed83ca69f4adce (diff) |
Delete copy ctors/assignments for DLLEXPORT class
Same as ee405fb2ef36337851801f1bd34411c606d55988 for
GraphicHelper, but this time for PhysicalFontFamily.
Change-Id: I7a9d6f0cdee29b754244ab6260f78bb7d8deb488
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123195
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl/inc/font')
-rw-r--r-- | vcl/inc/font/PhysicalFontFamily.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/inc/font/PhysicalFontFamily.hxx b/vcl/inc/font/PhysicalFontFamily.hxx index a3c4d0b90a31..7bbcf566c395 100644 --- a/vcl/inc/font/PhysicalFontFamily.hxx +++ b/vcl/inc/font/PhysicalFontFamily.hxx @@ -66,6 +66,13 @@ public: PhysicalFontFamily(const OUString& rSearchName); ~PhysicalFontFamily(); + // Avoid implicitly defined copy constructors/assignments for the DLLPUBLIC class (they may + // require forward-declared classes used internally to be defined in places using this) + PhysicalFontFamily(const PhysicalFontFamily&) = delete; + PhysicalFontFamily(PhysicalFontFamily&&) = delete; + PhysicalFontFamily& operator=(const PhysicalFontFamily&) = delete; + PhysicalFontFamily& operator=(PhysicalFontFamily&&) = delete; + const OUString& GetFamilyName() const { return maFamilyName; } const OUString& GetSearchName() const { return maSearchName; } const OUString& GetAliasNames() const { return maMapNames; } |