starmath/inc/types.hxx | 5 ----- starmath/source/mathmlexport.cxx | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-)
New commits: commit 31cfb242375c62e2ee5cbbf08eae7aaffb834dfe Author: Takeshi Abe <t...@fixedpoint.jp> Date: Fri May 20 15:49:04 2016 +0900 starmath: These functions are used in local only Change-Id: I603be0a0890844019700f402ae79203ddc86c952 Reviewed-on: https://gerrit.libreoffice.org/25186 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Takeshi Abe <t...@fixedpoint.jp> diff --git a/starmath/inc/types.hxx b/starmath/inc/types.hxx index 73b26fe..9d57536 100644 --- a/starmath/inc/types.hxx +++ b/starmath/inc/types.hxx @@ -27,11 +27,6 @@ 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 // (some chars have more than one alias!) //! Note: not listed here does not(!) mean "not used" diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx index b175236..4fd66bc 100644 --- a/starmath/source/mathmlexport.cxx +++ b/starmath/source/mathmlexport.cxx @@ -80,6 +80,10 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star; using namespace ::xmloff::token; +namespace { + +inline bool IsInPrivateUseArea( sal_Unicode cChar ) { return 0xE000 <= cChar && cChar <= 0xF8FF; } + sal_Unicode ConvertMathToMathML( sal_Unicode cChar ) { sal_Unicode cRes = cChar; @@ -91,6 +95,8 @@ sal_Unicode ConvertMathToMathML( sal_Unicode cChar ) return cRes; } +} + bool SmXMLExportWrapper::Export(SfxMedium &rMedium) { bool bRet=true; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits