View | Details | Raw Unified | Return to issue 124293
Collapse All | Expand All

(-)a/main/sc/inc/rangenam.hxx (-4 / +14 lines)
Lines 167-188 public: Link Here
167
        so that it can be used as argument in a SID_CURRENTCELL slot
167
        so that it can be used as argument in a SID_CURRENTCELL slot
168
        call.
168
        call.
169
    */
169
    */
170
    static String GetScopedInternalName (const String& rsName, const SCTAB nSheet);
170
    static SC_DLLPUBLIC String GetScopedInternalName (
171
        const String& rsName,
172
        const SCTAB nSheet);
171
173
172
    /** Return a string that encodes the given range name and sheet
174
    /** Return a string that encodes the given range name and sheet
173
        so that it can be used as display name.
175
        so that it can be used as display name.
174
    */
176
    */
175
    static String GetScopedDisplayName (const String& rsName, const SCTAB nSheet);
177
    static SC_DLLPUBLIC String GetScopedDisplayName (
178
        const String& rsName,
179
        const SCTAB nSheet);
176
180
177
    /** Decode a string that is returned by GetScopedInternalName back
181
    /** Decode a string that is returned by GetScopedInternalName back
178
        into range name and sheet.
182
        into range name and sheet.
179
    */
183
    */
180
    static void ParseScopedInternalName (const String& rsInternalName, String& rsOutName, SCTAB& rOutSheet);
184
    static SC_DLLPUBLIC void ParseScopedInternalName (
185
        const String& rsInternalName,
186
        String& rsOutName,
187
        SCTAB& rOutSheet);
181
188
182
    /** Decode a string that is returned by GetScopedDisplayName back
189
    /** Decode a string that is returned by GetScopedDisplayName back
183
        into range name and sheet.
190
        into range name and sheet.
184
    */
191
    */
185
    static void ParseScopedDisplayName (const String& rsDisplayName, String& rsOutName, SCTAB& rOutSheet);
192
    static SC_DLLPUBLIC void ParseScopedDisplayName (
193
        const String& rsDisplayName,
194
        String& rsOutName,
195
        SCTAB& rOutSheet);
186
};
196
};
187
197
188
inline sal_Bool ScRangeData::HasType( RangeType nType ) const
198
inline sal_Bool ScRangeData::HasType( RangeType nType ) const
(-)a/main/sc/source/core/tool/rangenam.cxx (-1 / +1 lines)
Lines 772-778 String ScRangeData::GetScopedDisplayName (const String& rsName, const SCTAB nShe Link Here
772
void ScRangeData::ParseScopedInternalName (const String& rsInternalName, String& rsOutName, SCTAB& rOutSheet)
772
void ScRangeData::ParseScopedInternalName (const String& rsInternalName, String& rsOutName, SCTAB& rOutSheet)
773
{
773
{
774
    rsOutName = rsInternalName;
774
    rsOutName = rsInternalName;
775
    const xub_StrLen nSeparatorIndex (rsOutName.Search('_'));
775
    const xub_StrLen nSeparatorIndex (rsOutName.SearchBackward('_'));
776
    rOutSheet = MAXTABCOUNT;
776
    rOutSheet = MAXTABCOUNT;
777
    if (nSeparatorIndex != STRING_LEN)
777
    if (nSeparatorIndex != STRING_LEN)
778
    {
778
    {

Return to issue 124293