diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2017-08-16 22:21:16 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-08-18 07:44:59 +0200 |
commit | 0501869949b65b27303a41fd235a6ec32a4c90a7 (patch) | |
tree | 9ec23a6845898d00fcd734496ec636d84b7de15c /sw | |
parent | 713c80b46053567977b53651ee057ce7d6f84bd3 (diff) |
Fix typos
Change-Id: I795059109e23800987cda6f04c58ab18c488ad07
Reviewed-on: https://gerrit.libreoffice.org/41242
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/docvw/PostItMgr.cxx | 2 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/inputwinmenu.ui | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx index de56b38bcc28..5e58e5155071 100644 --- a/sw/source/uibase/docvw/PostItMgr.cxx +++ b/sw/source/uibase/docvw/PostItMgr.cxx @@ -1061,7 +1061,7 @@ void SwPostItMgr::AutoScroll(const SwAnnotationWin* pPostIt,const unsigned long const long aDiff = bBottom ? mpEditWin->LogicToPixel(Point(0,mPages[aPage-1]->mPageRect.Top() + aSidebarheight)).Y() - pPostIt->GetPosPixel().Y() : mpEditWin->LogicToPixel(Point(0,mPages[aPage-1]->mPageRect.Bottom() - aSidebarheight)).Y() - (pPostIt->GetPosPixel().Y()+pPostIt->GetSizePixel().Height()); // this just adds the missing value to get the next a* GetScrollSize() after aDiff - // e.g aDiff= 61 POSTIT_SCOLL=50 --> lScroll = 100 + // e.g aDiff= 61 POSTIT_SCROLL=50 --> lScroll = 100 const long lScroll = bBottom ? (aDiff + ( GetScrollSize() - (aDiff % GetScrollSize()))) : (aDiff - (GetScrollSize() + (aDiff % GetScrollSize()))); Scroll(lScroll, aPage); } diff --git a/sw/uiconfig/swriter/ui/inputwinmenu.ui b/sw/uiconfig/swriter/ui/inputwinmenu.ui index 0dc3c8d8b42f..d02d197825e2 100644 --- a/sw/uiconfig/swriter/ui/inputwinmenu.ui +++ b/sw/uiconfig/swriter/ui/inputwinmenu.ui @@ -112,7 +112,7 @@ </object> </child> <child> - <object class="GtkSeparatorMenuItem" id="seperator1"> + <object class="GtkSeparatorMenuItem" id="separator1"> <property name="visible">True</property> <property name="can_focus">False</property> </object> |