[Libreoffice-commits] core.git: starmath/inc starmath/source

Takeshi Abe tabe at fixedpoint.jp
Fri Jun 16 02:43:41 UTC 2017


 starmath/inc/document.hxx    |    2 +-
 starmath/source/document.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 19e926441c5ea2306daee4531e3c3a8058a85a3d
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Wed Jun 14 22:02:10 2017 +0900

    starmath: SfxObjectShell::GetMiscStatus() returns sal_uIntPtr
    
    Change-Id: I2a4fa44414975e7b87c8313d01d7120d13a205e6
    Reviewed-on: https://gerrit.libreoffice.org/38790
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Takeshi Abe <tabe at fixedpoint.jp>

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;


More information about the Libreoffice-commits mailing list