summaryrefslogtreecommitdiff
path: root/starmath/inc/document.hxx
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/inc/document.hxx
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/inc/document.hxx')
-rw-r--r--starmath/inc/document.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx
index e7c767d12df7..c73723a434d0 100644
--- a/starmath/inc/document.hxx
+++ b/starmath/inc/document.hxx
@@ -92,7 +92,7 @@ class SM_DLLPUBLIC SmDocShell final : public SfxObjectShell, public SfxListener
VclPtr<Printer> mpTmpPrinter; //ditto
sal_uInt16 mnModifyCount;
bool mbFormulaArranged;
- sal_uInt16 mnSmSyntaxVersion;
+ sal_Int16 mnSmSyntaxVersion;
std::unique_ptr<AbstractSmParser> maParser;
std::unique_ptr<SmCursor> mpCursor;
std::set< OUString > maUsedSymbols; // to export used symbols only when saving
@@ -176,8 +176,8 @@ public:
AbstractSmParser* GetParser() { return maParser.get(); }
const SmTableNode *GetFormulaTree() const { return mpTree.get(); }
void SetFormulaTree(SmTableNode *pTree) { mpTree.reset(pTree); }
- sal_uInt16 GetSmSyntaxVersion() const { return mnSmSyntaxVersion; }
- void SetSmSyntaxVersion(sal_uInt16 nSmSyntaxVersion);
+ sal_Int16 GetSmSyntaxVersion() const { return mnSmSyntaxVersion; }
+ void SetSmSyntaxVersion(sal_Int16 nSmSyntaxVersion);
const std::set< OUString > & GetUsedSymbols() const { return maUsedSymbols; }