diff options
-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; } |