diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-01 14:52:05 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-01 14:52:05 +0000 |
commit | 6db340a6c6421c08274674a9cf133f4cb6c136a6 (patch) | |
tree | 4b8a48abdb19d8e32b1793fc02f96ead05292c2c /starmath | |
parent | 93fe2f55bab3529d9dc3a44edbb4d5bd92c2e6bb (diff) |
INTEGRATION: CWS sw008 (1.61.2.3.8); FILE MERGED
2003/03/13 12:45:49 mib 1.61.2.3.8.1: #106110#: Format documents if they contain size-unadodpted OLEs after a prt change, prt handling optimized
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/mathml.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/starmath/source/mathml.cxx b/starmath/source/mathml.cxx index 61f2c26a1acf..978539522673 100644 --- a/starmath/source/mathml.cxx +++ b/starmath/source/mathml.cxx @@ -2,9 +2,9 @@ * * $RCSfile: mathml.cxx,v $ * - * $Revision: 1.62 $ + * $Revision: 1.63 $ * - * last change: $Author: hr $ $Date: 2003-03-27 11:58:18 $ + * last change: $Author: vg $ $Date: 2003-04-01 15:52:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -3330,12 +3330,16 @@ void SmXMLImport::SetViewSettings(const Sequence<PropertyValue>& aViewProps) else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( "ViewAreaWidth" ) ) ) { pValue->Value >>= nTmp; - aRect.setWidth( nTmp ); + Size aSize( aRect.GetSize() ); + aSize.Width() = nTmp; + aRect.SetSize( aSize ); } else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( "ViewAreaHeight" ) ) ) { pValue->Value >>= nTmp; - aRect.setHeight( nTmp ); + Size aSize( aRect.GetSize() ); + aSize.Height() = nTmp; + aRect.SetSize( aSize ); } pValue++; } |