-
-
Notifications
You must be signed in to change notification settings - Fork 651
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stronger typing for SwClient::GetRegisteredIn
- introduce sw::ClientBase<> which knows what kind of SwModify it is a client of * unfortunately, while this is implemented as a statically typed template class, it is only ensured at runtime by an assertion in SwModify::Add() * still I think it is better than not trying to have any typing at all between SwClient and SwModify - thus make SwClient a typedef of sw::ClientBase<SwModify>: a generic client of any kind of SwModify - introducing sw::FrameFormatClient as an SwClient only listing to SwFrameFormats as a first example use in headers and footers. Change-Id: Id2dc6d6acb34854be779c8bc4252c836db91bb6a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179307 Tested-by: Jenkins Reviewed-by: Bjoern Michaelsen <[email protected]>
- Loading branch information
1 parent
4911fc7
commit 687080c
Showing
6 changed files
with
182 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.