diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-03 11:49:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-03 13:09:22 +0100 |
commit | dbec763c672ae5a08b6fb6763e87e41a5ec14ca9 (patch) | |
tree | 99f577a430eccf301c23fd1b1394efb55d8b54cc /sc/inc/compiler.hxx | |
parent | CID#705745 mem leak on early exit (diff) | |
download | core-dbec763c672ae5a08b6fb6763e87e41a5ec14ca9.tar.gz core-dbec763c672ae5a08b6fb6763e87e41a5ec14ca9.zip |
de-GetBuffer calc
Change-Id: I6bb013cc32d5b363dd08738543b1fb834d39f516
Diffstat (limited to 'sc/inc/compiler.hxx')
-rw-r--r-- | sc/inc/compiler.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx index 4943bd702cc1..fe75cafb71e9 100644 --- a/sc/inc/compiler.hxx +++ b/sc/inc/compiler.hxx @@ -235,8 +235,8 @@ public: const ScComplexRefData& rRef, bool bSingleRef ) const = 0; virtual ::com::sun::star::i18n::ParseResult - parseAnyToken( const String& rFormula, - xub_StrLen nSrcPos, + parseAnyToken( const OUString& rFormula, + sal_Int32 nSrcPos, const CharClass* pCharClass) const = 0; /** @@ -245,7 +245,7 @@ public: * * @return true on successful parse, or false otherwise. */ - virtual bool parseExternalName( const String& rSymbol, String& rFile, String& rName, + virtual bool parseExternalName( const OUString& rSymbol, String& rFile, String& rName, const ScDocument* pDoc, const ::com::sun::star::uno::Sequence< const ::com::sun::star::sheet::ExternalLinkInfo > * pExternalLinks ) const = 0; @@ -312,8 +312,8 @@ private: ::com::sun::star::uno::Sequence< const ::com::sun::star::sheet::ExternalLinkInfo > maExternalLinks; sal_Unicode cSymbol[MAXSTRLEN]; // current Symbol - String aFormula; // formula source code - xub_StrLen nSrcPos; // tokenizer position (source code) + OUString aFormula; // formula source code + sal_Int32 nSrcPos; // tokenizer position (source code) mutable ScRawTokenRef pRawToken; const CharClass* pCharClass; // which character classification is used for parseAnyToken @@ -335,7 +335,7 @@ private: bool IsOpCode( const OUString&, bool bInArray ); bool IsOpCode2( const String& ); bool IsString(); - bool IsReference( const String& ); + bool IsReference( const OUString& ); bool IsSingleReference( const String& ); bool IsPredetectedReference(const OUString&); bool IsDoubleReference( const String& ); |