summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-02-17 20:55:15 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-02-18 11:04:18 +0100
commitf58d42349525be3838cf7568c9840d9e3dacddad (patch)
treedf1089db4c023c3f27767666ea6d964b959dbbde /svtools
parent27d4a846d1a5cb7a92f7cb2f63c4b9b5b363891d (diff)
move svmedit.hxx internal to svtools
Change-Id: I52469e2029f292e7d5e9002cb9d098c14576a00d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88892 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/svmedit.hxx35
-rw-r--r--svtools/inc/svmedit2.hxx2
-rw-r--r--svtools/source/edit/svmedit.cxx2
-rw-r--r--svtools/source/uno/unoiface.cxx2
4 files changed, 38 insertions, 3 deletions
diff --git a/svtools/inc/svmedit.hxx b/svtools/inc/svmedit.hxx
new file mode 100644
index 000000000000..bafa79ea1ebc
--- /dev/null
+++ b/svtools/inc/svmedit.hxx
@@ -0,0 +1,35 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef INCLUDED_SVTOOLS_SVMEDIT_HXX
+#define INCLUDED_SVTOOLS_SVMEDIT_HXX
+
+#include <vcl/vclmedit.hxx>
+
+class MultiLineEdit : public VclMultiLineEdit
+{
+public:
+ MultiLineEdit( vcl::Window* pParent, WinBits nWinStyle );
+
+ virtual css::uno::Reference< css::awt::XWindowPeer > GetComponentInterface(bool bCreate = true) override;
+};
+
+#endif // INCLUDED_SVTOOLS_SVMEDIT_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/inc/svmedit2.hxx b/svtools/inc/svmedit2.hxx
index 896d13009284..7d45700349a9 100644
--- a/svtools/inc/svmedit2.hxx
+++ b/svtools/inc/svmedit2.hxx
@@ -19,7 +19,7 @@
#ifndef INCLUDED_SVTOOLS_SVMEDIT2_HXX
#define INCLUDED_SVTOOLS_SVMEDIT2_HXX
-#include <svtools/svmedit.hxx>
+#include "svmedit.hxx"
class TextAttrib;
diff --git a/svtools/source/edit/svmedit.cxx b/svtools/source/edit/svmedit.cxx
index e8666a83ddd1..207cbdb894af 100644
--- a/svtools/source/edit/svmedit.cxx
+++ b/svtools/source/edit/svmedit.cxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <svtools/svmedit.hxx>
+#include <svmedit.hxx>
#include <unoiface.hxx>
MultiLineEdit::MultiLineEdit( vcl::Window* pParent, WinBits nWinStyle )
diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx
index 8dd0f390144e..7f10167cf64a 100644
--- a/svtools/source/uno/unoiface.cxx
+++ b/svtools/source/uno/unoiface.cxx
@@ -21,7 +21,7 @@
#include <tools/debug.hxx>
#include <vcl/svapp.hxx>
#include <svl/zforlist.hxx>
-#include <svtools/svmedit.hxx>
+#include <svmedit.hxx>
#include <unoiface.hxx>
#include <com/sun/star/awt/LineEndFormat.hpp>
#include <cppuhelper/queryinterface.hxx>