summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-07-17 23:18:07 +0200
committerJulien Nabet <serval2412@yahoo.fr>2018-07-19 14:05:44 +0200
commita6b456076f4e4f689e77cffbb661f2cae62a1502 (patch)
tree5c226f7ef9f5890afeea46c38474c7a75bc89fde /sd
parentc69e7266916ac1b8917477fb4eccdb9098da5792 (diff)
Fix typos
Change-Id: Ica623a5312196ff6a3538027e7c72ba4afe92f5c Reviewed-on: https://gerrit.libreoffice.org/57604 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/inc/PreviewRenderer.hxx4
-rw-r--r--sd/source/ui/view/frmview.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/inc/PreviewRenderer.hxx b/sd/source/ui/inc/PreviewRenderer.hxx
index e8d815d59bcc..5ac928ee905f 100644
--- a/sd/source/ui/inc/PreviewRenderer.hxx
+++ b/sd/source/ui/inc/PreviewRenderer.hxx
@@ -51,8 +51,8 @@ public:
/** Render a page with the given pixel size.
Use this version when only the width of the preview is known to the
- caller. The height is then calculated according to the aspect
- ration of the given page.
+ caller. The height is then calculated according to the aspect
+ ratio of the given page.
@param pPage
The page to render.
@param nWidth
diff --git a/sd/source/ui/view/frmview.cxx b/sd/source/ui/view/frmview.cxx
index f28469956422..450ee2fab12a 100644
--- a/sd/source/ui/view/frmview.cxx
+++ b/sd/source/ui/view/frmview.cxx
@@ -50,7 +50,7 @@ using namespace ::std;
namespace sd {
-FrameView::FrameView(SdDrawDocument* pDrawDoc, FrameView* pFrameView /* = NULK */)
+FrameView::FrameView(SdDrawDocument* pDrawDoc, FrameView* pFrameView /* = NULL */)
: SdrView(*pDrawDoc, nullptr), // TTTT SdDrawDocument* -> should be reference
mnRefCount(0),
mnPresViewShellId(SID_VIEWSHELL0),