summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmlrowi.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-22 16:06:44 +0200
committerNoel Grandin <noel@peralex.com>2014-10-23 12:36:16 +0200
commit6a097a7d964a22fbff8bfa9552c77b11447691bb (patch)
tree5c86335f81902bae4f6f765893bc847d89ee24d0 /sc/source/filter/xml/xmlrowi.hxx
parent229eed079c675e70118370044ae91a69c60d044e (diff)
loplugin: cstylecast
Change-Id: I8c7cd4c2cdc134556c2c664a22e2048b51a3b98e
Diffstat (limited to 'sc/source/filter/xml/xmlrowi.hxx')
-rw-r--r--sc/source/filter/xml/xmlrowi.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/filter/xml/xmlrowi.hxx b/sc/source/filter/xml/xmlrowi.hxx
index 24d08f59d0f7..c770218de1a7 100644
--- a/sc/source/filter/xml/xmlrowi.hxx
+++ b/sc/source/filter/xml/xmlrowi.hxx
@@ -22,8 +22,8 @@
#include <xmloff/xmlictxt.hxx>
#include <xmloff/xmlimp.hxx>
#include "address.hxx"
+#include "xmlimprt.hxx"
-class ScXMLImport;
class ScXMLTableRowContext : public SvXMLImportContext
{
@@ -32,8 +32,8 @@ class ScXMLTableRowContext : public SvXMLImportContext
sal_Int32 nRepeatedRows;
bool bHasCell;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
- ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
+ const ScXMLImport& GetScImport() const { return static_cast<const ScXMLImport&>(GetImport()); }
+ ScXMLImport& GetScImport() { return static_cast<ScXMLImport&>(GetImport()); }
public:
@@ -60,8 +60,8 @@ class ScXMLTableRowsContext : public SvXMLImportContext
bool bGroup;
bool bGroupDisplay;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
- ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
+ const ScXMLImport& GetScImport() const { return static_cast<const ScXMLImport&>(GetImport()); }
+ ScXMLImport& GetScImport() { return static_cast<ScXMLImport&>(GetImport()); }
public: