diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-16 11:40:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-07-16 11:40:44 +0200 |
commit | b70acbc198fdd570785bc6d4dec992d8474024dc (patch) | |
tree | 535ddaed7e0420900dfb3ade11aba03b7a4d570e /sfx2 | |
parent | cf4159e16c13a13d0bedccebb50bb08f1662bc1c (diff) |
fix windows build
warning C4245: '=' : conversion from 'int' to 'sal_uInt8',
signed/unsigned mismatch
Change-Id: I4856a096a647ef47cdb208211f588f98fab71290
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/guisaveas.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx index 6a204fa381f9..3d98457917f2 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 |