cui/source/dialogs/screenshotannotationdlg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 2a83720fd1184868e84dbe2aedb65dbf0e27a6de Author: Katarina Behrens <katarina.behr...@cib.de> Date: Tue Nov 15 21:06:53 2016 +0100 screenshotannotation: Fix bookmark snippets Change-Id: I245000b48775955dcf72f362829df7594e8b637b Reviewed-on: https://gerrit.libreoffice.org/30880 Reviewed-by: Katarina Behrens <katarina.behr...@cib.de> Tested-by: Katarina Behrens <katarina.behr...@cib.de> diff --git a/cui/source/dialogs/screenshotannotationdlg.cxx b/cui/source/dialogs/screenshotannotationdlg.cxx index c45913b..1412160 100644 --- a/cui/source/dialogs/screenshotannotationdlg.cxx +++ b/cui/source/dialogs/screenshotannotationdlg.cxx @@ -90,7 +90,7 @@ namespace OUString lcl_Bookmark( const OUString& rWidgetId ) { OUString aTempl = "<!-- Bookmark for widget %1 -->" SAL_NEWLINE_STRING - "<bookmark xml-lang=en-US branch=hid/%2 %3 localize=false </bookmark>" SAL_NEWLINE_STRING; + "<bookmark xml-lang=en-US branch=hid/%2 id=%3 localize=\"false\"/>" SAL_NEWLINE_STRING; aTempl = aTempl.replaceFirst( "%1", rWidgetId ); aTempl = aTempl.replaceFirst( "%2", rWidgetId ); aTempl = aTempl.replaceFirst( "%3", lcl_genRandom("bm_id") ); @@ -222,7 +222,7 @@ ScreenshotAnnotationDlg_Impl::ScreenshotAnnotationDlg_Impl( // set screenshot image at FixedImage, resize, set event listener if (mpPicture) { - // colelct all children. Choose start pos to be negative + // collect all children. Choose start pos to be negative // of target dialog's position to get all positions relative to (0,0) const Point aParentPos(mrParentDialog.GetPosPixel()); const basegfx::B2IPoint aTopLeft(-aParentPos.X(), -aParentPos.Y()); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits