summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unotxvw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uno/unotxvw.cxx')
-rw-r--r--sw/source/uibase/uno/unotxvw.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx
index da3dffb4537a..3411f39c5a98 100644
--- a/sw/source/uibase/uno/unotxvw.cxx
+++ b/sw/source/uibase/uno/unotxvw.cxx
@@ -561,8 +561,7 @@ Sequence< Sequence< PropertyValue > > SwXTextView::getRubyList( sal_Bool /*bAuto
pValues[3].Name = UNO_NAME_RUBY_ADJUST;
pValues[3].Value <<= (sal_Int16)rAttr.GetAdjustment();
pValues[4].Name = UNO_NAME_RUBY_IS_ABOVE;
- sal_Bool bVal = !rAttr.GetPosition();
- pValues[4].Value.setValue(&bVal, cppu::UnoType<bool>::get());
+ pValues[4].Value <<= !rAttr.GetPosition();
}
return aRet;
}