diff options
author | Armin Le Grand <alg@apache.org> | 2014-07-14 19:09:11 +0000 |
---|---|---|
committer | Armin Le Grand <alg@apache.org> | 2014-07-14 19:09:11 +0000 |
commit | 3c1d4742e649fe9c8aed8c2817fe3e1f3364f298 (patch) | |
tree | e0c6e02c89aa9227726c9469da1001b3e29c41df /sw/source/filter/ww8/ww8graf.cxx | |
parent | c5c31e2aeaedbdf76e1f38d3c385e34f5ed875ca (diff) |
Resync to trunk, windows non-pro buildaoo/aw080
Diffstat (limited to 'sw/source/filter/ww8/ww8graf.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8graf.cxx | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/sw/source/filter/ww8/ww8graf.cxx b/sw/source/filter/ww8/ww8graf.cxx index 1689cd552748..6ea7c12ab433 100644 --- a/sw/source/filter/ww8/ww8graf.cxx +++ b/sw/source/filter/ww8/ww8graf.cxx @@ -19,10 +19,9 @@ * *************************************************************/ - - // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_sw.hxx" + /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil -*- */ #include <svl/urihelper.hxx> #include <hintids.hxx> @@ -89,7 +88,6 @@ #include <fmtinfmt.hxx> #include <editeng/eeitem.hxx> #include <editeng/flditem.hxx> -// OD 30.09.2003 #i18732# #include <fmtfollowtextflow.hxx> #include "writerhelper.hxx" #include "writerwordglue.hxx" @@ -98,13 +96,12 @@ #include <editeng/editobj.hxx> #include <svx/svdlegacy.hxx> #include <svx/fmmodel.hxx> - #include <math.h> - #include <fmturl.hxx> #include <svx/hlnkitem.hxx> #include <svl/whiter.hxx> #include "ww8par2.hxx" +#include <drawdoc.hxx> using namespace ::com::sun::star; using namespace sw::types; @@ -637,7 +634,7 @@ void SwWW8ImplReader::InsertAttrsAsDrawingAttrs(long nStartCp, long nEndCp, Save and create new plcxman for this drawing object, of the type that will include the para end mark inside a paragraph property range, as drawing boxes have real paragraph marks as part of their text, while - normal writer has seperate nodes for each paragraph and so has no actual + normal writer has separate nodes for each paragraph and so has no actual paragraph mark as part of the paragraph text. */ WW8ReaderSave aSave(this); @@ -1914,7 +1911,7 @@ void SwWW8ImplReader::MatchSdrItemsIntoFlySet( SdrObject* pSdrObj, bool bBrushItemOk = false; sal_uInt8 nTrans = 0; - //Seperate transparency + //Separate transparency eState = rOldSet.GetItemState(XATTR_FILLTRANSPARENCE, true, &pItem); if (eState == SFX_ITEM_SET) { @@ -2104,7 +2101,7 @@ void SwWW8ImplReader::MapWrapIntoFlyFmt(SvxMSDffImportRec* pRecord, So given that the size of the values remains pretty much the same despite the size of the graphic, we can tell that the - polygon is measured in units that are independant of the + polygon is measured in units that are independent of the graphic. But why does the left corner move a different value to the left each time, and why does the bottom move upwards each time, when the right and top remain at the same value ? @@ -2146,7 +2143,7 @@ void SwWW8ImplReader::MapWrapIntoFlyFmt(SvxMSDffImportRec* pRecord, aPoly.Scale(aMapPolyX, aMapPolyY); // --> OD 2005-05-19 #i47277# - contour is already in unit of the - // graphic prefered unit. Thus, call method <SetContour(..)> + // graphic preferred unit. Thus, call method <SetContour(..)> pNd->SetContour(&aPoly); // <-- } |