diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-10 15:27:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-13 09:34:53 +0200 |
commit | 43fbf02984f405864f89fb3e36eff32f9d757b57 (patch) | |
tree | 1ed1c173cd42f07d8fd5c77b1e3c8d9f9cbe95f1 /sfx2/source/view/viewsh.cxx | |
parent | 5651f2d9f64c213b4106e2d5a433f4c525d41bbf (diff) |
convert HiddenWarningFact to scoped enum
Change-Id: I23579d746a3c612de68345794731f1ff2cbdf605
Diffstat (limited to 'sfx2/source/view/viewsh.cxx')
-rw-r--r-- | sfx2/source/view/viewsh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index abfbbbce1591..af454dd5ab66 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -548,7 +548,7 @@ void SfxViewShell::ExecMisc_Impl( SfxRequest &rReq ) { SfxObjectShell* pDoc = GetObjectShell(); if ( pDoc && pDoc->QueryHiddenInformation( - WhenSaving, &GetViewFrame()->GetWindow() ) != RET_YES ) + HiddenWarningFact::WhenSaving, &GetViewFrame()->GetWindow() ) != RET_YES ) break; @@ -609,7 +609,7 @@ void SfxViewShell::ExecMisc_Impl( SfxRequest &rReq ) SfxBluetoothModel aModel; SfxObjectShell* pDoc = GetObjectShell(); if ( pDoc && pDoc->QueryHiddenInformation( - WhenSaving, &GetViewFrame()->GetWindow() ) != RET_YES ) + HiddenWarningFact::WhenSaving, &GetViewFrame()->GetWindow() ) != RET_YES ) break; uno::Reference < frame::XFrame > xFrame( pFrame->GetFrame().GetFrameInterface() ); SfxMailModel::SendMailResult eResult = aModel.SaveAndSend( xFrame, OUString() ); |