summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/numberformatsbuffer.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-02-10 16:03:54 -0500
committerAndras Timar <andras.timar@collabora.com>2014-02-12 07:35:12 +0000
commitee12691374f68968e2fdf87ee4bfb736080daa7e (patch)
tree53cb67e0ce2ee6dd930dda23d5ec2eaed5ab278e /sc/source/filter/inc/numberformatsbuffer.hxx
parent2e2040401d99fe116b65b9661c3d4755091a6604 (diff)
cp#100030: Use internal API to fill dxf styles during xlsx import.
It's faster, and it actually prevents a bug where styles fail to get set when the document contains at least one protected sheet. Change-Id: I9a5d7250ca44dd46364ab62f2e0130e967427c66 (cherry picked from commit d12c0e5d36cc106cb4f9a27dba2f29c10b5d6f93) Reviewed-on: https://gerrit.libreoffice.org/7983 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sc/source/filter/inc/numberformatsbuffer.hxx')
-rw-r--r--sc/source/filter/inc/numberformatsbuffer.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/inc/numberformatsbuffer.hxx b/sc/source/filter/inc/numberformatsbuffer.hxx
index 32c36111c69b..52a68f02a9c6 100644
--- a/sc/source/filter/inc/numberformatsbuffer.hxx
+++ b/sc/source/filter/inc/numberformatsbuffer.hxx
@@ -77,7 +77,7 @@ public:
sal_Int32 finalizeImport(
const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormats >& rxNumFmts,
const ::com::sun::star::lang::Locale& rFromLocale );
- void fillToItemSet( SfxItemSet& rItemSet, bool bSkipPoolDefs ) const;
+ void fillToItemSet( SfxItemSet& rItemSet, bool bSkipPoolDefs = false ) const;
/** Writes the number format to the passed property map. */
void writeToPropertyMap( PropertyMap& rPropMap ) const;