diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-19 13:15:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-19 19:17:40 +0100 |
commit | 7c18da2dc6963b6f3f74a72fc4f6a3eedd8f9eb7 (patch) | |
tree | bf9b5cf5f648936e5c12c51a7a643059c5bcb6a5 /oox/source/dump/dumperbase.cxx | |
parent | f22044a49a56e585e2e9f419a1b77aba263b2afe (diff) |
sal_Char->char in oox..registry
Change-Id: Icc7f2a32696c30317c1ee77ef39d682d5f5a80b9
Reviewed-on: https://gerrit.libreoffice.org/85512
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/dump/dumperbase.cxx')
-rw-r--r-- | oox/source/dump/dumperbase.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/oox/source/dump/dumperbase.cxx b/oox/source/dump/dumperbase.cxx index 9f4d18165f10..5c44e54600b8 100644 --- a/oox/source/dump/dumperbase.cxx +++ b/oox/source/dump/dumperbase.cxx @@ -1387,12 +1387,12 @@ void SharedConfigData::createUnitConverter( const OUString& rData ) } } -Config::Config( const sal_Char* pcEnvVar, const FilterBase& rFilter ) +Config::Config( const char* pcEnvVar, const FilterBase& rFilter ) { construct( pcEnvVar, rFilter ); } -Config::Config( const sal_Char* pcEnvVar, const Reference< XComponentContext >& rxContext, const StorageRef& rxRootStrg, const OUString& rSysFileName ) +Config::Config( const char* pcEnvVar, const Reference< XComponentContext >& rxContext, const StorageRef& rxRootStrg, const OUString& rSysFileName ) { construct( pcEnvVar, rxContext, rxRootStrg, rSysFileName ); } @@ -1401,16 +1401,16 @@ Config::~Config() { } -void Config::construct( const sal_Char* pcEnvVar, const FilterBase& rFilter ) +void Config::construct( const char* pcEnvVar, const FilterBase& rFilter ) { if( !rFilter.getFileUrl().isEmpty() ) construct( pcEnvVar, rFilter.getComponentContext(), rFilter.getStorage(), rFilter.getFileUrl() ); } -void Config::construct( const sal_Char* pcEnvVar, const Reference< XComponentContext >& rxContext, const StorageRef& rxRootStrg, const OUString& rSysFileName ) +void Config::construct( const char* pcEnvVar, const Reference< XComponentContext >& rxContext, const StorageRef& rxRootStrg, const OUString& rSysFileName ) { if( pcEnvVar && rxRootStrg.get() && !rSysFileName.isEmpty() ) - if( const sal_Char* pcFileName = ::getenv( pcEnvVar ) ) + if( const char* pcFileName = ::getenv( pcEnvVar ) ) mxCfgData.reset( new SharedConfigData( OUString::createFromAscii( pcFileName ), rxContext, rxRootStrg, rSysFileName ) ); } @@ -1627,7 +1627,7 @@ void Output::writeChar( sal_Unicode cChar, sal_Int32 nCount ) StringHelper::appendEncChar( maLine, cChar, nCount ); } -void Output::writeAscii( const sal_Char* pcStr ) +void Output::writeAscii( const char* pcStr ) { if( pcStr ) maLine.appendAscii( pcStr ); @@ -2150,7 +2150,7 @@ OUString InputObjectBase::dumpCharArray( const String& rName, sal_Int32 nLen, rt OUString aString; if( nDumpSize > 0 ) { - ::std::vector< sal_Char > aBuffer( static_cast< std::size_t >( nLen ) + 1 ); + ::std::vector< char > aBuffer( static_cast< std::size_t >( nLen ) + 1 ); sal_Int32 nCharsRead = mxStrm->readMemory(aBuffer.data(), nLen); aBuffer[ nCharsRead ] = 0; aString = OStringToOUString(OString(aBuffer.data()), eTextEnc); |