diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2024-04-18 14:54:52 +0900 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-06-10 08:51:58 +0200 |
commit | 83b6adcd0daf935dcf9d52b4d1b791e79e274dcf (patch) | |
tree | f2d8172c60195b4e3aaadaeb869f93d01ecb4d28 /svx | |
parent | 65fa3d18ce28c609ead1ac81c93d0fbb38ce9658 (diff) |
annot: added Annotation impl. to svx, moved some thing from sd
This is an attempt to move the sd::Annotation to the common code
in the svx module. This will need to be done in multiple steps so
the first one is to introduce sdr::annotation::Annotation class in
svx module, which is derived by sd::Annotation. Non-problematic
functionality and members are also moved to the svx Annotation.
Change-Id: Id20466b3780514ab63a9df8923b879098870ebb6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166492
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit a938ed2be520426ce7949c4fd30a6e7e31d7c279)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168419
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/Library_svxcore.mk | 1 | ||||
-rw-r--r-- | svx/source/annotation/Annotation.cxx | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/svx/Library_svxcore.mk b/svx/Library_svxcore.mk index 28ed214c063f..e4630a1e0d56 100644 --- a/svx/Library_svxcore.mk +++ b/svx/Library_svxcore.mk @@ -105,6 +105,7 @@ $(eval $(call gb_Library_use_system_darwin_frameworks,svxcore,\ endif $(eval $(call gb_Library_add_exception_objects,svxcore,\ + svx/source/annotation/Annotation \ svx/source/core/extedit \ svx/source/core/graphichelper \ svx/source/customshapes/EnhancedCustomShape2d \ diff --git a/svx/source/annotation/Annotation.cxx b/svx/source/annotation/Annotation.cxx new file mode 100644 index 000000000000..df6e2175cef6 --- /dev/null +++ b/svx/source/annotation/Annotation.cxx @@ -0,0 +1,18 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#include <svx/annotation/Annotation.hxx> + +namespace sdr::annotation +{ +sal_uInt32 Annotation::m_nLastId = 1; + +} // namespace sdr::annotation + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |