summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdotxln.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2011-12-01 21:03:42 +0100
committerEike Rathke <erack@redhat.com>2011-12-01 21:04:29 +0100
commit86adb5cacb4fe3e7fb869299447da5876f0da30d (patch)
treef7998dd1a12a82ca53a4fa155cdf5536ac25ef62 /svx/source/svdraw/svdotxln.cxx
parentb20ea84970fb8b3068880a361822941c47f50edd (diff)
get rid of class Date and Time default ctor with system time penalty
Diffstat (limited to 'svx/source/svdraw/svdotxln.cxx')
-rw-r--r--svx/source/svdraw/svdotxln.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdotxln.cxx b/svx/source/svdraw/svdotxln.cxx
index 0704d1f74caa..5b0afd807c6b 100644
--- a/svx/source/svdraw/svdotxln.cxx
+++ b/svx/source/svdraw/svdotxln.cxx
@@ -115,6 +115,7 @@ TYPEINIT1(ImpSdrObjTextLinkUserData,SdrObjUserData);
ImpSdrObjTextLinkUserData::ImpSdrObjTextLinkUserData(SdrTextObj* pObj1):
SdrObjUserData(SdrInventor,SDRUSERDATA_OBJTEXTLINK,0),
pObj(pObj1),
+ aFileDate0( DateTime::EMPTY ),
pLink(NULL),
eCharSet(RTL_TEXTENCODING_DONTKNOW)
{
@@ -175,7 +176,7 @@ bool SdrTextObj::ReloadLinkedText( bool bForceLoad)
if( pData )
{
::ucbhelper::ContentBroker* pBroker = ::ucbhelper::ContentBroker::get();
- DateTime aFileDT;
+ DateTime aFileDT( DateTime::EMPTY );
sal_Bool bExists = sal_False, bLoad = sal_False;
if( pBroker )