diff --git a/src/graphics/GraphicsCacheItem.cpp b/src/graphics/GraphicsCacheItem.cpp index 4ed496a533..306dcdbc3d 100644 --- a/src/graphics/GraphicsCacheItem.cpp +++ b/src/graphics/GraphicsCacheItem.cpp @@ -97,7 +97,7 @@ public: /// The filename we refer too. FileName const filename_; /// The document filename this graphic item belongs to - FileName const & doc_file_; + FileName const doc_file_; /// ActiveFileMonitorPtr monitor_; diff --git a/src/graphics/GraphicsConverter.cpp b/src/graphics/GraphicsConverter.cpp index 84cbaf9b1a..63b6a44633 100644 --- a/src/graphics/GraphicsConverter.cpp +++ b/src/graphics/GraphicsConverter.cpp @@ -63,7 +63,7 @@ public: SignalType finishedConversion; /// - FileName const & doc_fname_; + FileName const doc_fname_; /// string script_command_; ///