summaryrefslogtreecommitdiff
path: root/starmath/source/document.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2023-11-05 14:42:51 +0100
committerJulien Nabet <serval2412@yahoo.fr>2023-11-06 10:25:09 +0100
commitc37022ff57b6efe11869e9901e874cff80eca0c6 (patch)
tree121c1a98bd1c1a4489269489468605457fad81f8 /starmath/source/document.cxx
parent16737129e072a766ba58afddae4a992ad61cec6f (diff)
"SyntaxVersion" has been declared as "sal_Int16" in unomodel
not "sal_uInt16" See "aModelPropertyInfoMap" var in starmath/source/unomodel.cxx It fixes this message when loading https://bugs.documentfoundation.org/attachment.cgi?id=55799 warn:legacy.osl:19853:19853:xmloff/source/core/SettingsExportHelper.cxx:176: this type is not implemented now Change-Id: I18779b122555681f7544e64745c8074775e27277 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158952 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'starmath/source/document.cxx')
-rw-r--r--starmath/source/document.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index 04c348cbab45..e644288ff35e 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -99,7 +99,7 @@ void SmDocShell::InitInterface_Impl()
GetStaticInterface()->RegisterPopupMenu("view");
}
-void SmDocShell::SetSmSyntaxVersion(sal_uInt16 nSmSyntaxVersion)
+void SmDocShell::SetSmSyntaxVersion(sal_Int16 nSmSyntaxVersion)
{
mnSmSyntaxVersion = nSmSyntaxVersion;
maParser.reset(starmathdatabase::GetVersionSmParser(mnSmSyntaxVersion));