diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-19 17:19:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-19 17:19:28 +0100 |
commit | c54c276d09dae5472363fd433fe64c8424608e90 (patch) | |
tree | 4845dab5dcbc8771615c19427a5fbe07c1199d3e /unoidl | |
parent | 2171c3dd49694b4928b0a04b76d3c42a2b18f6cc (diff) |
unoidl: Use appropriate OUString functions on string constants
Change-Id: I6ff256e091770d67f98b1b6b8d447a22fd720d4e
Diffstat (limited to 'unoidl')
-rw-r--r-- | unoidl/source/sourceprovider-parser.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unoidl/source/sourceprovider-parser.y b/unoidl/source/sourceprovider-parser.y index 133f131590c8..de3f8e93ce31 100644 --- a/unoidl/source/sourceprovider-parser.y +++ b/unoidl/source/sourceprovider-parser.y @@ -135,7 +135,7 @@ void convertToCurrentName( void clearCurrentState(unoidl::detail::SourceProviderScannerData * data) { assert(data != 0); - data->currentName = ""; + data->currentName.clear(); data->publishedContext = false; } @@ -542,7 +542,7 @@ Found findEntity( break; } n = "." + typeNucleus; - typeNucleus = "", + typeNucleus.clear(); e = findEntity_(data, &n); continue; } |