summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-24 11:33:00 +0200
committerNoel Grandin <noel@peralex.com>2015-04-29 10:41:39 +0200
commitd66f266cf24d09c2ceb9320f1355ba27114187c2 (patch)
tree45e90b8e144057dd38ca6ea46c1cb30104174149 /filter
parentda9361374c45da7c3bda803aaed52485fb3b12d7 (diff)
convert SDR*ALIGN constants to scoped enum
Change-Id: I29b7b4fe1181133cbbb0bb43a1835941cf12210d
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/msdffimp.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 7c3302657d13..4e57b1f5cb4c 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -479,16 +479,16 @@ void SvxMSDffManager::SolveSolver( const SvxMSDffSolverContainer& rSolver )
switch( nC )
{
case 0 :
- nId = 0; // SDRVERTALIGN_TOP;
+ nId = 0; // SdrAlign::VERT_TOP;
break;
case 1 :
- nId = 3; // SDRHORZALIGN_RIGHT;
+ nId = 3; // SdrAlign::HORZ_RIGHT;
break;
case 2 :
- nId = 2; // SDRVERTALIGN_BOTTOM;
+ nId = 2; // SdrAlign::VERT_BOTTOM;
break;
case 3 :
- nId = 1; // SDRHORZALIGN_LEFT;
+ nId = 1; // SdrAlign::HORZ_LEFT;
break;
}
if ( nId <= 3 )
@@ -551,7 +551,7 @@ void SvxMSDffManager::SolveSolver( const SvxMSDffSolverContainer& rSolver )
fYRel *= 10000;
aGluePoint.SetPos( Point( (sal_Int32)fXRel, (sal_Int32)fYRel ) );
aGluePoint.SetPercent( true );
- aGluePoint.SetAlign( SDRVERTALIGN_TOP | SDRHORZALIGN_LEFT );
+ aGluePoint.SetAlign( SdrAlign::VERT_TOP | SdrAlign::HORZ_LEFT );
aGluePoint.SetEscDir( SdrEscapeDirection::SMART );
nId = (sal_Int32)((*pList)[ pList->Insert( aGluePoint ) ].GetId() + 3 );
bNotFound = false;
@@ -614,16 +614,16 @@ void SvxMSDffManager::SolveSolver( const SvxMSDffSolverContainer& rSolver )
switch( nC )
{
case 0 :
- nId = 0; // SDRVERTALIGN_TOP;
+ nId = 0; // SdrAlign::VERT_TOP;
break;
case 1 :
- nId = 3; // SDRHORZALIGN_RIGHT;
+ nId = 3; // SdrAlign::HORZ_RIGHT;
break;
case 2 :
- nId = 2; // SDRVERTALIGN_BOTTOM;
+ nId = 2; // SdrAlign::VERT_BOTTOM;
break;
case 3 :
- nId = 1; // SDRHORZALIGN_LEFT;
+ nId = 1; // SdrAlign::HORZ_LEFT;
break;
}
if ( nId <= 3 )