diff options
Diffstat (limited to 'connectivity/source/inc/resource/sharedresources.hxx')
-rw-r--r-- | connectivity/source/inc/resource/sharedresources.hxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/connectivity/source/inc/resource/sharedresources.hxx b/connectivity/source/inc/resource/sharedresources.hxx index b6683882929f..9a75e40315fc 100644 --- a/connectivity/source/inc/resource/sharedresources.hxx +++ b/connectivity/source/inc/resource/sharedresources.hxx @@ -35,6 +35,7 @@ /** === end UNO includes === **/ #include <rtl/ustring.hxx> +#include <list> //........................................................................ namespace connectivity @@ -142,6 +143,19 @@ namespace connectivity const sal_Char* _pAsciiPatternToReplace3, const ::rtl::OUString& _rStringToSubstitute3 ) const; + + /** loads a string from the shared resource file, and replaces a given ASCII pattern with a given string + + @param _nResId + the resource ID of the string to load + @param _aStringToSubstitutes + A list of substitutions. + + @return + the string from the resource file, with applied string substitution + */ + ::rtl::OUString getResourceStringWithSubstitution( ResourceId _nResId, + const ::std::list< ::std::pair<const sal_Char* , ::rtl::OUString > > _aStringToSubstitutes) const; }; //........................................................................ |