summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorA_GAN <ganzouri97@gmail.com>2020-01-25 04:33:09 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2020-01-25 22:02:16 +0100
commit42e811a80a3c6f0ca5da359c4a526a1cc3e0d528 (patch)
treee631dcfab8b2541c471a413dd6c071ba9a80e6c0 /vcl/source
parent5568023a716b945fa3e1398859ee9682b8f71a9a (diff)
tdf#130137 Replace remaining uses of WNT define checks with _WIN32
Change-Id: If95f1ea5a81de62eb4f725e5fcb30ccb8530062a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87372 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/gdi/print3.cxx2
-rw-r--r--vcl/source/window/builder.cxx2
-rw-r--r--vcl/source/window/layout.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index 8a96ec81e5c5..6a07ca13c04a 100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -254,7 +254,7 @@ static OUString queryFile( Printer const * pPrinter )
xFilePicker->appendFilter( "PostScript", "*.ps" );
if( bPDF )
xFilePicker->appendFilter( "Portable Document Format", "*.pdf" );
-#elif defined WNT
+#elif defined _WIN32
(void)pPrinter;
xFilePicker->appendFilter( "*.PRN", "*.prn" );
#endif
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 5017c52cb000..ecf3d135d811 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -1815,7 +1815,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
VclPtr<MessageDialog> xDialog(VclPtr<MessageDialog>::Create(pParent, nBits));
m_pParserState->m_aMessageDialogs.push_back(xDialog);
xWindow = xDialog;
-#if defined WNT
+#if defined _WIN32
xWindow->set_border_width(3);
#else
xWindow->set_border_width(12);
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index ce8b3379dbc1..56c93c2c3b10 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -2196,7 +2196,7 @@ void MessageDialog::create_message_area()
void MessageDialog::create_owned_areas()
{
-#if defined WNT
+#if defined _WIN32
set_border_width(3);
#else
set_border_width(12);