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 /include/oox/dump/dumperbase.hxx | |
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 'include/oox/dump/dumperbase.hxx')
-rw-r--r-- | include/oox/dump/dumperbase.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/oox/dump/dumperbase.hxx b/include/oox/dump/dumperbase.hxx index 32dea6fca6f3..bab76313fe69 100644 --- a/include/oox/dump/dumperbase.hxx +++ b/include/oox/dump/dumperbase.hxx @@ -377,11 +377,11 @@ class String : public OUString public: String() {} /*implicit*/ String( const OUString& rStr ) : OUString( rStr ) {} - /*implicit*/ String( const sal_Char* pcStr ) : OUString( OUString::createFromAscii( pcStr ? pcStr : "" ) ) {} + /*implicit*/ String( const char* pcStr ) : OUString( OUString::createFromAscii( pcStr ? pcStr : "" ) ) {} /*implicit*/ String( sal_Unicode cChar ) : OUString( cChar ) {} bool has() const { return getLength() > 0; } - OUString operator()( const sal_Char* pcDefault ) const { if( has() ) return *this; return String( pcDefault ); } + OUString operator()( const char* pcDefault ) const { if( has() ) return *this; return String( pcDefault ); } }; static const String EMPTY_STRING; @@ -722,7 +722,7 @@ class NameListWrapper public: NameListWrapper() {} /*implicit*/ NameListWrapper( const OUString& rListName ) : maName( rListName ) {} - /*implicit*/ NameListWrapper( const sal_Char* pcListName ) : maName( pcListName ) {} + /*implicit*/ NameListWrapper( const char* pcListName ) : maName( pcListName ) {} /*implicit*/ NameListWrapper( const NameListRef& rxList ) : mxList( rxList ) {} bool isEmpty() const { return !mxList && !maName.has(); } @@ -833,10 +833,10 @@ class Config : public Base { public: explicit Config( - const sal_Char* pcEnvVar, + const char* pcEnvVar, const ::oox::core::FilterBase& rFilter ); explicit Config( - const sal_Char* pcEnvVar, + const char* pcEnvVar, const css::uno::Reference< css::uno::XComponentContext >& rxContext, const StorageRef& rxRootStrg, const OUString& rSysFileName ); @@ -875,10 +875,10 @@ public: protected: Config() {} void construct( - const sal_Char* pcEnvVar, + const char* pcEnvVar, const ::oox::core::FilterBase& rFilter ); void construct( - const sal_Char* pcEnvVar, + const char* pcEnvVar, const css::uno::Reference< css::uno::XComponentContext >& rxContext, const StorageRef& rxRootStrg, const OUString& rSysFileName ); @@ -954,7 +954,7 @@ public: void endMultiItems(); void writeChar( sal_Unicode cChar, sal_Int32 nCount = 1 ); - void writeAscii( const sal_Char* pcStr ); + void writeAscii( const char* pcStr ); void writeString( const OUString& rStr ); void writeArray( const sal_uInt8* pnData, std::size_t nSize, sal_Unicode cSep = OOX_DUMP_LISTSEP ); void writeBool( bool bData ); |