From 19e926441c5ea2306daee4531e3c3a8058a85a3d Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Wed, 14 Jun 2017 22:02:10 +0900 Subject: starmath: SfxObjectShell::GetMiscStatus() returns sal_uIntPtr Change-Id: I2a4fa44414975e7b87c8313d01d7120d13a205e6 Reviewed-on: https://gerrit.libreoffice.org/38790 Tested-by: Jenkins Reviewed-by: Takeshi Abe --- starmath/inc/document.hxx | 2 +- starmath/source/document.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'starmath') diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx index 351724ddccc7..a705e72f33a8 100644 --- a/starmath/inc/document.hxx +++ b/starmath/inc/document.hxx @@ -116,7 +116,7 @@ class SM_DLLPUBLIC SmDocShell : public SfxObjectShell, public SfxListener sal_Int32 nFileFormat, bool bTemplate = false ) const override; - virtual sal_uLong GetMiscStatus() const override; + virtual sal_uIntPtr GetMiscStatus() const override; virtual void OnDocumentPrinterChanged( Printer * ) override; virtual bool InitNew( const css::uno::Reference< css::embed::XStorage >& xStorage ) override; virtual bool Load( SfxMedium& rMedium ) override; diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index 060fa6692de7..4f4c198e81b3 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -1295,7 +1295,7 @@ void SmDocShell::FillClass(SvGlobalName* pClassName, } } -sal_uLong SmDocShell::GetMiscStatus() const +sal_uIntPtr SmDocShell::GetMiscStatus() const { return SfxObjectShell::GetMiscStatus() | SVOBJ_MISCSTATUS_NOTRESIZEABLE | SVOBJ_MISCSTATUS_RESIZEONPRINTERCHANGE; -- cgit