summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-28 10:42:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-28 10:42:36 +0100
commita22a722ddb415d8b61a840fff4b39f919242bfe8 (patch)
tree11d165ea357f8f94af59619fd774027fe4dce3e7 /svx
parente4050a653b94720368ba4fd93b2521a7ebf71c2a (diff)
nothing initializes pDefaultExt anymore
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/svx/xtable.hxx1
-rw-r--r--svx/source/xoutdev/xtable.cxx4
2 files changed, 2 insertions, 3 deletions
diff --git a/svx/inc/svx/xtable.hxx b/svx/inc/svx/xtable.hxx
index 3cab49561625..361520d58c57 100644
--- a/svx/inc/svx/xtable.hxx
+++ b/svx/inc/svx/xtable.hxx
@@ -228,7 +228,6 @@ protected:
String aName; // not persistent
String aPath;
XOutdevItemPool* pXPool;
- const char * pDefaultExt;
XPropertyEntryList_impl aList;
BitmapList_impl* pBmpList;
diff --git a/svx/source/xoutdev/xtable.cxx b/svx/source/xoutdev/xtable.cxx
index 7dafb736ba81..79f600d66ed3 100644
--- a/svx/source/xoutdev/xtable.cxx
+++ b/svx/source/xoutdev/xtable.cxx
@@ -246,7 +246,7 @@ bool XPropertyList::Load()
aURL.Append( aName );
if( !aURL.getExtension().getLength() )
- aURL.setExtension( rtl::OUString::createFromAscii( pDefaultExt ) );
+ aURL.setExtension( GetDefaultExt() );
return SvxXMLXTableImport::load( aURL.GetMainURL( INetURLObject::NO_DECODE ),
uno::Reference < embed::XStorage >(),
@@ -278,7 +278,7 @@ bool XPropertyList::Save()
aURL.Append( aName );
if( !aURL.getExtension().getLength() )
- aURL.setExtension( rtl::OUString::createFromAscii( pDefaultExt ) );
+ aURL.setExtension( GetDefaultExt() );
return SvxXMLXTableExportComponent::save( aURL.GetMainURL( INetURLObject::NO_DECODE ),
createInstance(),