Kaydet (Commit) 1fc6b2f7 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

tdf#109177: Fix expected type of Orientation attr

Regression introduced with 7e781aa1 "Clean up
uses of Any::getValue() in xmlscript"

Change-Id: I66df1c5aacab1d697438c57418c9100f9dba627a
üst 4378108d
......@@ -860,7 +860,7 @@ void ElementDescriptor::readOrientationAttr( OUString const & rPropName, OUStrin
if (beans::PropertyState_DEFAULT_VALUE != _xPropState->getPropertyState( rPropName ))
{
Any a( _xProps->getPropertyValue( rPropName ) );
if (auto n = o3tl::tryAccess<sal_Int16>(a))
if (auto n = o3tl::tryAccess<sal_Int32>(a))
{
switch (*n)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment