diff options
Diffstat (limited to 'xmloff/source/text/XMLTextShapeStyleContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLTextShapeStyleContext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/XMLTextShapeStyleContext.cxx b/xmloff/source/text/XMLTextShapeStyleContext.cxx index 4e29e07d6d2b..a59f200c2d68 100644 --- a/xmloff/source/text/XMLTextShapeStyleContext.cxx +++ b/xmloff/source/text/XMLTextShapeStyleContext.cxx @@ -224,7 +224,7 @@ void XMLTextShapeStyleContext::CreateAndInsert( bool bOverwrite ) { // set event suppplier and release reference to context Reference<XEventsSupplier> xEventsSupplier(xStyle, UNO_QUERY); - ((XMLEventsImportContext *)&xEventContext)->SetEvents(xEventsSupplier); + static_cast<XMLEventsImportContext *>(&xEventContext)->SetEvents(xEventsSupplier); xEventContext = 0; } } |