summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmltexte.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-06-26 14:55:54 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-06-26 14:55:54 +0000
commitc4a2a43f7f49b45ac66aab8c2645a1024d02691f (patch)
treedd860bedb1e445fc869d0154e3c69faa29015e8e /sw/source/filter/xml/xmltexte.cxx
parentcb674aaf8b9ba7ce7fb1a77ed899244f305b9a63 (diff)
INTEGRATION: CWS mav21 (1.43.82); FILE MERGED
2007/03/28 13:31:12 mav 1.43.82.1: #i75819# use the correct map mode
Diffstat (limited to 'sw/source/filter/xml/xmltexte.cxx')
-rw-r--r--sw/source/filter/xml/xmltexte.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx
index 0ae4237e7505..344d50ecb4ed 100644
--- a/sw/source/filter/xml/xmltexte.cxx
+++ b/sw/source/filter/xml/xmltexte.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: xmltexte.cxx,v $
*
- * $Revision: 1.43 $
+ * $Revision: 1.44 $
*
- * last change: $Author: obo $ $Date: 2006-10-13 11:11:42 $
+ * last change: $Author: hr $ $Date: 2007-06-26 15:55:54 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -344,7 +344,8 @@ void lcl_addOutplaceProperties(
const UniReference < XMLPropertySetMapper >& rMapper )
{
{
- Size aSize = rObj.GetSize();
+ MapMode aMode( MAP_100TH_MM ); // the API expects this map mode for the embedded objects
+ Size aSize = rObj.GetSize( &aMode ); // get the size in the requested map mode
if( aSize.Width() && aSize.Height() )
{