diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-10-30 20:06:12 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-10-31 17:53:52 +0100 |
commit | 6c778e0a9b80734becb52fe3d0799754393c4bc4 (patch) | |
tree | e470c027f70f07f5521c4a4608a2e46f0f54dc61 /sw | |
parent | c70f1545e2df5818f251b558dcc64a83d3c270d3 (diff) |
sw: [loplugin:salbool]
Change-Id: I7d8e2606f0518d489473a9824cb25b6bcd6a9bb2
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/uno/SwXDocumentSettings.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/uibase/uno/SwXDocumentSettings.cxx b/sw/source/uibase/uno/SwXDocumentSettings.cxx index b34dd65ec351..aceed1f91318 100644 --- a/sw/source/uibase/uno/SwXDocumentSettings.cxx +++ b/sw/source/uibase/uno/SwXDocumentSettings.cxx @@ -1248,8 +1248,9 @@ void SwXDocumentSettings::_getSingleValue( const comphelper::PropertyInfo & rInf break; case HANDLE_PROP_LINE_SPACING_SHRINKS_FIRST_LINE: { - sal_Bool bTmp = mpDoc->getIDocumentSettingAccess().get( IDocumentSettingAccess::PROP_LINE_SPACING_SHRINKS_FIRST_LINE); - rValue.setValue( &bTmp, ::getBooleanCppuType() ); + bool const bTmp(mpDoc->getIDocumentSettingAccess().get( + IDocumentSettingAccess::PROP_LINE_SPACING_SHRINKS_FIRST_LINE)); + rValue <<= bTmp; } break; default: |