diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-08 16:40:53 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-08 16:47:31 +0200 |
commit | e26dfe3a29eed9982cd8e6e3df4912a6210d09b0 (patch) | |
tree | 74da95689961343d37f149d8368d2091c74eadab /sw/source/ui/vba/vbasystem.cxx | |
parent | 9af0403ddc024b843c214eb43923692fb1dfd9eb (diff) |
loplugin:redundantcast: redundant static_casts in sw
Change-Id: I09c1ebaf5742e983ee05942a4c7c17c6aa5179cc
Diffstat (limited to 'sw/source/ui/vba/vbasystem.cxx')
-rw-r--r-- | sw/source/ui/vba/vbasystem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbasystem.cxx b/sw/source/ui/vba/vbasystem.cxx index 97f244f205e3..e0cecc089573 100644 --- a/sw/source/ui/vba/vbasystem.cxx +++ b/sw/source/ui/vba/vbasystem.cxx @@ -210,14 +210,14 @@ SwVbaSystem::setCursor( sal_Int32 _cursor ) throw (uno::RuntimeException, std::e } case word::WdCursorType::wdCursorWait: { - const Pointer& rPointer( static_cast< PointerStyle >( PointerStyle::Wait ) ); + const Pointer& rPointer( PointerStyle::Wait ); //It will set the edit window, toobar and statusbar's mouse pointer. setCursorHelper( getCurrentWordDoc(mxContext), rPointer, true ); break; } case word::WdCursorType::wdCursorIBeam: { - const Pointer& rPointer( static_cast< PointerStyle >( PointerStyle::Text ) ); + const Pointer& rPointer( PointerStyle::Text ); //It will set the edit window, toobar and statusbar's mouse pointer. setCursorHelper( getCurrentWordDoc( mxContext ), rPointer, true ); break; |