summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/stylesbuffer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/oox/stylesbuffer.cxx')
-rw-r--r--sc/source/filter/oox/stylesbuffer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/oox/stylesbuffer.cxx b/sc/source/filter/oox/stylesbuffer.cxx
index 2e03ef8801a1..6b8b9422c117 100644
--- a/sc/source/filter/oox/stylesbuffer.cxx
+++ b/sc/source/filter/oox/stylesbuffer.cxx
@@ -2238,21 +2238,21 @@ Dxf::Dxf( const WorkbookHelper& rHelper ) :
{
}
-FontRef Dxf::createFont( bool bAlwaysNew )
+FontRef const & Dxf::createFont( bool bAlwaysNew )
{
if( bAlwaysNew || !mxFont )
mxFont.reset( new Font( *this, true ) );
return mxFont;
}
-BorderRef Dxf::createBorder( bool bAlwaysNew )
+BorderRef const & Dxf::createBorder( bool bAlwaysNew )
{
if( bAlwaysNew || !mxBorder )
mxBorder.reset( new Border( *this, true ) );
return mxBorder;
}
-FillRef Dxf::createFill( bool bAlwaysNew )
+FillRef const & Dxf::createFill( bool bAlwaysNew )
{
if( bAlwaysNew || !mxFill )
mxFill.reset( new Fill( *this, true ) );