summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh4.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-03-17 15:28:40 +0000
committerOliver Bolte <obo@openoffice.org>2004-03-17 15:28:40 +0000
commitafc82c893d98cfcc228b1784890aaaf3852f14af (patch)
tree95456ac01dd0b913589e9cf9d472ce7aead08b06 /sc/source/ui/docshell/docsh4.cxx
parent824e4b8f918f4943677aa405bb3dc4141f3c0a5f (diff)
INTEGRATION: CWS nn01 (1.31.2); FILE MERGED
2004/03/10 19:07:02 nn 1.31.2.1: #115112# handle RTL in OLE objects
Diffstat (limited to 'sc/source/ui/docshell/docsh4.cxx')
-rw-r--r--sc/source/ui/docshell/docsh4.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index 1d02c7457f70..439790291c7e 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: docsh4.cxx,v $
*
- * $Revision: 1.31 $
+ * $Revision: 1.32 $
*
- * last change: $Author: rt $ $Date: 2004-03-02 09:48:53 $
+ * last change: $Author: obo $ $Date: 2004-03-17 16:28:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2024,6 +2024,9 @@ Rectangle __EXPORT ScDocShell::GetVisArea( USHORT nAspect ) const
{
// Rectangle aArea( 0,0, 3175,3175 ); // 120x120 Pixel in 1:1
Rectangle aArea( 0,0, SC_PREVIEW_SIZE_X,SC_PREVIEW_SIZE_Y );
+ BOOL bNegativePage = aDocument.IsNegativePage( aDocument.GetVisibleTab() );
+ if ( bNegativePage )
+ ScDrawLayer::MirrorRectRTL( aArea );
aDocument.SnapVisArea( aArea );
return aArea;
}