summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/vcl/layout.hxx2
-rw-r--r--vcl/inc/window.h2
-rw-r--r--vcl/qt5/Qt5Frame.cxx1
-rw-r--r--vcl/unx/generic/window/salframe.cxx1
-rw-r--r--vcl/unx/gtk/gtksalframe.cxx1
-rw-r--r--vcl/unx/gtk3/gtk3gtkframe.cxx1
6 files changed, 6 insertions, 2 deletions
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx
index 49f69db5b421..7c89f568442b 100644
--- a/include/vcl/layout.hxx
+++ b/include/vcl/layout.hxx
@@ -654,8 +654,6 @@ public:
VclMultiLineEdit *pSecondaryMessage);
};
-VCL_DLLPUBLIC Size bestmaxFrameSizeForScreenSize(const Size &rScreenSize);
-
//Get first window of a pTopLevel window as
//if any intermediate layout widgets didn't exist
//i.e. acts like pChild = pChild->GetWindow(GetWindowType::FirstChild);
diff --git a/vcl/inc/window.h b/vcl/inc/window.h
index f11c1afcffa9..4ecc2940dc17 100644
--- a/vcl/inc/window.h
+++ b/vcl/inc/window.h
@@ -78,6 +78,8 @@ namespace dnd {
class XDropTarget;
}}}}}
+VCL_DLLPUBLIC Size bestmaxFrameSizeForScreenSize(const Size &rScreenSize);
+
bool ImplWindowFrameProc( vcl::Window* pInst, SalEvent nEvent, const void* pEvent );
struct ImplWinData
diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx
index e853b7d43d9e..95e3363efe3f 100644
--- a/vcl/qt5/Qt5Frame.cxx
+++ b/vcl/qt5/Qt5Frame.cxx
@@ -33,6 +33,7 @@
#include <QtWidgets/QApplication>
#include <saldatabasic.hxx>
+#include <window.h>
#include <vcl/layout.hxx>
#include <vcl/syswin.hxx>
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx
index 39d90583dc12..4d539934f464 100644
--- a/vcl/unx/generic/window/salframe.cxx
+++ b/vcl/unx/generic/window/salframe.cxx
@@ -61,6 +61,7 @@
#include <unx/gensys.h>
#include <sallayout.hxx>
+#include <window.h>
#include <sal/macros.h>
#include <com/sun/star/uno/Exception.hpp>
diff --git a/vcl/unx/gtk/gtksalframe.cxx b/vcl/unx/gtk/gtksalframe.cxx
index 2d53534c0934..fd1c3857fc4b 100644
--- a/vcl/unx/gtk/gtksalframe.cxx
+++ b/vcl/unx/gtk/gtksalframe.cxx
@@ -54,6 +54,7 @@
#include <dlfcn.h>
#include <vcl/salbtype.hxx>
#include <impbmp.hxx>
+#include <window.h>
#include <strings.hrc>
#include <bitmaps.hlst>
#include <sal/macros.h>
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index 3169ef152e2e..1f76432faded 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -59,6 +59,7 @@
#include <dlfcn.h>
#include <vcl/salbtype.hxx>
#include <impbmp.hxx>
+#include <window.h>
#include <strings.hrc>
#include <bitmaps.hlst>
#include <sal/macros.h>