summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/optsitem.hxx
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2002-06-20 07:09:43 +0000
committerKai Ahrens <ka@openoffice.org>2002-06-20 07:09:43 +0000
commitb71a973c7d369b0f7e38b5e3d7fa8df94a35ac90 (patch)
tree6a959553eb42753a234acb892a19b4446020c629 /sd/source/ui/inc/optsitem.hxx
parentb4d2d38d518af2df5b01a62f4be3c8ac4b758439 (diff)
#97391#: call ::OptionsChanged for Scale options
Diffstat (limited to 'sd/source/ui/inc/optsitem.hxx')
-rw-r--r--sd/source/ui/inc/optsitem.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/inc/optsitem.hxx b/sd/source/ui/inc/optsitem.hxx
index 36d5590f5113..ea30aee392f5 100644
--- a/sd/source/ui/inc/optsitem.hxx
+++ b/sd/source/ui/inc/optsitem.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: optsitem.hxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: cl $ $Date: 2002-05-07 10:15:11 $
+ * last change: $Author: ka $ $Date: 2002-06-20 08:09:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -499,7 +499,7 @@ public:
BOOL operator==( const SdOptionsZoom& rOpt ) const;
void GetScale( INT32& rX, INT32& rY ) const { Init(); rX = nX; rY = nY; }
- void SetScale( INT32 nInX, INT32 nInY ) { nX = nInX; nY = nInY; }
+ void SetScale( INT32 nInX, INT32 nInY ) { if( nX != nInX || nY != nInY ) { OptionsChanged(); nX = nInX; nY = nInY; } }
};
// -----------------------------------------------------------------------------