diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-03 14:03:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-05 08:44:19 +0200 |
commit | 705c48d32eec0aa5180e60ca157daca4b154e4a3 (patch) | |
tree | 97f43496f4b429a2b8d03b1e71cb2a1c33142a15 /unotools/source/misc | |
parent | b7d8a58ff2698ffc6e22943f64aa97c5ea253bd9 (diff) |
fdo#38835 strip out OUString globals
they are largely unnecessary these days, since our OUString infrastructure
gained optimised handling for static char constants.
Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
Diffstat (limited to 'unotools/source/misc')
-rw-r--r-- | unotools/source/misc/mediadescriptor.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/misc/mediadescriptor.cxx b/unotools/source/misc/mediadescriptor.cxx index de5a1f502c32..850db5b4bb5c 100644 --- a/unotools/source/misc/mediadescriptor.cxx +++ b/unotools/source/misc/mediadescriptor.cxx @@ -325,8 +325,8 @@ MediaDescriptor::MediaDescriptor(const css::uno::Sequence< css::beans::PropertyV bool MediaDescriptor::isStreamReadOnly() const { - static OUString CONTENTSCHEME_FILE( "file" ); - static OUString CONTENTPROP_ISREADONLY( "IsReadOnly" ); + static const char CONTENTSCHEME_FILE[] = "file"; + static const char CONTENTPROP_ISREADONLY[] = "IsReadOnly"; static bool READONLY_FALLBACK = false; bool bReadOnly = READONLY_FALLBACK; |