summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorUrs Fässler <urs@bitzgi.ch>2013-03-07 14:40:27 +0100
committerUrs Fässler <urs@bitzgi.ch>2013-03-07 14:45:33 +0100
commita09bb5f4c3c34b6d0e196cd737e74f6fed1acdbb (patch)
treebdd69b114c78994e36a689d3f999a9bd23933896 /sd
parent32df45aeea30eb93c04e719b2a09e9313b912468 (diff)
Translation and cleanup of comments in sd/source/ui/app/sdmod.cxx
Change-Id: Icfd5d74f73e0d9d2e4273d8050b7bc2836648aa6
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/app/sdmod.cxx50
1 files changed, 12 insertions, 38 deletions
diff --git a/sd/source/ui/app/sdmod.cxx b/sd/source/ui/app/sdmod.cxx
index 91e7789e2439..da7583992243 100644
--- a/sd/source/ui/app/sdmod.cxx
+++ b/sd/source/ui/app/sdmod.cxx
@@ -65,12 +65,7 @@ SFX_IMPL_INTERFACE(SdModule, SfxModule, SdResId(STR_APPLICATIONOBJECTBAR))
SFX_STATUSBAR_REGISTRATION(SdResId(RID_DRAW_STATUSBAR));
}
-/*************************************************************************
-|*
-|* Ctor
-|*
-\************************************************************************/
-
+// Ctor
SdModule::SdModule(SfxObjectFactory* pFact1, SfxObjectFactory* pFact2 )
: SfxModule( SfxApplication::CreateResManager("sd"), sal_False,
pFact1, pFact2, NULL ),
@@ -84,7 +79,7 @@ SdModule::SdModule(SfxObjectFactory* pFact1, SfxObjectFactory* pFact2 )
bWaterCan(sal_False),
mpResourceContainer(new ::sd::SdGlobalResourceContainer())
{
- SetName( rtl::OUString( "StarDraw" ) ); // Nicht uebersetzen!
+ SetName( rtl::OUString( "StarDraw" ) ); // Do not translate!
pSearchItem = new SvxSearchItem(SID_SEARCH_ITEM);
pSearchItem->SetAppFlag(SVX_SEARCHAPP_DRAW);
StartListening( *SFX_APP() );
@@ -103,14 +98,7 @@ SdModule::SdModule(SfxObjectFactory* pFact1, SfxObjectFactory* pFact2 )
pDevice->SetReferenceDevice ( VirtualDevice::REFDEV_MODE06 );
}
-
-
-/*************************************************************************
-|*
-|* Dtor
-|*
-\************************************************************************/
-
+// Dtor
SdModule::~SdModule()
{
delete pSearchItem;
@@ -140,13 +128,7 @@ SdModule::~SdModule()
delete static_cast< VirtualDevice* >( mpVirtualRefDevice );
}
-
-/*************************************************************************
-|*
-|* get notifications
-|*
-\************************************************************************/
-
+/// get notifications
void SdModule::Notify( SfxBroadcaster&, const SfxHint& rHint )
{
if( rHint.ISA( SfxSimpleHint ) &&
@@ -157,12 +139,7 @@ void SdModule::Notify( SfxBroadcaster&, const SfxHint& rHint )
}
}
-/*************************************************************************
-|*
-|* Optionen zurueckgeben
-|*
-\************************************************************************/
-
+/// Return options
SdOptions* SdModule::GetSdOptions(DocumentType eDocType)
{
SdOptions* pOptions = NULL;
@@ -197,14 +174,11 @@ SdOptions* SdModule::GetSdOptions(DocumentType eDocType)
return(pOptions);
}
-/*************************************************************************
-|*
-|* Optionen-Stream fuer interne Options oeffnen und zurueckgeben;
-|* falls der Stream zum Lesen geoeffnet wird, aber noch nicht
-|* angelegt wurde, wird ein 'leeres' RefObject zurueckgegeben
-|*
-\************************************************************************/
-
+/**
+ * Open and return option stream for internal options;
+ * if the stream is opened for reading but does not exist, an 'empty'
+ * RefObject is returned
+ */
SvStorageStreamRef SdModule::GetOptionStream( const String& rOptionName,
SdOptionStreamMode eMode )
{
@@ -256,8 +230,8 @@ OutputDevice* SdModule::GetVirtualRefDevice (void)
}
/** This method is deprecated and only an alias to
- <member>GetVirtualRefDevice()</member>. The given argument is ignored.
-*/
+ * <member>GetVirtualRefDevice()</member>. The given argument is ignored.
+ */
OutputDevice* SdModule::GetRefDevice (::sd::DrawDocShell& )
{
return GetVirtualRefDevice();