summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/galexpl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-24 09:59:39 +0200
committerNoel Grandin <noel@peralex.com>2016-08-25 08:40:00 +0200
commit47c4daf0d777771185823ac9367f2108e950d12e (patch)
treec4843f87fa5b604475916d3797e7e2c7c905082f /svx/source/gallery2/galexpl.cxx
parentbd4526b557fe787b3826ddf46bf8009fb45e05e6 (diff)
convert SgaObjKind to scoped enum
Change-Id: I1bc1244646db661f181d4224d81f12d613976362
Diffstat (limited to 'svx/source/gallery2/galexpl.cxx')
-rw-r--r--svx/source/gallery2/galexpl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gallery2/galexpl.cxx b/svx/source/gallery2/galexpl.cxx
index 9c3e4c013035..672c0250080d 100644
--- a/svx/source/gallery2/galexpl.cxx
+++ b/svx/source/gallery2/galexpl.cxx
@@ -183,7 +183,7 @@ sal_uInt32 GalleryExplorer::GetSdrObjCount( const OUString& rThemeName )
if( pTheme )
{
for( sal_uInt32 i = 0, nCount = pTheme->GetObjectCount(); i < nCount; i++ )
- if( SGA_OBJ_SVDRAW == pTheme->GetObjectKind( i ) )
+ if( SgaObjKind::SvDraw == pTheme->GetObjectKind( i ) )
nRet++;
pGal->ReleaseTheme( pTheme, aListener );
@@ -214,7 +214,7 @@ bool GalleryExplorer::GetSdrObj( const OUString& rThemeName, sal_uInt32 nSdrMode
{
for( sal_uInt32 i = 0, nCount = pTheme->GetObjectCount(), nActPos = 0; ( i < nCount ) && !bRet; i++ )
{
- if( SGA_OBJ_SVDRAW == pTheme->GetObjectKind( i ) )
+ if( SgaObjKind::SvDraw == pTheme->GetObjectKind( i ) )
{
if( nActPos++ == nSdrModelPos )
{