]> Dogcows Code - chaz/openbox/blobdiff - src/Toolbar.cc
make the styles' doJustify methods stop returning the string length as this is no...
[chaz/openbox] / src / Toolbar.cc
index 0018e43ff96c73972f648c17f35acf45096ec46e..f6ff130a8d633bdf6f381d7e6c982e90d19c2bd3 100644 (file)
@@ -1172,9 +1172,9 @@ void Toolbarmenu::Placementmenu::itemSelected(int button, unsigned int index) {
 }
 
 
-int ToolbarStyle::doJustify(const std::string &text, int &start_pos,
-                            unsigned int max_length,
-                            unsigned int modifier) const {
+void ToolbarStyle::doJustify(const std::string &text, int &start_pos,
+                             unsigned int max_length,
+                             unsigned int modifier) const {
   size_t text_len = text.size();
   unsigned int length;
 
@@ -1195,6 +1195,4 @@ int ToolbarStyle::doJustify(const std::string &text, int &start_pos,
   default:
     break;
   }
-
-  return text_len;
 }
This page took 0.021084 seconds and 4 git commands to generate.