summaryrefslogtreecommitdiff
path: root/sw/inc/anchoredobject.hxx
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2014-09-24 20:02:57 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2014-10-01 10:32:43 +0200
commit4687ce06757e75432bde17bf4077e45ce88bb126 (patch)
tree4bac1a1e869876b74e9f2279b5df636625d645fe /sw/inc/anchoredobject.hxx
parentd10f6d49b77dcf955629901937d8d5e3a2976a6c (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.hxx4
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.