diff options
author | Sven Jacobi <sj@openoffice.org> | 2001-11-08 16:33:08 +0000 |
---|---|---|
committer | Sven Jacobi <sj@openoffice.org> | 2001-11-08 16:33:08 +0000 |
commit | 7a1d595f16b497489f80f2774eceaaf4f40208de (patch) | |
tree | 52e0591b10a0ca7fc125f4ae492c55da8b1348e9 /svtools | |
parent | 15bd2b1bce808b749e7545279550d8067bbdef6a (diff) |
#93885# accept negative WinExtSize
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/filter.vcl/wmf/winwmf.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/filter.vcl/wmf/winwmf.cxx b/svtools/source/filter.vcl/wmf/winwmf.cxx index 710fb541eee7..e4bd626ac5ab 100644 --- a/svtools/source/filter.vcl/wmf/winwmf.cxx +++ b/svtools/source/filter.vcl/wmf/winwmf.cxx @@ -2,9 +2,9 @@ * * $RCSfile: winwmf.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: sj $ $Date: 2001-10-18 10:46:27 $ + * last change: $Author: sj $ $Date: 2001-11-08 17:33:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -844,7 +844,7 @@ void WMFReader::ImplSetWMFSize( const Size& rSize ) pOut->SetWinExt( rSize ); // try to calculate size of WMF - if( !bWinExtSet && rSize.Width() > 1 && rSize.Height() > 1 ) + if( !bWinExtSet && rSize.Width() && rSize.Height() ) { const Fraction aFrac( 1, nUnitsPerInch ); MapMode aWMFMap( MAP_INCH, Point(), aFrac, aFrac ); |