summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/addresslistdialog.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-07-02 13:56:53 +0200
committerMichael Stahl <mstahl@redhat.com>2013-07-02 14:01:19 +0200
commitfb3778b2a26d693d56c750fcf081117cc440cf07 (patch)
treed489f1cd65bb3ddbe6cd3075cffa3bf8d087433b /sw/source/ui/dbui/addresslistdialog.cxx
parent23326c48274dc64a53ef142edc8bc551ea6c15eb (diff)
... fix more -Werror=address (wrong TempFile ctor called)
Change-Id: I19b2195a5e524f8c485f904989f1c604fca9612f
Diffstat (limited to 'sw/source/ui/dbui/addresslistdialog.cxx')
-rw-r--r--sw/source/ui/dbui/addresslistdialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dbui/addresslistdialog.cxx b/sw/source/ui/dbui/addresslistdialog.cxx
index 438448187c86..d71990ef61d7 100644
--- a/sw/source/ui/dbui/addresslistdialog.cxx
+++ b/sw/source/ui/dbui/addresslistdialog.cxx
@@ -396,7 +396,7 @@ IMPL_LINK(SwAddressListDialog, CreateHdl_Impl, PushButton*, pButton)
uno::Reference<sdb::XDocumentDataSource> xDS(xNewInstance, UNO_QUERY_THROW);
uno::Reference<frame::XStorable> xStore(xDS->getDatabaseDocument(), UNO_QUERY_THROW);
- String sExt = OUString(".odb");
+ OUString const sExt(".odb");
String sTmpName;
{
OUString sHomePath(SvtPathOptions().GetWorkPath());