summaryrefslogtreecommitdiff
path: root/include/o3tl
diff options
context:
space:
mode:
Diffstat (limited to 'include/o3tl')
-rw-r--r--include/o3tl/cppunittraitshelper.hxx27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/o3tl/cppunittraitshelper.hxx b/include/o3tl/cppunittraitshelper.hxx
new file mode 100644
index 000000000000..d9f75a61b4c8
--- /dev/null
+++ b/include/o3tl/cppunittraitshelper.hxx
@@ -0,0 +1,27 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
+/*
+ * 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/.
+ */
+
+#ifndef INCLUDED_O3TL_CPPUNITTRAITSHELPER_HXX
+#define INCLUDED_O3TL_CPPUNITTRAITSHELPER_HXX
+
+#include <sal/config.h>
+
+#include <string>
+
+#include <cppunit/TestAssert.h>
+
+// ostream << char16_t is deleted since C++20 (but just keep outputting numeric values):
+template <> inline std::string CppUnit::assertion_traits<char16_t>::toString(char16_t const& x)
+{
+ return assertion_traits<unsigned>::toString(unsigned(x));
+}
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
e34e42'>Convert vcl Button Link<> click handler to typed Link<Button*,void>Noel Grandin 2015-04-30Gradually typed LinkStephan Bergmann 2015-04-29Remove unnecessary IMPL_LINK[_NOARG]_INLINE_START/ENDStephan Bergmann 2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks 2015-04-28SfxTabPage::DeactivatePage wants to return SfxTabPage::sfxpgStephan Bergmann 2015-04-17Fix SfxTabPage creation to use VclPtr.Michael Meeks 2015-04-17sfx2: convert new to ::Create.Noel Grandin 2015-04-10Automated conversion of VclPtr construction to use Instance template.Michael Meeks 2015-04-10vclwidget: fixup locally allocated vcl::Window objectsNoel Grandin 2015-04-10vclwidget: only call dispose() onceNoel Grandin 2015-04-10vclwidget: change all vcl::window fields to be wrapped in VclPtrNoel Grandin 2015-04-09vclwidgets: wrap all vcl::Window subclasses allocated on stack in VclPtrNoel Grandin 2015-04-09vcl: VclPtr conversion in sfx2Noel Grandin 2015-04-09Related: tdf#87675 Edit Linked Style Button is nonclickable on None EntryHeena Gupta 2015-04-09Related: tdf#87675 "Edit" Button for linked style in edit paragraph styleHeena Gupta 2015-02-06fdo#87675: Disable 'edit' when next style is same as current one.Heena Gupta 2015-02-06fdo#87675-"Edit" Button for next style in edit paragraph styleHeena Gupta