summaryrefslogtreecommitdiff
path: root/svx/source/items/pageitem.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2002-05-22 11:05:15 +0000
committerMathias Bauer <mba@openoffice.org>2002-05-22 11:05:15 +0000
commit1709a6bf94b7cac8e8b8f263dfaa2bd8f0241634 (patch)
treeb395531b929fbb0170361af321e557a92b43caf9 /svx/source/items/pageitem.cxx
parent086e7ee849964f9b355f05adbb0de17900bc7d73 (diff)
#98405#: Query/PutValue changed
Diffstat (limited to 'svx/source/items/pageitem.cxx')
-rw-r--r--svx/source/items/pageitem.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/svx/source/items/pageitem.cxx b/svx/source/items/pageitem.cxx
index 674f040078..6f1e22978a 100644
--- a/svx/source/items/pageitem.cxx
+++ b/svx/source/items/pageitem.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pageitem.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: er $ $Date: 2001-05-13 03:29:15 $
+ * last change: $Author: mba $ $Date: 2002-05-22 12:03:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -209,6 +209,8 @@ SfxItemPresentation SvxPageItem::GetPresentation
//------------------------------------------------------------------------
sal_Bool SvxPageItem::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{
+ sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
+ nMemberId &= ~CONVERT_TWIPS;
switch( nMemberId )
{
case MID_PAGE_NUMTYPE: