summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewsh.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-07-13 13:57:57 +0000
committerRüdiger Timm <rt@openoffice.org>2004-07-13 13:57:57 +0000
commitd41e43a2af6141f8c7f315a2f8ade5410c97fb15 (patch)
treeb8cd3309cd1f7962fb9fbf423833eee6260ff105 /sd/source/ui/view/drviewsh.cxx
parent514e8deb362d2f9c83c69ede01d800c06f825eca (diff)
INTEGRATION: CWS impress2 (1.5.26); FILE MERGED
2004/07/11 14:31:39 af 1.5.26.1: #i22705# Fixed signature of MakeVisible().
Diffstat (limited to 'sd/source/ui/view/drviewsh.cxx')
-rw-r--r--sd/source/ui/view/drviewsh.cxx25
1 files changed, 14 insertions, 11 deletions
diff --git a/sd/source/ui/view/drviewsh.cxx b/sd/source/ui/view/drviewsh.cxx
index 7b270363ff00..a9277d56bf2a 100644
--- a/sd/source/ui/view/drviewsh.cxx
+++ b/sd/source/ui/view/drviewsh.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: drviewsh.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: obo $ $Date: 2004-01-20 12:48:48 $
+ * last change: $Author: rt $ $Date: 2004-07-13 14:57:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -123,16 +123,19 @@ BOOL DrawViewShell::GotoBookmark(const String& rBookmark)
|*
\************************************************************************/
-void DrawViewShell::MakeVisible(const Rectangle& rRect, Window& rWin)
+void DrawViewShell::MakeVisible(const Rectangle& rRect, ::Window& rWin)
{
- // #98568# In older versions, if in X or Y the size of the object was smaller than the
- // visible area, the user-defined zoom was changed. This was decided to be a bug for 6.x,
- // thus I developed a version which instead handles X/Y bigger/smaller and visibility
- // questions seperately. The new behaviour is triggered with the bZoomAllowed parameter
- // which for old behaviour should be set to sal_True. I looked at all uses of MakeVisible()
- // in the application and found no valid reason for really changing the zoom factor, thus
- // I decided to NOT expand (incompatible) this virtual method to get one more parameter. If
- // this is wanted in later versions, feel free to add that bool to the parameter list.
+ // #98568# In older versions, if in X or Y the size of the object was
+ // smaller than the visible area, the user-defined zoom was
+ // changed. This was decided to be a bug for 6.x, thus I developed a
+ // version which instead handles X/Y bigger/smaller and visibility
+ // questions seperately. The new behaviour is triggered with the
+ // bZoomAllowed parameter which for old behaviour should be set to
+ // sal_True. I looked at all uses of MakeVisible() in the application
+ // and found no valid reason for really changing the zoom factor, thus I
+ // decided to NOT expand (incompatible) this virtual method to get one
+ // more parameter. If this is wanted in later versions, feel free to add
+ // that bool to the parameter list.
sal_Bool bZoomAllowed(sal_False);
Size aLogicSize(rRect.GetSize());