summaryrefslogtreecommitdiffstats
path: root/include/xmloff/xmlnumi.hxx
Commit message (Collapse)AuthorAgeFilesLines
* xmloff: remove unused parameter of SvxXMLListStyleContext::FillUnoNumRule()Michael Stahl2014-11-081-4/+3
| | | | Change-Id: I359f37ce778d55e6868bd1c78c0ff0d452f36088
* sw: store Outline Numbering as ODF fragment instead of SfxPoolItemsMichael Stahl2014-11-081-2/+3
| | | | | | | | | | This should be less fragile and re-uses some xmloff and unocore code. Storing from ~SwBaseNumRules() does not work because other gobals that the export code relies on are already dead at the time it is called from a terminate() listener, so store when the dialog updates a format. Change-Id: I4e148b82d0a338ec7ffa6429c6e162db79f8c44e
* More -Werror,-Wunused-private-fieldStephan Bergmann2014-10-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...detected with a modified trunk Clang with > Index: lib/Sema/SemaDeclCXX.cpp > =================================================================== > --- lib/Sema/SemaDeclCXX.cpp (revision 219190) > +++ lib/Sema/SemaDeclCXX.cpp (working copy) > @@ -1917,9 +1917,10 @@ > const Type *T = FD.getType()->getBaseElementTypeUnsafe(); > // FIXME: Destruction of ObjC lifetime types has side-effects. > if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) > - return !RD->isCompleteDefinition() || > - !RD->hasTrivialDefaultConstructor() || > - !RD->hasTrivialDestructor(); > + return !RD->hasAttr<WarnUnusedAttr>() && > + (!RD->isCompleteDefinition() || > + !RD->hasTrivialDefaultConstructor() || > + !RD->hasTrivialDestructor()); > return false; > } > > @@ -3517,9 +3518,11 @@ > bool addFieldInitializer(CXXCtorInitializer *Init) { > AllToInit.push_back(Init); > > +#if 0 > // Check whether this initializer makes the field "used". > if (Init->getInit()->HasSideEffects(S.Context)) > S.UnusedPrivateFields.remove(Init->getAnyMember()); > +#endif > > return false; > } to warn about members of SAL_WARN_UNUSED-annotated class types, and warn about initializations with side effects (cf. <http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-October/039602.html> "-Wunused-private-field distracted by side effects"). Change-Id: I3f3181c4eb8180ca28e1fa3dffc9dbe1002c6628
* fdo#75757: remove inheritance to std::vectorTakeshi Abe2014-08-051-1/+2
| | | | | | | | | Typedef'ing SvxXMLListStyle_Impl is enough. Change-Id: I281766822aea60794510c959581f0b821aea6642 Reviewed-on: https://gerrit.libreoffice.org/10729 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* xmloff: sal_Bool->boolNoel Grandin2014-03-311-7/+7
| | | | Change-Id: Id3d8f4f4ef32280a131907ffa32eb2ad5d6ea2e1
* First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann2014-03-261-3/+3
| | | | | | | ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
* Split TYPEINFO into plain and TYPEINFO_OVERRIDEStephan Bergmann2014-03-261-1/+1
| | | | | | ...where the latter contains SAL_OVERRIDE annotations Change-Id: Id64794b388d83dfe7026440e8b20a5b5efd412d1
* fixincludeguards.sh: include/xml*Thomas Arnhold2013-10-231-3/+3
| | | | Change-Id: Iffab819621615c59709c087202cc578af00dd799
* execute move of global headersBjoern Michaelsen2013-04-231-0/+104
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a