diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-11-14 00:10:58 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-11-14 09:07:14 +0100 |
commit | 15fb717539c00fe26c59a6b1b86b464764b9749a (patch) | |
tree | df3ba5698f1e81c9ec0d5398540a5da632536c8d /vcl | |
parent | 97b5b99d715733dde6c0e8ed59b3f16236a7fff1 (diff) |
No need for bestmaxFrameSizeForScreenSize to be declared publicly
It is used only inside vcl, and it should stay that way.
Change-Id: Ia1a14ab13cb7d3580771c880f959abb2b695b032
Reviewed-on: https://gerrit.libreoffice.org/44698
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/window.h | 2 | ||||
-rw-r--r-- | vcl/qt5/Qt5Frame.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/generic/window/salframe.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/gtk/gtksalframe.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkframe.cxx | 1 |
5 files changed, 6 insertions, 0 deletions
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> |