diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-06 18:30:47 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-06 18:30:47 +0200 |
commit | 8005237d71a75fe9bcfd860111bb0fe1fa6064d6 (patch) | |
tree | 0ef38f86283763745d6e9531fb34b22fd000713d /sw/source/uibase/uno/unotxdoc.cxx | |
parent | cbb2f42ecc86b3fc327e976f5a1a591b40f40299 (diff) |
Improved loplugin:redundantcast, static_cast on arithmetic types: sw
Change-Id: I1d52df4fe3f276ebf017aa7cfb7b313cefaf0844
Diffstat (limited to 'sw/source/uibase/uno/unotxdoc.cxx')
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index af8853741696..07530d82e1bc 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -2094,7 +2094,7 @@ Any SwXTextDocument::getPropertyValue(const OUString& rPropertyName) aAny <<= getRuntimeUID(); break; case WID_DOC_LOCK_UPDATES : - aAny <<= static_cast<bool>( pDocShell->GetDoc()->IsInReading() ); + aAny <<= pDocShell->GetDoc()->IsInReading(); break; case WID_DOC_BUILDID: aAny <<= maBuildId; |