]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.cpp
Stupid bug fix.
[lyx.git] / src / insets / InsetGraphics.cpp
index 4a577c02cdce952543293af0b038e317df127a39..2bd0cae1118a9aff97be69506576ac5a0dda2480 100644 (file)
@@ -59,6 +59,7 @@ TODO
 #include "Format.h"
 #include "FuncRequest.h"
 #include "FuncStatus.h"
+#include "InsetIterator.h"
 #include "LaTeXFeatures.h"
 #include "Length.h"
 #include "Lexer.h"
@@ -67,7 +68,6 @@ TODO
 #include "OutputParams.h"
 #include "sgml.h"
 #include "TocBackend.h"
-#include "InsetIterator.h"
 
 #include "frontends/alert.h"
 #include "frontends/Application.h"
@@ -951,7 +951,7 @@ string InsetGraphics::params2string(InsetGraphicsParams const & params,
 
 namespace graphics {
 
-void getGraphicsGroups(Buffer const & b, std::set<string> & ids)
+void getGraphicsGroups(Buffer const & b, set<string> & ids)
 {
        Inset & inset = b.inset();
        InsetIterator it  = inset_iterator_begin(inset);
@@ -966,7 +966,7 @@ void getGraphicsGroups(Buffer const & b, std::set<string> & ids)
 }
 
 
-string getGroupParams(Buffer const & b, std::string const & groupId)
+string getGroupParams(Buffer const & b, string const & groupId)
 {
        if (groupId.empty())
                return string();
@@ -987,7 +987,7 @@ string getGroupParams(Buffer const & b, std::string const & groupId)
 }
 
 
-void unifyGraphicsGroups(Buffer const & b, std::string const & argument)
+void unifyGraphicsGroups(Buffer const & b, string const & argument)
 {
        InsetGraphicsParams params;
        InsetGraphics::string2params(argument, b, params);