diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-11-15 21:06:53 +0100 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-11-16 09:26:52 +0000 |
commit | 2a83720fd1184868e84dbe2aedb65dbf0e27a6de (patch) | |
tree | 07fa6195a208eea2bf0c70756a67be32382d0ffa /cui/source/dialogs | |
parent | 72ffa98e892ad1b64ff3a00b1e26a995cba3076f (diff) |
screenshotannotation: Fix bookmark snippets
Change-Id: I245000b48775955dcf72f362829df7594e8b637b
Reviewed-on: https://gerrit.libreoffice.org/30880
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r-- | cui/source/dialogs/screenshotannotationdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/screenshotannotationdlg.cxx b/cui/source/dialogs/screenshotannotationdlg.cxx index c45913bddf76..141216081e62 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()); |