summaryrefslogtreecommitdiffstats
path: root/basic/source/runtime/stdobj1.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-27 09:43:22 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-27 12:59:23 +0000
commit850a8d27ca696f18ce0c529346f8bb8505499545 (patch)
tree5641e81912760029683e1c544e01af25eee23523 /basic/source/runtime/stdobj1.cxx
parentRevert "Remove more RSC_DOCKWINDOW related stuff" (diff)
downloadcore-850a8d27ca696f18ce0c529346f8bb8505499545.tar.gz
core-850a8d27ca696f18ce0c529346f8bb8505499545.zip
Convert GRAPHIC to scoped enum
Change-Id: I1fd09a729cbda00f99841532e0dd3fa66bce7bea Reviewed-on: https://gerrit.libreoffice.org/25534 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basic/source/runtime/stdobj1.cxx')
-rw-r--r--basic/source/runtime/stdobj1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/runtime/stdobj1.cxx b/basic/source/runtime/stdobj1.cxx
index 47e5dac88a7c..e06c99d6d685 100644
--- a/basic/source/runtime/stdobj1.cxx
+++ b/basic/source/runtime/stdobj1.cxx
@@ -67,9 +67,9 @@ void SbStdPicture::PropType( SbxVariable* pVar, SbxArray*, bool bWrite )
GraphicType eType = aGraphic.GetType();
sal_Int16 nType = 0;
- if( eType == GRAPHIC_BITMAP )
+ if( eType == GraphicType::Bitmap )
nType = 1;
- else if( eType != GRAPHIC_NONE )
+ else if( eType != GraphicType::NONE )
nType = 2;
pVar->PutInteger( nType );