diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-23 12:43:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-07-24 09:52:08 +0200 |
commit | dc7fc2074dd81f0960e6c112ead1cfe5bfd1bf4c (patch) | |
tree | ebbe8c4c405e651e0c9380f3fcc4bbf5288f7d32 /toolkit | |
parent | 7bf70574e1e04f027c542733bee9d156e989fae6 (diff) |
convert WALLPAPER constants to scoped enum
Change-Id: I3b4b4e8a94904e22823a263bd5446a2e1aa47661
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index c24324f1b799..ad9f9d2300e7 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -2397,7 +2397,7 @@ throw(::com::sun::star::uno::RuntimeException, std::exception) Image aImage( xGraphic ); Wallpaper aWallpaper( aImage.GetBitmapEx()); - aWallpaper.SetStyle( WALLPAPER_SCALE ); + aWallpaper.SetStyle( WallpaperStyle::Scale ); pDialog->SetBackground( aWallpaper ); } else if ( bVoid || !xGraphic.is() ) @@ -2561,7 +2561,7 @@ throw(::com::sun::star::uno::RuntimeException, std::exception) Image aImage( xGraphic ); Wallpaper aWallpaper( aImage.GetBitmapEx()); - aWallpaper.SetStyle( WALLPAPER_SCALE ); + aWallpaper.SetStyle( WallpaperStyle::Scale ); pTabControl->SetBackground( aWallpaper ); } else if ( bVoid || !xGraphic.is() ) @@ -2803,7 +2803,7 @@ throw(::com::sun::star::uno::RuntimeException, std::exception) Image aImage( xGraphic ); Wallpaper aWallpaper( aImage.GetBitmapEx()); - aWallpaper.SetStyle( WALLPAPER_SCALE ); + aWallpaper.SetStyle( WallpaperStyle::Scale ); pTabPage->SetBackground( aWallpaper ); } else if ( bVoid || !xGraphic.is() ) |