[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    API inconsistency in libs/odf/KoOdfStylesReader.h
From:       Florian <florianmerz () gmx ! de>
Date:       2008-09-13 12:17:40
Message-ID: 200809131417.40945.florianmerz () gmx ! de
[Download RAW message or body]

Hi everyone,

in libs/odf/KoOdfStylesReader.h there are quite a lot of methods that return a 
const KoXmlElement*, for example findContentAutoStyle(), defaultStyle() etc., 
but there are two methods that return a const KoXmlElement&, namely the 
methods officeStyle() and layerSet(). Is there a reason for this difference?

I can write a patch to make this more consistent, if this is desirable.

Greetings,
 Florian
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic