summaryrefslogtreecommitdiff
path: root/sw/qa/extras
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-02 14:33:47 +0200
committerNoel Grandin <noel@peralex.com>2014-12-02 14:34:10 +0200
commit8dba4716d2e7fcaf00cc347d4989c24539ea0fe6 (patch)
treed7bbdcd98a8270744429c36d23975002e03648eb /sw/qa/extras
parent724bc1ac11bd9a07d3391a8535d308353003e3b9 (diff)
loplugin: cstylecast
Change-Id: I922fe2b4177687863d9749c2f46aab9ddd86621a
Diffstat (limited to 'sw/qa/extras')
-rw-r--r--sw/qa/extras/uiwriter/uiwriter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index 8496e301920e..6fe83c2fad8c 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -293,7 +293,7 @@ void SwUiWriterTest::testFdo74981()
// create a document with an input field
SwDoc* pDoc = createDoc();
SwWrtShell* pWrtShell = pDoc->GetDocShell()->GetWrtShell();
- SwInputField aField((SwInputFieldType*)pWrtShell->GetFldType(0, RES_INPUTFLD), OUString("foo"), OUString("bar"), 0, 0);
+ SwInputField aField(static_cast<SwInputFieldType*>(pWrtShell->GetFldType(0, RES_INPUTFLD)), OUString("foo"), OUString("bar"), 0, 0);
pWrtShell->Insert(aField);
// expect hints