summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-10-15 07:53:32 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-10-15 09:01:16 +0200
commitda77897d1923137574fd3a5a65921a5dbaf0aafc (patch)
tree6dda3a841b59456bf5af6a3db214b10e6eec6830 /sc
parentb11968e8bfcc1c4560427a9ca1d9e20a1075eb1b (diff)
nDrehWink -> nRotationAngle
Change-Id: I33ca88f38210140931b12a05e426d1373243156e
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/drwlayer.cxx2
-rw-r--r--sc/source/filter/html/htmlexp2.cxx2
-rw-r--r--sc/source/ui/app/client.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx
index c6d58eff68c2..c1d2c8f6eccc 100644
--- a/sc/source/core/data/drwlayer.cxx
+++ b/sc/source/core/data/drwlayer.cxx
@@ -1955,7 +1955,7 @@ IMapObject* ScDrawLayer::GetHitIMapObject( SdrObject* pObj,
const Graphic& rGraphic = pGrafObj->GetGraphic();
// Drehung rueckgaengig
- if ( rGeo.nDrehWink )
+ if ( rGeo.nRotationAngle )
RotatePoint( aRelPoint, aLogRect.TopLeft(), -rGeo.nSin, rGeo.nCos );
// Spiegelung rueckgaengig
diff --git a/sc/source/filter/html/htmlexp2.cxx b/sc/source/filter/html/htmlexp2.cxx
index d7cc9c4eb6fa..f361a5a2df0a 100644
--- a/sc/source/filter/html/htmlexp2.cxx
+++ b/sc/source/filter/html/htmlexp2.cxx
@@ -137,7 +137,7 @@ void ScHTMLExport::WriteGraphEntry( ScHTMLGraphEntry* pE )
{
const SdrGrafObj* pSGO = (SdrGrafObj*)pObject;
const SdrGrafObjGeoData* pGeo = (SdrGrafObjGeoData*)pSGO->GetGeoData();
- sal_uInt16 nMirrorCase = (pGeo->aGeo.nDrehWink == 18000 ?
+ sal_uInt16 nMirrorCase = (pGeo->aGeo.nRotationAngle == 18000 ?
( pGeo->bMirrored ? 3 : 4 ) : ( pGeo->bMirrored ? 2 : 1 ));
bool bHMirr = ( ( nMirrorCase == 2 ) || ( nMirrorCase == 4 ) );
bool bVMirr = ( ( nMirrorCase == 3 ) || ( nMirrorCase == 4 ) );
diff --git a/sc/source/ui/app/client.cxx b/sc/source/ui/app/client.cxx
index 080b0f3ce212..8f33f7853e85 100644
--- a/sc/source/ui/app/client.cxx
+++ b/sc/source/ui/app/client.cxx
@@ -158,7 +158,7 @@ void ScClient::ObjectAreaChanged()
// #i118524# if sheared/rotated, center to non-rotated LogicRect
pDrawObj->setSuppressSetVisAreaSize(true);
- if(pDrawObj->GetGeoStat().nDrehWink || pDrawObj->GetGeoStat().nShearWink)
+ if(pDrawObj->GetGeoStat().nRotationAngle || pDrawObj->GetGeoStat().nShearWink)
{
pDrawObj->SetLogicRect( aNewRectangle );