starmath: These functions are used in local only
Change-Id: I603be0a0890844019700f402ae79203ddc86c952 Reviewed-on: https://gerrit.libreoffice.org/25186 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
This commit is contained in:
@@ -27,11 +27,6 @@
|
|||||||
enum SmPrintSize { PRINT_SIZE_NORMAL, PRINT_SIZE_SCALED, PRINT_SIZE_ZOOMED };
|
enum SmPrintSize { PRINT_SIZE_NORMAL, PRINT_SIZE_SCALED, PRINT_SIZE_ZOOMED };
|
||||||
|
|
||||||
|
|
||||||
inline bool IsInPrivateUseArea( sal_Unicode cChar ) { return 0xE000 <= cChar && cChar <= 0xF8FF; }
|
|
||||||
|
|
||||||
sal_Unicode ConvertMathToMathML( sal_Unicode cChar );
|
|
||||||
|
|
||||||
|
|
||||||
// definitions for characters from the 'StarSymbol' font
|
// definitions for characters from the 'StarSymbol' font
|
||||||
// (some chars have more than one alias!)
|
// (some chars have more than one alias!)
|
||||||
//! Note: not listed here does not(!) mean "not used"
|
//! Note: not listed here does not(!) mean "not used"
|
||||||
|
@@ -80,6 +80,10 @@ using namespace ::com::sun::star::uno;
|
|||||||
using namespace ::com::sun::star;
|
using namespace ::com::sun::star;
|
||||||
using namespace ::xmloff::token;
|
using namespace ::xmloff::token;
|
||||||
|
|
||||||
|
namespace {
|
||||||
|
|
||||||
|
inline bool IsInPrivateUseArea( sal_Unicode cChar ) { return 0xE000 <= cChar && cChar <= 0xF8FF; }
|
||||||
|
|
||||||
sal_Unicode ConvertMathToMathML( sal_Unicode cChar )
|
sal_Unicode ConvertMathToMathML( sal_Unicode cChar )
|
||||||
{
|
{
|
||||||
sal_Unicode cRes = cChar;
|
sal_Unicode cRes = cChar;
|
||||||
@@ -91,6 +95,8 @@ sal_Unicode ConvertMathToMathML( sal_Unicode cChar )
|
|||||||
return cRes;
|
return cRes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
bool SmXMLExportWrapper::Export(SfxMedium &rMedium)
|
bool SmXMLExportWrapper::Export(SfxMedium &rMedium)
|
||||||
{
|
{
|
||||||
bool bRet=true;
|
bool bRet=true;
|
||||||
|
Reference in New Issue
Block a user