summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/uibase/uno/SwXDocumentSettings.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/uibase/uno/SwXDocumentSettings.cxx b/sw/source/uibase/uno/SwXDocumentSettings.cxx
index ec71f6dd85e7..b34dd65ec351 100644
--- a/sw/source/uibase/uno/SwXDocumentSettings.cxx
+++ b/sw/source/uibase/uno/SwXDocumentSettings.cxx
@@ -1248,9 +1248,8 @@ void SwXDocumentSettings::_getSingleValue( const comphelper::PropertyInfo & rInf
break;
case HANDLE_PROP_LINE_SPACING_SHRINKS_FIRST_LINE:
{
- sal_Bool const bTmp(mpDoc->getIDocumentSettingAccess().get(
- IDocumentSettingAccess::PROP_LINE_SPACING_SHRINKS_FIRST_LINE));
- rValue <<= bTmp;
+ sal_Bool bTmp = mpDoc->getIDocumentSettingAccess().get( IDocumentSettingAccess::PROP_LINE_SPACING_SHRINKS_FIRST_LINE);
+ rValue.setValue( &bTmp, ::getBooleanCppuType() );
}
break;
default: