Kaydet (Commit) 4b2dcb3e 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
(cherry picked from commit 1fc6b2f7)
Reviewed-on: https://gerrit.libreoffice.org/40956Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst 3dceaeee
......@@ -861,7 +861,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