summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/watermarkitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/watermarkitem.cxx')
-rw-r--r--sfx2/source/doc/watermarkitem.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/doc/watermarkitem.cxx b/sfx2/source/doc/watermarkitem.cxx
index 86e3d27d6a32..4e64afd7ffbf 100644
--- a/sfx2/source/doc/watermarkitem.cxx
+++ b/sfx2/source/doc/watermarkitem.cxx
@@ -44,11 +44,11 @@ SfxWatermarkItem* SfxWatermarkItem::Clone( SfxItemPool *) const
bool SfxWatermarkItem::QueryValue( css::uno::Any& rVal, sal_uInt8 /*nMemberId*/ ) const
{
rVal <<= comphelper::InitPropertySequence( {
- { "Text", css::uno::makeAny( m_aText ) },
- { "Font", css::uno::makeAny( m_aFont ) },
- { "Angle", css::uno::makeAny( m_nAngle ) },
- { "Transparency", css::uno::makeAny( m_nTransparency ) },
- { "Color", css::uno::makeAny( m_nColor ) },
+ { "Text", css::uno::Any( m_aText ) },
+ { "Font", css::uno::Any( m_aFont ) },
+ { "Angle", css::uno::Any( m_nAngle ) },
+ { "Transparency", css::uno::Any( m_nTransparency ) },
+ { "Color", css::uno::Any( m_nColor ) },
} );
return true;