summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdograf.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-24 12:24:36 +0200
committerNoel Grandin <noel@peralex.com>2015-04-29 10:41:39 +0200
commit1902ad6cad6d8c18f8d81e92517a88568f734b44 (patch)
treeb82ce8781571faf52d70dcd8362708666987ad22 /svx/source/svdraw/svdograf.cxx
parentd66f266cf24d09c2ceb9320f1355ba27114187c2 (diff)
convert SDR_SWAPGRAPHICS constants to scoped enum
and drop unused DOC constant Change-Id: Id35d18241642742500cc007c575a8a54b5b8dd97
Diffstat (limited to 'svx/source/svdraw/svdograf.cxx')
-rw-r--r--svx/source/svdraw/svdograf.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index 9e1f49112780..b4cf3899dd2e 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -1280,14 +1280,14 @@ IMPL_LINK( SdrGrafObj, ImpSwapHdl, GraphicObject*, pO )
// ## test only if there are VOCs other than the preview renderer
if(!GetViewContact().HasViewObjectContacts(true))
{
- const sal_uIntPtr nSwapMode = pModel->GetSwapGraphicsMode();
+ const SdrSwapGraphicsMode nSwapMode = pModel->GetSwapGraphicsMode();
if( ( pGraphicLink ) &&
- ( nSwapMode & SDR_SWAPGRAPHICSMODE_PURGE ) )
+ ( nSwapMode & SdrSwapGraphicsMode::PURGE ) )
{
pRet = GRFMGR_AUTOSWAPSTREAM_LINK;
}
- else if( nSwapMode & SDR_SWAPGRAPHICSMODE_TEMP )
+ else if( nSwapMode & SdrSwapGraphicsMode::TEMP )
{
pRet = GRFMGR_AUTOSWAPSTREAM_TEMP;
pGraphic->SetUserData();