summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objcont.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/objcont.cxx')
-rw-r--r--sfx2/source/doc/objcont.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx
index d0f44903bb..97484ebdbf 100644
--- a/sfx2/source/doc/objcont.cxx
+++ b/sfx2/source/doc/objcont.cxx
@@ -669,7 +669,7 @@ BOOL SfxObjectShell::Print
boost::shared_ptr< vcl::PrinterController > pController( pAdaptor );
pAdaptor->StartPage();
-
+
pPrinter->SetMapMode(MapMode(MAP_10TH_MM));
Font aFont( DEFINE_CONST_UNICODE( "Arial" ), Size(0, 64)); // 18pt
aFont.SetWeight(WEIGHT_BOLD);
@@ -762,7 +762,7 @@ BOOL SfxObjectShell::Print
pStyle = pIter->Next();
}
pAdaptor->EndPage();
-
+
Printer::PrintJob( pController, rPrt.GetJobSetup() );
delete pIter;
@@ -1031,10 +1031,10 @@ void SfxObjectShell::ResetFromTemplate( const String& rTemplateName, const Strin
xDocProps->setTemplateName( ::rtl::OUString() );
xDocProps->setTemplateDate( util::DateTime() );
xDocProps->resetUserData( ::rtl::OUString() );
-
+
// TODO/REFACTOR:
// Title?
-
+
if( ::utl::LocalFileHelper::IsLocalFile( rFileName ) )
{
String aFoundName;
@@ -1043,13 +1043,13 @@ void SfxObjectShell::ResetFromTemplate( const String& rTemplateName, const Strin
INetURLObject aObj( rFileName );
xDocProps->setTemplateURL( aObj.GetMainURL(INetURLObject::DECODE_TO_IURI) );
xDocProps->setTemplateName( rTemplateName );
-
+
::DateTime now;
xDocProps->setTemplateDate( util::DateTime(
now.Get100Sec(), now.GetSec(), now.GetMin(),
now.GetHour(), now.GetDay(), now.GetMonth(),
now.GetYear() ) );
-
+
SetQueryLoadTemplate( sal_True );
}
}