diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2014-09-24 20:02:57 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2014-10-01 10:32:43 +0200 |
commit | 4687ce06757e75432bde17bf4077e45ce88bb126 (patch) | |
tree | 4bac1a1e869876b74e9f2279b5df636625d645fe /sw/inc/anchoredobject.hxx | |
parent | d10f6d49b77dcf955629901937d8d5e3a2976a6c (diff) |
Constify dumpAsXml and friends
All these dump functions should never change the dumped objects
so 'const' all of them.
Change-Id: Id83422e3950a73e48feb4708fbd4c251506997e0
Diffstat (limited to 'sw/inc/anchoredobject.hxx')
-rw-r--r-- | sw/inc/anchoredobject.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/anchoredobject.hxx b/sw/inc/anchoredobject.hxx index 14750c879437..c31afee52daa 100644 --- a/sw/inc/anchoredobject.hxx +++ b/sw/inc/anchoredobject.hxx @@ -542,11 +542,11 @@ class SW_DLLPUBLIC SwAnchoredObject /** Dump a bunch of useful data to an XML representation to ease layout understanding, debugging and testing. */ - virtual void dumpAsXml( xmlTextWriterPtr pWriter ); + virtual void dumpAsXml( xmlTextWriterPtr pWriter ) const; /** The element name to show in the XML dump. */ - virtual const char* getElementName( ) { return "SwAnchoredObject"; } + virtual const char* getElementName( ) const { return "SwAnchoredObject"; } }; /// Helper class for notify that positioning of an anchored object is in progress. |