diff options
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/shells/grfsh.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/uiview/swcli.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/uiview/viewtab.cxx | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/ui/shells/grfsh.cxx b/sw/source/ui/shells/grfsh.cxx index d277bcb80633..b2ba913198ae 100644 --- a/sw/source/ui/shells/grfsh.cxx +++ b/sw/source/ui/shells/grfsh.cxx @@ -229,7 +229,7 @@ void SwGrfShell::Execute(SfxRequest &rReq) aSet.Put( aMgr.GetAttrSet() ); aSet.SetParent( aMgr.GetAttrSet().GetParent() ); - // At percentage values initialize size + // At percentage values initialize size SwFmtFrmSize aSizeCopy = (const SwFmtFrmSize&)aSet.Get(RES_FRM_SIZE); if (aSizeCopy.GetWidthPercent() && aSizeCopy.GetWidthPercent() != 0xff) aSizeCopy.SetWidth(rSh.GetAnyCurRect(RECT_FLY_EMBEDDED).Width()); diff --git a/sw/source/ui/uiview/swcli.cxx b/sw/source/ui/uiview/swcli.cxx index 138e4ba7960b..ab0d7180c034 100644 --- a/sw/source/ui/uiview/swcli.cxx +++ b/sw/source/ui/uiview/swcli.cxx @@ -45,7 +45,7 @@ void SwOleClient::RequestNewObjectArea( Rectangle& aLogRect ) // We put the desired size in the core. The attributes of the frame // are set to the desired value. This value will be passed on to the // InPlaceClient. - // The core accepts or formats the adjusted values not necessarily. + // The core accepts or formats the adjusted values not necessarily. // If the Ole-Frm is formatted, then the CalcAndSetScale() of the WrtShell // will be called. There the scaling of the SwOleClient is set if necessary. diff --git a/sw/source/ui/uiview/viewtab.cxx b/sw/source/ui/uiview/viewtab.cxx index b24afdfc8837..c0fc69dab3f3 100644 --- a/sw/source/ui/uiview/viewtab.cxx +++ b/sw/source/ui/uiview/viewtab.cxx @@ -203,7 +203,8 @@ void ResizeFrameCols(SwFmtCol& rCol, long nNewWishWidth = nWishSum + nWishDiff; if(nNewWishWidth > 0xffffl) { - // If the desired width is getting too large, then all values must be scaled appropriately. + // If the desired width is getting too large, then all values + // must be scaled appropriately. long nScale = (0xffffl << 8)/ nNewWishWidth; for(sal_uInt16 i = 0; i < rArr.size(); i++) { |