summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/objsh.hxx4
-rw-r--r--include/svtools/ServerDetailsControls.hxx1
-rw-r--r--include/vcl/msgbox.hxx9
3 files changed, 3 insertions, 11 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index a8a630259431..4bf859dadcc8 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -159,6 +159,8 @@ namespace o3tl
template<> struct typed_flags<HiddenInformation> : is_typed_flags<HiddenInformation, 0x07> {};
}
+namespace weld { class Window; }
+
enum class HiddenWarningFact
{
WhenSaving = 0,
@@ -424,7 +426,7 @@ public:
virtual bool PrepareClose(bool bUI = true);
virtual HiddenInformation GetHiddenInformationState( HiddenInformation nStates );
- sal_Int16 QueryHiddenInformation( HiddenWarningFact eFact, vcl::Window* pParent );
+ sal_Int16 QueryHiddenInformation( HiddenWarningFact eFact, weld::Window* pParent );
bool IsSecurityOptOpenReadOnly() const;
void SetSecurityOptOpenReadOnly( bool bOpenReadOnly );
diff --git a/include/svtools/ServerDetailsControls.hxx b/include/svtools/ServerDetailsControls.hxx
index 49965ad5e6f8..7f95c80a3b86 100644
--- a/include/svtools/ServerDetailsControls.hxx
+++ b/include/svtools/ServerDetailsControls.hxx
@@ -23,7 +23,6 @@
#include <vcl/field.hxx>
#include <vcl/fixed.hxx>
#include <vcl/layout.hxx>
-#include <vcl/msgbox.hxx>
class DetailsContainer
{
diff --git a/include/vcl/msgbox.hxx b/include/vcl/msgbox.hxx
index 39b63d3e8a23..46dce1b0bc6a 100644
--- a/include/vcl/msgbox.hxx
+++ b/include/vcl/msgbox.hxx
@@ -84,15 +84,6 @@ public:
VCL_DLLPUBLIC Image const & GetStandardInfoBoxImage();
VCL_DLLPUBLIC OUString GetStandardInfoBoxText();
-class VCL_DLLPUBLIC WarningBox : public MessBox
-{
-public:
- WarningBox( vcl::Window* pParent, MessBoxStyle nStyle,
- const OUString& rMessage );
- WarningBox( vcl::Window* pParent, MessBoxStyle nStyle, WinBits n,
- const OUString& rMessage );
-};
-
VCL_DLLPUBLIC Image const & GetStandardWarningBoxImage();
VCL_DLLPUBLIC OUString GetStandardWarningBoxText();