[Libreoffice-commits] core.git: sfx2/source

Noel Grandin noel at peralex.com
Thu Jul 16 02:41:29 PDT 2015


 sfx2/source/doc/guisaveas.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b70acbc198fdd570785bc6d4dec992d8474024dc
Author: Noel Grandin <noel at peralex.com>
Date:   Thu Jul 16 11:40:44 2015 +0200

    fix windows build
    
    warning C4245: '=' : conversion from 'int' to 'sal_uInt8',
    signed/unsigned mismatch
    
    Change-Id: I4856a096a647ef47cdb208211f588f98fab71290

diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index 6a204fa..3d98457 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -161,7 +161,7 @@ static sal_uInt8 getStoreModeFromSlotName( const OUString& aSlotName )
     else if ( aSlotName == "SaveAs" )
         nResult = SAVEAS_REQUESTED;
     else if ( aSlotName == "SaveAsRemote" )
-        nResult = SAVEASREMOTE_REQUESTED;
+        nResult = static_cast<sal_uInt8>(SAVEASREMOTE_REQUESTED);
     else
         throw task::ErrorCodeIOException(
             ("getStoreModeFromSlotName(\"" + aSlotName


More information about the Libreoffice-commits mailing list