summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-11-03 12:32:03 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-11-03 14:39:48 +0100
commita30f969432a451ade87b93e3077836a849b8f11b (patch)
tree52da861cd70eaca8567bfa1b83d05b3c366627d2 /svx
parentb75468d7439e66b70d2a1ab2e3f77f5c46af7be3 (diff)
svx: add missing ~CONVERT_TWIPS mask in SvxPageItem::PutValue()
With this, it's possible to use AttributePage.* keys in macros. Change-Id: I3f0b1ea8fb6274e7c18511c2e80774205206a2ba
Diffstat (limited to 'svx')
-rw-r--r--svx/source/items/pageitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/items/pageitem.cxx b/svx/source/items/pageitem.cxx
index 7371ef1de7cb..53c01c10d595 100644
--- a/svx/source/items/pageitem.cxx
+++ b/svx/source/items/pageitem.cxx
@@ -180,7 +180,7 @@ bool SvxPageItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
bool SvxPageItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
{
- switch( nMemberId )
+ switch( nMemberId & ~CONVERT_TWIPS )
{
case MID_PAGE_NUMTYPE:
{