summaryrefslogtreecommitdiff
path: root/sd/source/ui/app/tmplctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/app/tmplctrl.cxx')
-rw-r--r--sd/source/ui/app/tmplctrl.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/app/tmplctrl.cxx b/sd/source/ui/app/tmplctrl.cxx
index 427b639ba56f..be9994227cc2 100644
--- a/sd/source/ui/app/tmplctrl.cxx
+++ b/sd/source/ui/app/tmplctrl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -53,10 +53,10 @@ class TemplatePopup_Impl : public PopupMenu
public:
TemplatePopup_Impl();
- USHORT GetCurId() const { return nCurId; }
+ USHORT GetCurId() const { return nCurId; }
private:
- USHORT nCurId;
+ USHORT nCurId;
virtual void Select();
};
@@ -132,13 +132,13 @@ void SdTemplateControl::Command( const CommandEvent& rCEvt )
TemplatePopup_Impl aPop;
{
const USHORT nMasterCount = pDoc->GetMasterSdPageCount(PK_STANDARD);
-
+
USHORT nCount = 0;
for( USHORT nPage = 0; nPage < nMasterCount; ++nPage )
{
SdPage* pMaster = pDoc->GetMasterSdPage(nPage, PK_STANDARD);
if( pMaster )
- aPop.InsertItem( ++nCount, pMaster->GetName() );
+ aPop.InsertItem( ++nCount, pMaster->GetName() );
}
aPop.Execute( &GetStatusBar(), rCEvt.GetMousePosPixel());