From a9c2354ed08c0d7aa86e29e7d67c450db32bbaca Mon Sep 17 00:00:00 2001 From: jules Date: Sun, 10 Nov 2013 17:27:54 +0000 Subject: [PATCH] Provided public access to the Array that's inside StringArray. --- modules/juce_core/text/juce_StringArray.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/modules/juce_core/text/juce_StringArray.h b/modules/juce_core/text/juce_StringArray.h index 923481b610..251a44d3df 100644 --- a/modules/juce_core/text/juce_StringArray.h +++ b/modules/juce_core/text/juce_StringArray.h @@ -189,7 +189,6 @@ public: void insert (int index, const String& stringToAdd); /** Adds a string to the array as long as it's not already in there. - The search can optionally be case-insensitive. */ void addIfNotAlreadyThere (const String& stringToAdd, bool ignoreCase = false); @@ -325,7 +324,6 @@ public: void removeDuplicates (bool ignoreCase); /** Removes empty strings from the array. - @param removeWhitespaceStrings if true, strings that only contain whitespace characters will also be removed */ @@ -411,11 +409,12 @@ public: */ void minimiseStorageOverheads(); - -private: - //============================================================================== + /** This is the array holding the actual strings. This is public to allow direct access + to array methods that may not already be provided by the StringArray class. + */ Array strings; +private: JUCE_LEAK_DETECTOR (StringArray) };