office-gobmx/sal/textenc/unichars.hxx
Mike Kaganski 8b333c7694 Use rtl functions instead of own surrogate checking/combining
Change-Id: I3eb05d8f5b0761bc3b672d4c855eb469f8cc1a29
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127375
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-12-24 21:42:08 +01:00

40 lines
1.3 KiB
C++

/* -*- 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_SAL_TEXTENC_UNICHARS_HXX
#define INCLUDED_SAL_TEXTENC_UNICHARS_HXX
#include <sal/config.h>
#include <cassert>
#include <rtl/character.hxx>
#include <sal/types.h>
#define RTL_TEXTENC_UNICODE_REPLACEMENT_CHARACTER 0xFFFD
bool ImplIsControlOrFormat(sal_uInt32 nUtf32);
bool ImplIsPrivateUse(sal_uInt32 nUtf32);
bool ImplIsZeroWidth(sal_uInt32 nUtf32);
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */