summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/address.hxx6
-rw-r--r--sc/inc/compiler.hxx9
2 files changed, 9 insertions, 6 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index 218f3462132c..f02f064b7a38 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -320,7 +320,8 @@ public:
const Details& rDetails = detailsOOOa1,
ExternalInfo* pExtInfo = nullptr,
const css::uno::Sequence<css::sheet::ExternalLinkInfo>* pExternalLinks = nullptr,
- sal_Int32* pSheetEndPos = nullptr );
+ sal_Int32* pSheetEndPos = nullptr,
+ const OUString* pErrRef = nullptr );
SC_DLLPUBLIC void Format( OStringBuffer& r, ScRefFlags nFlags = ScRefFlags::ZERO,
const ScDocument* pDocument = nullptr,
@@ -504,7 +505,8 @@ public:
SC_DLLPUBLIC ScRefFlags Parse( const OUString&, ScDocument* = nullptr,
const ScAddress::Details& rDetails = ScAddress::detailsOOOa1,
ScAddress::ExternalInfo* pExtInfo = nullptr,
- const css::uno::Sequence<css::sheet::ExternalLinkInfo>* pExternalLinks = nullptr );
+ const css::uno::Sequence<css::sheet::ExternalLinkInfo>* pExternalLinks = nullptr,
+ const OUString* pErrRef = nullptr );
SC_DLLPUBLIC ScRefFlags ParseAny( const OUString&, ScDocument* = nullptr,
const ScAddress::Details& rDetails = ScAddress::detailsOOOa1 );
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index d8f5e3e3cede..abc41e5a4407 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -312,10 +312,11 @@ private:
bool IsOpCode( const OUString&, bool bInArray );
bool IsOpCode2( const OUString& );
bool IsString();
- bool IsReference( const OUString& );
- bool IsSingleReference( const OUString& );
- bool IsPredetectedReference(const OUString&);
- bool IsDoubleReference( const OUString& );
+ bool IsReference( const OUString& rSymbol, const OUString* pErrRef = nullptr );
+ bool IsSingleReference( const OUString& rSymbol, const OUString* pErrRef = nullptr );
+ bool IsDoubleReference( const OUString& rSymbol, const OUString* pErrRef = nullptr );
+ bool IsPredetectedReference( const OUString& rSymbol );
+ bool IsPredetectedErrRefReference( const OUString& rName, const OUString* pErrRef );
bool IsMacro( const OUString& );
bool IsNamedRange( const OUString& );
bool IsExternalNamedRange( const OUString& rSymbol, bool& rbInvalidExternalNameRange );