diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-06-29 23:57:38 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-06-30 04:58:49 +0000 |
commit | 710f41b7aec8e7d35a0da8be332aa289f98942af (patch) | |
tree | b894ef2d3f06a63a85f423b2713a654ea57f9c69 /vcl | |
parent | 1ca3beae12a7f222c987481e07a544845fc9fd46 (diff) |
Clean String and sal_Bool in tools
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655
Reviewed-on: https://gerrit.libreoffice.org/4627
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/jobset.cxx | 1 | ||||
-rw-r--r-- | vcl/win/source/gdi/salgdi3.cxx | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/gdi/jobset.cxx b/vcl/source/gdi/jobset.cxx index 9ec7cf07f743..e1e3e9b2617f 100644 --- a/vcl/source/gdi/jobset.cxx +++ b/vcl/source/gdi/jobset.cxx @@ -20,6 +20,7 @@ #include <tools/debug.hxx> #include <tools/stream.hxx> +#include <tools/string.hxx> #include <rtl/alloc.h> #include <vcl/jobset.hxx> diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx index 2442a1e92db6..34770335eb3f 100644 --- a/vcl/win/source/gdi/salgdi3.cxx +++ b/vcl/win/source/gdi/salgdi3.cxx @@ -145,7 +145,7 @@ ImplFontAttrCache::ImplFontAttrCache( const String& rFileNameURL, const String& aCacheFile >> n; aDFA.SetFamilyType(static_cast<FontFamily>(n)); aCacheFile >> n; aDFA.SetSymbolFlag(n != 0); - String styleName; + OUString styleName; aCacheFile.ReadByteStringLine( styleName, RTL_TEXTENCODING_UTF8 ); aDFA.SetStyleName( styleName ); |