summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/app/dispatchwatcher.cxx2
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_app.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx
index 6b439f50ad4f..b23627748edf 100644
--- a/desktop/source/app/dispatchwatcher.cxx
+++ b/desktop/source/app/dispatchwatcher.cxx
@@ -632,7 +632,7 @@ bool DispatchWatcher::executeDispatchRequests( const std::vector<DispatchRequest
// create the printer
Sequence < PropertyValue > aPrinterArgs( 1 );
aPrinterArgs[0].Name = "Name";
- aPrinterArgs[0].Value <<= OUString( aDispatchRequest.aPrinterName );
+ aPrinterArgs[0].Value <<= aDispatchRequest.aPrinterName;
xDoc->setPrinter( aPrinterArgs );
}
diff --git a/desktop/source/pkgchk/unopkg/unopkg_app.cxx b/desktop/source/pkgchk/unopkg/unopkg_app.cxx
index 31a93cecea8a..b50374694e41 100644
--- a/desktop/source/pkgchk/unopkg/unopkg_app.cxx
+++ b/desktop/source/pkgchk/unopkg/unopkg_app.cxx
@@ -598,7 +598,7 @@ extern "C" int unopkg_main()
Any exc( ::cppu::getCaughtException() );
dp_misc::writeConsoleError("\nERROR: " +
- OUString(option_verbose ? e.Message + "\nException details: \n" +
+ (option_verbose ? e.Message + "\nException details: \n" +
::comphelper::anyToString(exc) : e.Message) + "\n");
}
if (!bNoOtherErrorMsg)