summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/ppt/pptimport.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/source/ppt/pptimport.cxx b/oox/source/ppt/pptimport.cxx
index 4f7b4ea41e08..7fb950e50650 100644
--- a/oox/source/ppt/pptimport.cxx
+++ b/oox/source/ppt/pptimport.cxx
@@ -154,8 +154,7 @@ bool PowerPointImport::importDocument()
aWarning += SvxResId(RID_SVXSTR_WARN_MISSING_SMARTART);
// Show it.
- WinBits eBits = WB_OK | WB_DEF_OK;
- ScopedVclPtrInstance<WarningBox> pBox(nullptr, eBits, aWarning);
+ ScopedVclPtrInstance<WarningBox> pBox(nullptr, MessBoxStyle::Ok | MessBoxStyle::DefaultOk, aWarning);
pBox->Execute();
}