Review Request: Remove some unnecessary classes in libs/flake

Boudewijn Rempt boud at valdyas.org
Mon Mar 26 18:09:44 BST 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104415/#review11880
-----------------------------------------------------------

Ship it!


Yeah, looks like something that overdesigned in 2007 and never really used. Since KoLineBorder is the only class to inherit KoShapeStrokeModel -- maybe we can fold that together and rename it into -- well, KoShapeStroke or something?

- Boudewijn Rempt


On March 26, 2012, 4:22 p.m., Inge Wallin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104415/
> -----------------------------------------------------------
> 
> (Updated March 26, 2012, 4:22 p.m.)
> 
> 
> Review request for Calligra.
> 
> 
> Description
> -------
> 
> The three classes KoLineBorderFactory, KoShapeBorderFactoryBase and KoShapeBorderRegistry are not used anywhere at all, which can be seen by the minimal diff.
> 
> I suggest to just remove them.  The factory does nothing else than 'new KoLineBorder;', and the factory base is not inherited anywhere else. Noteworthy is that there are no similar classes for the other common shape attributes Fill and Shadow.
> 
> 
> Diffs
> -----
> 
>   libs/flake/CMakeLists.txt 28e778f 
> 
> Diff: http://git.reviewboard.kde.org/r/104415/diff/
> 
> 
> Testing
> -------
> 
> Not much testing for this one except building and installing.
> 
> 
> Thanks,
> 
> Inge Wallin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20120326/c5a92167/attachment.htm>


More information about the calligra-devel mailing list