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 /sfx2 | |
parent | 7bf70574e1e04f027c542733bee9d156e989fae6 (diff) |
convert WALLPAPER constants to scoped enum
Change-Id: I3b4b4e8a94904e22823a263bd5446a2e1aa47661
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/backingwindow.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/frmdescr.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index e26879060bd8..d267e3b97dc6 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -322,7 +322,7 @@ void BackingWindow::initControls() // motif image under the buttons Wallpaper aWallpaper(get<FixedImage>("motif")->GetImage().GetBitmapEx()); - aWallpaper.SetStyle(WALLPAPER_BOTTOMRIGHT); + aWallpaper.SetStyle(WallpaperStyle::BottomRight); aWallpaper.SetColor(aButtonsBackground); mpButtonsBox->SetBackground(aWallpaper); diff --git a/sfx2/source/doc/frmdescr.cxx b/sfx2/source/doc/frmdescr.cxx index 3a257c63c30a..d3a2ba07534e 100644 --- a/sfx2/source/doc/frmdescr.cxx +++ b/sfx2/source/doc/frmdescr.cxx @@ -139,7 +139,7 @@ void SfxFrameDescriptor::SetWallpaper( const Wallpaper& rWallpaper ) { DELETEZ( pImp->pWallpaper ); - if ( rWallpaper.GetStyle() != WALLPAPER_NULL ) + if ( rWallpaper.GetStyle() != WallpaperStyle::NONE ) pImp->pWallpaper = new Wallpaper( rWallpaper ); } |