summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/unopage.cxx
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 23:45:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-26 06:53:03 -0600
commit2ef9df8aee696993d9eb235fd36caa4cbcfd3624 (patch)
tree7b9a351a3362f45a909299c93192bd11a2fd0c4e /sd/source/ui/unoidl/unopage.cxx
parent7e92d9881f039899262882633712ec0a3de01474 (diff)
Remove visual noise from sd
Change-Id: I0957cabd66ddc4e25c7e6ff54ec2a555eda0792c Reviewed-on: https://gerrit.libreoffice.org/8306 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source/ui/unoidl/unopage.cxx')
-rw-r--r--sd/source/ui/unoidl/unopage.cxx18
1 files changed, 5 insertions, 13 deletions
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx
index d066bc8222ef..81b0a8ad0cf6 100644
--- a/sd/source/ui/unoidl/unopage.cxx
+++ b/sd/source/ui/unoidl/unopage.cxx
@@ -86,7 +86,7 @@ extern Reference< XAnnotation > createAnnotation( const Reference< XComponentCon
extern Reference< XAnnotationEnumeration > createAnnotationEnumeration( const sd::AnnotationVector& );
}
-/* this are the ids for page properties */
+// this are the ids for page properties
enum WID_PAGE
{
WID_PAGE_LEFT, WID_PAGE_RIGHT, WID_PAGE_TOP, WID_PAGE_BOTTOM, WID_PAGE_WIDTH,
@@ -103,7 +103,7 @@ enum WID_PAGE
static sal_Char const sEmptyPageName[sizeof("page")] = "page";
-/** this function stores the property maps for draw pages in impress and draw */
+// this function stores the property maps for draw pages in impress and draw
const SvxItemPropertySet* ImplGetDrawPagePropertySet( sal_Bool bImpress, PageKind ePageKind )
{
static const SfxItemPropertyMapEntry aDrawPagePropertyMap_Impl[] =
@@ -1862,10 +1862,8 @@ Reference< XAnimationNode > SAL_CALL SdGenericDrawPage::getAnimationNode() throw
return pSdPage->getAnimationNode();
}
-//========================================================================
-// SdPageLinkTargets
-//========================================================================
+// SdPageLinkTargets
SdPageLinkTargets::SdPageLinkTargets( SdGenericDrawPage* pUnoPage ) throw()
{
mxPage = pUnoPage;
@@ -1876,7 +1874,7 @@ SdPageLinkTargets::~SdPageLinkTargets() throw()
{
}
- // XElementAccess
+// XElementAccess
uno::Type SAL_CALL SdPageLinkTargets::getElementType()
throw(uno::RuntimeException)
{
@@ -2021,10 +2019,8 @@ Sequence< OUString > SAL_CALL SdPageLinkTargets::getSupportedServiceNames()
return aSeq;
}
-//========================================================================
-// SdDrawPage
-//========================================================================
+// SdDrawPage
SdDrawPage::SdDrawPage( SdXImpressDocument* pModel, SdPage* pPage ) throw()
: SdGenericDrawPage( pModel, pPage, ImplGetDrawPagePropertySet( pModel->IsImpressDocument(), pPage->GetPageKind() ) )
{
@@ -2422,7 +2418,6 @@ Reference< drawing::XDrawPage > SAL_CALL SdDrawPage::getNotesPage()
return NULL;
}
-
// XIndexAccess
sal_Int32 SAL_CALL SdDrawPage::getCount()
throw(uno::RuntimeException)
@@ -2674,10 +2669,7 @@ Any SdGenericDrawPage::getNavigationOrder()
}
}
-//========================================================================
// class SdMasterPage
-//========================================================================
-
SdMasterPage::SdMasterPage( SdXImpressDocument* pModel, SdPage* pPage ) throw()
: SdGenericDrawPage( pModel, pPage, ImplGetMasterPagePropertySet( pPage ? pPage->GetPageKind() : PK_STANDARD ) )
{